@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
45 lines (44 loc) • 1.39 kB
TypeScript
import { ConvertedAmount } from "./convertedAmount";
/**
* Information related to a currency conversion. A currency conversion occurred in the payment, and the merchant needs to know information related to this conversion (e.g. to print on the sale receipt).
*/
export declare class CurrencyConversion {
/**
* Notify if the customer has approved something. Indicates if the customer has accepted a currency conversion.
*/
"CustomerApprovedFlag"?: boolean;
"ConvertedAmount": ConvertedAmount;
/**
* Rate of currency conversion.
*/
"Rate"?: number;
/**
* Markup of a currency conversion amount as a percentage.
*/
"Markup"?: number;
/**
* Commission for a currency conversion.
*/
"Commission"?: number;
/**
* Declaration to present to the customer or the cashier for validation. If a declaration has to be presented to the customer.
*/
"Declaration"?: string;
static readonly discriminator: string | undefined;
static readonly mapping: {
[index: string]: string;
} | undefined;
static readonly attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
format: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
format: string;
}[];
constructor();
}