UNPKG

@adyen/api-library

Version:

The Adyen API Library for NodeJS enables you to work with Adyen APIs.

52 lines (51 loc) 1.69 kB
import { Amount } from "./amount"; export declare class BalanceTransferRequest { "amount": Amount; /** * A human-readable description for the transfer. You can use alphanumeric characters and hyphens. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. */ "description"?: string; /** * The unique identifier of the source merchant account from which funds are deducted. */ "fromMerchant": string; /** * A reference for the balance transfer. If you don\'t provide this in the request, Adyen generates a unique reference. Maximum length: 80 characters. */ "reference"?: string; /** * The unique identifier of the destination merchant account from which funds are transferred. */ "toMerchant": string; /** * The type of balance transfer. Possible values: **tax**, **fee**, **terminalSale**, **credit**, **debit**, and **adjustment**. */ "type": BalanceTransferRequest.TypeEnum; static readonly discriminator: string | undefined; static readonly mapping: { [index: string]: string; } | undefined; static readonly attributeTypeMap: Array<{ name: string; baseName: string; type: string; format: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; format: string; }[]; constructor(); } export declare namespace BalanceTransferRequest { enum TypeEnum { Tax = "tax", Fee = "fee", TerminalSale = "terminalSale", Credit = "credit", Debit = "debit", Adjustment = "adjustment" } }