wallee
Version:
TypeScript/JavaScript client for wallee
82 lines (81 loc) • 3.56 kB
TypeScript
/**
* Represents the aggregated transaction data for a specific brand and currency, including regular and DCC (Dynamic Currency Conversion) transactions.
* @export
* @interface PaymentTerminalTransactionSum
*/
export interface PaymentTerminalTransactionSum {
/**
* The total amount of tips from regular (non-DCC) transactions in the transaction currency.
* @type {number}
* @memberof PaymentTerminalTransactionSum
*/
readonly transactionTipAmount?: number;
/**
* The product within the brand for which transactions are summarized.
* @type {string}
* @memberof PaymentTerminalTransactionSum
*/
readonly product?: string;
/**
* The base currency in which the transactions were processed and settled, excluding any DCC conversions.
* @type {string}
* @memberof PaymentTerminalTransactionSum
*/
readonly transactionCurrency?: string;
/**
* The total monetary value of all transactions in the transaction currency, excluding DCC transactions.
* @type {number}
* @memberof PaymentTerminalTransactionSum
*/
readonly transactionAmount?: number;
/**
* The total amount of tips from DCC transactions, converted and presented in the transaction currency.
* @type {number}
* @memberof PaymentTerminalTransactionSum
*/
readonly dccTipAmount?: number;
/**
* A unique identifier for the object.
* @type {number}
* @memberof PaymentTerminalTransactionSum
*/
readonly id?: number;
/**
* The total count of regular (non-DCC) transactions processed within this summary period.
* @type {number}
* @memberof PaymentTerminalTransactionSum
*/
readonly transactionCount?: number;
/**
* The payment brand for which the transactions are summarized.
* @type {string}
* @memberof PaymentTerminalTransactionSum
*/
readonly brand?: string;
/**
* The number of transactions where Dynamic Currency Conversion (DCC) was applied, allowing customers to pay in their home currency.
* @type {number}
* @memberof PaymentTerminalTransactionSum
*/
readonly dccTransactionCount?: number;
/**
* The version is used for optimistic locking and incremented whenever the object is updated.
* @type {number}
* @memberof PaymentTerminalTransactionSum
*/
readonly version?: number;
/**
* The total monetary value of DCC transactions, converted and presented in the transaction currency.
* @type {number}
* @memberof PaymentTerminalTransactionSum
*/
readonly dccTransactionAmount?: number;
}
/**
* Check if a given object implements the PaymentTerminalTransactionSum interface.
*/
export declare function instanceOfPaymentTerminalTransactionSum(value: object): value is PaymentTerminalTransactionSum;
export declare function PaymentTerminalTransactionSumFromJSON(json: any): PaymentTerminalTransactionSum;
export declare function PaymentTerminalTransactionSumFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentTerminalTransactionSum;
export declare function PaymentTerminalTransactionSumToJSON(json: any): PaymentTerminalTransactionSum;
export declare function PaymentTerminalTransactionSumToJSONTyped(value?: Omit<PaymentTerminalTransactionSum, 'transactionTipAmount' | 'product' | 'transactionCurrency' | 'transactionAmount' | 'dccTipAmount' | 'id' | 'transactionCount' | 'brand' | 'dccTransactionCount' | 'version' | 'dccTransactionAmount'> | null, ignoreDiscriminator?: boolean): any;