/** * NOTE: This class is auto generated by DANA Indonesia. * Do not edit the class manually. */ import type { ValidationErrorContext } from '../../../runtime'; import type { Money } from './Money'; /** * * @export * @interface RefundOrderResponse */ export interface RefundOrderResponse { /** * Refer to response code list * @type {string} * @memberof RefundOrderResponse */ responseCode: string; /** * Refer to response code list * @type {string} * @memberof RefundOrderResponse */ responseMessage: string; /** * Original transaction identifier on DANA system * @type {string} * @memberof RefundOrderResponse */ originalReferenceNo?: string; /** * Original transaction identifier on partner system * @type {string} * @memberof RefundOrderResponse */ originalPartnerReferenceNo: string; /** * Original external identifier on header message * @type {string} * @memberof RefundOrderResponse */ originalExternalId?: string; /** * DANA's capture identifier. Use to refund the corresponding capture order * @type {string} * @memberof RefundOrderResponse */ originalCaptureNo?: string; /** * Refund number identifier on DANA system * @type {string} * @memberof RefundOrderResponse */ refundNo?: string; /** * Reference number from merchant for the refund * @type {string} * @memberof RefundOrderResponse */ partnerRefundNo: string; /** * Refund amount. Contains two sub-fields - 1. Value (Amount, including the cents) and 2. Currency (Currency code based on ISO) * @type {Money} * @memberof RefundOrderResponse */ refundAmount: Money; /** * Refund time, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time) * @type {string} * @memberof RefundOrderResponse */ refundTime?: string; /** * Additional information * @type {object} * @memberof RefundOrderResponse */ additionalInfo?: object; } /** * Check if a given object implements the RefundOrderResponse interface. */ export declare function instanceOfRefundOrderResponse(value: object): value is RefundOrderResponse; export declare function RefundOrderResponseFromJSON(json: any): RefundOrderResponse; export declare function RefundOrderResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RefundOrderResponse; export declare function RefundOrderResponseToJSON(json: any): RefundOrderResponse; export declare function RefundOrderResponseToJSONTyped(value?: RefundOrderResponse | null, ignoreDiscriminator?: boolean): any; export declare function validateRefundOrderResponse(value: RefundOrderResponse): ValidationErrorContext[];