wallee
Version:
TypeScript/JavaScript client for wallee
65 lines (64 loc) • 2.06 kB
TypeScript
import type { BankAccountState } from './BankAccountState';
/**
*
* @export
* @interface BankAccount
*/
export interface BankAccount {
/**
* The identifier is used to uniquely identify the bank account.
* @type {string}
* @memberof BankAccount
*/
readonly identifier?: string;
/**
* The ID of the space this object belongs to.
* @type {number}
* @memberof BankAccount
*/
readonly linkedSpaceId?: number;
/**
* The date and time when the object is planned to be permanently removed. If the value is empty, the object will not be removed.
* @type {Date}
* @memberof BankAccount
*/
readonly plannedPurgeDate?: Date;
/**
* The description serves as an alternative name for the bank account.
* @type {string}
* @memberof BankAccount
*/
readonly description?: string;
/**
* A unique identifier for the object.
* @type {number}
* @memberof BankAccount
*/
readonly id?: number;
/**
*
* @type {BankAccountState}
* @memberof BankAccount
*/
state?: BankAccountState;
/**
* The bank account's type
* @type {number}
* @memberof BankAccount
*/
readonly type?: number;
/**
* The version is used for optimistic locking and incremented whenever the object is updated.
* @type {number}
* @memberof BankAccount
*/
readonly version?: number;
}
/**
* Check if a given object implements the BankAccount interface.
*/
export declare function instanceOfBankAccount(value: object): value is BankAccount;
export declare function BankAccountFromJSON(json: any): BankAccount;
export declare function BankAccountFromJSONTyped(json: any, ignoreDiscriminator: boolean): BankAccount;
export declare function BankAccountToJSON(json: any): BankAccount;
export declare function BankAccountToJSONTyped(value?: Omit<BankAccount, 'identifier' | 'linkedSpaceId' | 'plannedPurgeDate' | 'description' | 'id' | 'type' | 'version'> | null, ignoreDiscriminator?: boolean): any;