/**
* 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 AmountDetail
*/
export interface AmountDetail {
/**
* Order amount. Contains two sub-fields:
* 1. Value: Transaction amount, including the cents
* 2. Currency: Currency code based on ISO
*
* @type {Money}
* @memberof AmountDetail
*/
orderAmount: Money;
/**
* Pay amount. Contains two sub-fields:
* 1. Value: Transaction amount, including the cents
* 2. Currency: Currency code based on ISO
*
* @type {Money}
* @memberof AmountDetail
*/
payAmount?: Money;
/**
* Void amount. Contains two sub-fields:
* 1. Value: Transaction amount, including the cents
* 2. Currency: Currency code based on ISO
*
* @type {Money}
* @memberof AmountDetail
*/
voidAmount?: Money;
/**
* Confirm amount. Contains two sub-fields:
* 1. Value: Transaction amount, including the cents
* 2. Currency: Currency code based on ISO
*
* @type {Money}
* @memberof AmountDetail
*/
confirmAmount?: Money;
/**
* Refund amount. Contains two sub-fields:
* 1. Value: Transaction amount, including the cents
* 2. Currency: Currency code based on ISO
*
* @type {Money}
* @memberof AmountDetail
*/
refundAmount?: Money;
/**
* Chargeback amount. Contains two sub-fields:
* 1. Value: Transaction amount, including the cents
* 2. Currency: Currency code based on ISO
*
* @type {Money}
* @memberof AmountDetail
*/
chargebackAmount?: Money;
/**
* Charge amount. Contains two sub-fields:
* 1. Value: Transaction amount, including the cents
* 2. Currency: Currency code based on ISO
*
* @type {Money}
* @memberof AmountDetail
*/
chargeAmount?: Money;
}
/**
* Check if a given object implements the AmountDetail interface.
*/
export declare function instanceOfAmountDetail(value: object): value is AmountDetail;
export declare function AmountDetailFromJSON(json: any): AmountDetail;
export declare function AmountDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean): AmountDetail;
export declare function AmountDetailToJSON(json: any): AmountDetail;
export declare function AmountDetailToJSONTyped(value?: AmountDetail | null, ignoreDiscriminator?: boolean): any;
export declare function validateAmountDetail(value: AmountDetail): ValidationErrorContext[];