xero-node
Version:
Xero NodeJS OAuth 2.0 client for xero-node
66 lines (65 loc) • 1.68 kB
TypeScript
import { Account } from '././account';
import { ValidationError } from '././validationError';
export declare class BankTransfer {
'fromBankAccount': Account;
'toBankAccount': Account;
/**
* amount of the transaction
*/
'amount': number;
/**
* The date of the Transfer YYYY-MM-DD
*/
'date'?: string;
/**
* The identifier of the Bank Transfer
*/
'bankTransferID'?: string;
/**
* The currency rate
*/
'currencyRate'?: number;
/**
* The Bank Transaction ID for the source account
*/
'fromBankTransactionID'?: string;
/**
* The Bank Transaction ID for the destination account
*/
'toBankTransactionID'?: string;
/**
* The Bank Transaction boolean to show if it is reconciled for the source account
*/
'fromIsReconciled'?: boolean;
/**
* The Bank Transaction boolean to show if it is reconciled for the destination account
*/
'toIsReconciled'?: boolean;
/**
* Reference for the transactions.
*/
'reference'?: string;
/**
* Boolean to indicate if a Bank Transfer has an attachment
*/
'hasAttachments'?: boolean;
/**
* UTC timestamp of creation date of bank transfer
*/
'createdDateUTC'?: Date;
/**
* Displays array of validation error messages from the API
*/
'validationErrors'?: Array<ValidationError>;
static discriminator: string | undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
}