@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
46 lines (45 loc) • 1.52 kB
TypeScript
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 discriminator: string | undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
}
export declare namespace BalanceTransferRequest {
enum TypeEnum {
Tax = "tax",
Fee = "fee",
TerminalSale = "terminalSale",
Credit = "credit",
Debit = "debit",
Adjustment = "adjustment"
}
}