-
Notifications
You must be signed in to change notification settings - Fork 88
Expand file tree
/
Copy pathamount.ts
More file actions
46 lines (38 loc) · 1.23 KB
/
amount.ts
File metadata and controls
46 lines (38 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
* The version of the OpenAPI document: v2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
export class Amount {
/**
* The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes) of the amount.
*/
"currency": string;
/**
* The numeric value of the amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
*/
"value": number;
static readonly discriminator: string | undefined = undefined;
static readonly mapping: {[index: string]: string} | undefined = undefined;
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "currency",
"baseName": "currency",
"type": "string",
"format": ""
},
{
"name": "value",
"baseName": "value",
"type": "number",
"format": "int64"
} ];
static getAttributeTypeMap() {
return Amount.attributeTypeMap;
}
public constructor() {
}
}