@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
36 lines (35 loc) • 1.14 kB
TypeScript
export declare class Currency {
/**
* Surcharge amount per transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
*/
"amount"?: number;
/**
* Three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). For example, **AUD**.
*/
"currencyCode": string;
/**
* The maximum surcharge amount per transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
*/
"maxAmount"?: number;
/**
* Surcharge percentage per transaction. The maximum number of decimal places is two. For example, **1%** or **2.27%**.
*/
"percentage"?: number;
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();
}