/** * NOTE: This class is auto generated by DANA Indonesia. * Do not edit the class manually. */ import type { ValidationErrorContext } from '../../../runtime'; /** * One merchant account row (`accounts` in merchantInformation) * @export * @interface MerchantAccountInfo */ export interface MerchantAccountInfo { /** * Merchant account number * @type {string} * @memberof MerchantAccountInfo */ accountNo?: string; /** * Merchant account status * @type {string} * @memberof MerchantAccountInfo */ status?: MerchantAccountInfoStatusEnum; /** * Debit freeze status (merchant cannot accept money from DANA when frozen/closed) * @type {string} * @memberof MerchantAccountInfo */ debitFreezeStatus?: MerchantAccountInfoDebitFreezeStatusEnum; /** * Credit freeze status (merchant cannot disburse when frozen/closed) * @type {string} * @memberof MerchantAccountInfo */ creditFreezeStatus?: MerchantAccountInfoCreditFreezeStatusEnum; /** * Total amount as JSON string with `amount` and `currency` fields * * @type {string} * @memberof MerchantAccountInfo */ totalAmount?: string; /** * Available amount as JSON string with `amount` and `currency` fields * * @type {string} * @memberof MerchantAccountInfo */ availableAmount?: string; /** * Currency code (ISO) * @type {string} * @memberof MerchantAccountInfo */ currency?: string; /** * Account type * @type {string} * @memberof MerchantAccountInfo */ accountType?: MerchantAccountInfoAccountTypeEnum; } /** * @export */ export declare const MerchantAccountInfoStatusEnum: { readonly Enable: "ENABLE"; readonly Frozen: "FROZEN"; readonly Close: "CLOSE"; }; export type MerchantAccountInfoStatusEnum = typeof MerchantAccountInfoStatusEnum[keyof typeof MerchantAccountInfoStatusEnum] | ''; /** * @export */ export declare const MerchantAccountInfoDebitFreezeStatusEnum: { readonly Enable: "ENABLE"; readonly Frozen: "FROZEN"; readonly Close: "CLOSE"; }; export type MerchantAccountInfoDebitFreezeStatusEnum = typeof MerchantAccountInfoDebitFreezeStatusEnum[keyof typeof MerchantAccountInfoDebitFreezeStatusEnum] | ''; /** * @export */ export declare const MerchantAccountInfoCreditFreezeStatusEnum: { readonly Enable: "ENABLE"; readonly Frozen: "FROZEN"; readonly Close: "CLOSE"; }; export type MerchantAccountInfoCreditFreezeStatusEnum = typeof MerchantAccountInfoCreditFreezeStatusEnum[keyof typeof MerchantAccountInfoCreditFreezeStatusEnum] | ''; /** * @export */ export declare const MerchantAccountInfoAccountTypeEnum: { readonly MerchantSettlementAccount: "MERCHANT_SETTLEMENT_ACCOUNT"; readonly MerchantPayableAccount: "MERCHANT_PAYABLE_ACCOUNT"; readonly MerchantDepositAccount: "MERCHANT_DEPOSIT_ACCOUNT"; }; export type MerchantAccountInfoAccountTypeEnum = typeof MerchantAccountInfoAccountTypeEnum[keyof typeof MerchantAccountInfoAccountTypeEnum] | ''; /** * Check if a given object implements the MerchantAccountInfo interface. */ export declare function instanceOfMerchantAccountInfo(value: object): value is MerchantAccountInfo; export declare function MerchantAccountInfoFromJSON(json: any): MerchantAccountInfo; export declare function MerchantAccountInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): MerchantAccountInfo; export declare function MerchantAccountInfoToJSON(json: any): MerchantAccountInfo; export declare function MerchantAccountInfoToJSONTyped(value?: MerchantAccountInfo | null, ignoreDiscriminator?: boolean): any; export declare function validateMerchantAccountInfo(value: MerchantAccountInfo): ValidationErrorContext[];