wallee
Version:
TypeScript/JavaScript client for wallee
85 lines (84 loc) • 3.05 kB
TypeScript
import type { BankTransaction } from './BankTransaction';
import type { Transaction } from './Transaction';
import type { TransactionCompletion } from './TransactionCompletion';
/**
*
* @export
* @interface ChargeBankTransaction
*/
export interface ChargeBankTransaction {
/**
* The posting amount represents the monetary value of the bank transaction, recorded in the payment transaction's currency, before applying any adjustments.
* @type {number}
* @memberof ChargeBankTransaction
*/
readonly transactionCurrencyAmount?: number;
/**
*
* @type {TransactionCompletion}
* @memberof ChargeBankTransaction
*/
completion?: TransactionCompletion;
/**
* The ID of the space this object belongs to.
* @type {number}
* @memberof ChargeBankTransaction
*/
readonly linkedSpaceId?: number;
/**
* The language that is linked to the object.
* @type {string}
* @memberof ChargeBankTransaction
*/
readonly language?: string;
/**
* A unique identifier for the object.
* @type {number}
* @memberof ChargeBankTransaction
*/
readonly id?: number;
/**
* The ID of the space view this object is linked to.
* @type {number}
* @memberof ChargeBankTransaction
*/
readonly spaceViewId?: number;
/**
* The payment transaction this object is linked to.
* @type {number}
* @memberof ChargeBankTransaction
*/
readonly linkedTransaction?: number;
/**
*
* @type {BankTransaction}
* @memberof ChargeBankTransaction
*/
bankTransaction?: BankTransaction;
/**
* The version is used for optimistic locking and incremented whenever the object is updated.
* @type {number}
* @memberof ChargeBankTransaction
*/
readonly version?: number;
/**
*
* @type {Transaction}
* @memberof ChargeBankTransaction
*/
transaction?: Transaction;
/**
* The value amount represents the net monetary value of the bank transaction, recorded in the payment transaction's currency, after applicable deductions.
* @type {number}
* @memberof ChargeBankTransaction
*/
readonly transactionCurrencyValueAmount?: number;
}
/**
* Check if a given object implements the ChargeBankTransaction interface.
*/
export declare function instanceOfChargeBankTransaction(value: object): value is ChargeBankTransaction;
export declare function ChargeBankTransactionFromJSON(json: any): ChargeBankTransaction;
export declare function ChargeBankTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChargeBankTransaction;
export declare function ChargeBankTransactionToJSON(json: any): ChargeBankTransaction;
export declare function ChargeBankTransactionToJSONTyped(value?: Omit<ChargeBankTransaction, 'transactionCurrencyAmount' | 'linkedSpaceId' | 'language' | 'id' | 'spaceViewId' | 'linkedTransaction' | 'version' | 'transactionCurrencyValueAmount'> | null, ignoreDiscriminator?: boolean): any;