/** * 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 */ import type { AlternativeDisplayItem } from './AlternativeDisplayItem'; import type { BankCode } from './BankCode'; /** * An object representing bank details for invoices. * @export * @interface Bank */ export interface Bank { /** * * @type {BankCode} * @memberof Bank */ bankCode: BankCode; /** * The collection type for the bank details. * @type {string} * @memberof Bank */ collectionType: string; /** * The branch of the bank. * @type {string} * @memberof Bank */ bankBranch?: string; /** * The bank account number. * @type {string} * @memberof Bank */ bankAccountNumber?: string; /** * The name of the account holder. * @type {string} * @memberof Bank */ accountHolderName: string; /** * The transfer amount. * @type {number} * @memberof Bank */ transferAmount?: number; /** * * @type {Array} * @memberof Bank */ alternativeDisplays?: Array; } /** * Check if a given object implements the Bank interface. */ export declare function instanceOfBank(value: object): boolean; export declare function BankFromJSON(json: any): Bank; export declare function BankFromJSONTyped(json: any, ignoreDiscriminator: boolean): Bank; export declare function BankToJSON(value?: Bank | null): any;