/** * NOTE: This file is auto generated by Xendit. * Do not edit the class manually. * Improvements? Share your ideas at https://github.com/xendit/xendit-node */ /** * * @export * @interface Refund */ export interface Refund { /** * * @type {string} * @memberof Refund */ id?: string; /** * * @type {string} * @memberof Refund */ paymentRequestId?: string; /** * * @type {number} * @memberof Refund */ amount?: number; /** * * @type {string} * @memberof Refund */ channelCode?: string; /** * * @type {string} * @memberof Refund */ country?: string; /** * * @type {string} * @memberof Refund */ currency?: string; /** * * @type {string} * @memberof Refund */ referenceId?: string | null; /** * * @type {string} * @memberof Refund */ failureCode?: string | null; /** * * @type {number} * @memberof Refund */ refundFeeAmount?: number | null; /** * * @type {string} * @memberof Refund */ created?: string; /** * * @type {string} * @memberof Refund */ updated?: string; /** * * @type {object} * @memberof Refund */ metadata?: object | null; } /** * Check if a given object implements the Refund interface. */ export declare function instanceOfRefund(value: object): boolean; export declare function RefundFromJSON(json: any): Refund; export declare function RefundFromJSONTyped(json: any, ignoreDiscriminator: boolean): Refund; export declare function RefundToJSON(value?: Refund | null): any;