wallee
Version:
TypeScript/JavaScript client for wallee
64 lines (63 loc) • 2.95 kB
TypeScript
/**
* Represents the aggregated summary of Dynamic Currency Conversion (DCC) transactions grouped by brand and currency combinations in a transaction summary receipt.
* @export
* @interface PaymentTerminalDccTransactionSum
*/
export interface PaymentTerminalDccTransactionSum {
/**
* The original currency of the transactions before DCC conversion (typically the merchant's local currency).
* @type {string}
* @memberof PaymentTerminalDccTransactionSum
*/
readonly transactionCurrency?: string;
/**
* The total sum of all transactions in the original transaction currency (the amount in merchant's local currency before DCC conversion).
* @type {number}
* @memberof PaymentTerminalDccTransactionSum
*/
readonly transactionAmount?: number;
/**
* The total sum of all transactions in the converted DCC currency (the amount paid by customers in their chosen currency).
* @type {number}
* @memberof PaymentTerminalDccTransactionSum
*/
readonly dccAmount?: number;
/**
* A unique identifier for the object.
* @type {number}
* @memberof PaymentTerminalDccTransactionSum
*/
readonly id?: number;
/**
* The total count of DCC transactions processed for this specific brand and currency combination.
* @type {number}
* @memberof PaymentTerminalDccTransactionSum
*/
readonly transactionCount?: number;
/**
* The converted currency used in DCC transactions (the currency chosen by the customer for payment).
* @type {string}
* @memberof PaymentTerminalDccTransactionSum
*/
readonly dccCurrency?: string;
/**
* The payment brand for which these DCC transactions are summarized.
* @type {string}
* @memberof PaymentTerminalDccTransactionSum
*/
readonly brand?: string;
/**
* The version is used for optimistic locking and incremented whenever the object is updated.
* @type {number}
* @memberof PaymentTerminalDccTransactionSum
*/
readonly version?: number;
}
/**
* Check if a given object implements the PaymentTerminalDccTransactionSum interface.
*/
export declare function instanceOfPaymentTerminalDccTransactionSum(value: object): value is PaymentTerminalDccTransactionSum;
export declare function PaymentTerminalDccTransactionSumFromJSON(json: any): PaymentTerminalDccTransactionSum;
export declare function PaymentTerminalDccTransactionSumFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentTerminalDccTransactionSum;
export declare function PaymentTerminalDccTransactionSumToJSON(json: any): PaymentTerminalDccTransactionSum;
export declare function PaymentTerminalDccTransactionSumToJSONTyped(value?: Omit<PaymentTerminalDccTransactionSum, 'transactionCurrency' | 'transactionAmount' | 'dccAmount' | 'id' | 'transactionCount' | 'dccCurrency' | 'brand' | 'version'> | null, ignoreDiscriminator?: boolean): any;