/** * 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 DanaAccountInquiryResponse */ export interface DanaAccountInquiryResponse { /** * Refer to response code list * @type {string} * @memberof DanaAccountInquiryResponse */ responseCode: string; /** * Refer to response code list * @type {string} * @memberof DanaAccountInquiryResponse */ responseMessage: string; /** * Transaction identifier on DANA system * @type {string} * @memberof DanaAccountInquiryResponse */ referenceNo?: string; /** * Unique transaction identifier on partner system which assigned to each transaction
* Notes:
* If the partner receives a timeout or an unexpected response from DANA and partner expects to perform retry request to DANA, please use the partnerReferenceNo that is the same as the one used in the transaction request process before * * @type {string} * @memberof DanaAccountInquiryResponse */ partnerReferenceNo?: string; /** * Session identifier * @type {string} * @memberof DanaAccountInquiryResponse */ sessionId?: string; /** * Customer account number, in format 628xxx * @type {string} * @memberof DanaAccountInquiryResponse */ customerNumber?: string; /** * Customer account name * @type {string} * @memberof DanaAccountInquiryResponse */ customerName: string; /** * Limitation of transfer to DANA balance for customer per month * @type {string} * @memberof DanaAccountInquiryResponse */ customerMonthlyInLimit?: string; /** * Minimal amount. Contains two sub-fields:
* 1. Value: Amount, including the cents
* 2. Currency: Currency code based on ISO * * @type {Money} * @memberof DanaAccountInquiryResponse */ minAmount: Money; /** * Maximal amount. Contains two sub-fields:
* 1. Value: Amount, including the cents
* 2. Currency: Currency code based on ISO * * @type {Money} * @memberof DanaAccountInquiryResponse */ maxAmount: Money; /** * Amount. Contains two sub-fields:
* 1. Value: Transaction amount, including the cents
* 2. Currency: Currency code based on ISO * * @type {Money} * @memberof DanaAccountInquiryResponse */ amount: Money; /** * Fee amount. Contains two sub-fields:
* 1. Value: Amount, including the cents
* 2. Currency: Currency code based on ISO * * @type {Money} * @memberof DanaAccountInquiryResponse */ feeAmount: Money; /** * Type of fee for each transfer to DANA transaction. Such as admin fee * @type {string} * @memberof DanaAccountInquiryResponse */ feeType?: string; /** * Additional information * @type {object} * @memberof DanaAccountInquiryResponse */ additionalInfo?: object; } /** * Check if a given object implements the DanaAccountInquiryResponse interface. */ export declare function instanceOfDanaAccountInquiryResponse(value: object): value is DanaAccountInquiryResponse; export declare function DanaAccountInquiryResponseFromJSON(json: any): DanaAccountInquiryResponse; export declare function DanaAccountInquiryResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DanaAccountInquiryResponse; export declare function DanaAccountInquiryResponseToJSON(json: any): DanaAccountInquiryResponse; export declare function DanaAccountInquiryResponseToJSONTyped(value?: DanaAccountInquiryResponse | null, ignoreDiscriminator?: boolean): any; export declare function validateDanaAccountInquiryResponse(value: DanaAccountInquiryResponse): ValidationErrorContext[];