/** * NOTE: This class is auto generated by DANA Indonesia. * Do not edit the class manually. */ import type { ValidationErrorContext } from '../../../runtime'; import type { CreateOrderResponseAdditionalInfo } from './CreateOrderResponseAdditionalInfo'; /** * * @export * @interface CreateOrderResponse */ export interface CreateOrderResponse { /** * Response code. Refer to https://dashboard.dana.id/api-docs/read/243#paymentgatewayprod-paymentRedirect-ResponseCodeandMessage * @type {string} * @memberof CreateOrderResponse */ responseCode: string; /** * Response message. Refer to https://dashboard.dana.id/api-docs/read/243#paymentgatewayprod-paymentRedirect-ResponseCodeandMessage * @type {string} * @memberof CreateOrderResponse */ responseMessage: string; /** * Transaction identifier on DANA system. Present if successfully processed * @type {string} * @memberof CreateOrderResponse */ referenceNo?: string; /** * Transaction identifier on partner system * @type {string} * @memberof CreateOrderResponse */ partnerReferenceNo: string; /** * Checkout URLs. Present if successfully processed and payment method is not OVO/Virtual Account/QRIS * @type {string} * @memberof CreateOrderResponse */ webRedirectUrl?: string; /** * Additional information * @type {CreateOrderResponseAdditionalInfo} * @memberof CreateOrderResponse */ additionalInfo?: CreateOrderResponseAdditionalInfo; /** * External order identifier * @type {string} * @memberof CreateOrderResponse */ externalOrderId?: string; } /** * Check if a given object implements the CreateOrderResponse interface. */ export declare function instanceOfCreateOrderResponse(value: object): value is CreateOrderResponse; export declare function CreateOrderResponseFromJSON(json: any): CreateOrderResponse; export declare function CreateOrderResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateOrderResponse; export declare function CreateOrderResponseToJSON(json: any): CreateOrderResponse; export declare function CreateOrderResponseToJSONTyped(value?: CreateOrderResponse | null, ignoreDiscriminator?: boolean): any; export declare function validateCreateOrderResponse(value: CreateOrderResponse): ValidationErrorContext[];