-
Notifications
You must be signed in to change notification settings - Fork 86
Expand file tree
/
Copy pathbalanceAccount.ts
More file actions
144 lines (135 loc) · 4.74 KB
/
balanceAccount.ts
File metadata and controls
144 lines (135 loc) · 4.74 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
/*
* 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.
*/
import { Balance } from "./balance";
import { PlatformPaymentConfiguration } from "./platformPaymentConfiguration";
export class BalanceAccount {
/**
* The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/accountHolders#responses-200-id) associated with the balance account.
*/
"accountHolderId": string;
/**
* List of balances with the amount and currency.
*/
"balances"?: Array<Balance>;
/**
* The default three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance account. This is the currency displayed on the Balance Account overview page in your Customer Area. The default value is **EUR**. > After a balance account is created, you cannot change its default currency.
*/
"defaultCurrencyCode"?: string;
/**
* A human-readable description of the balance account, maximum 300 characters. You can use this parameter to distinguish between multiple balance accounts under an account holder.
*/
"description"?: string;
/**
* The unique identifier of the balance account.
*/
"id": string;
/**
* A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs.
*/
"metadata"?: { [key: string]: string; };
/**
* The unique identifier of the account of the migrated account holder in the classic integration.
*/
"migratedAccountCode"?: string;
"platformPaymentConfiguration"?: PlatformPaymentConfiguration | null;
/**
* Your reference for the balance account, maximum 150 characters.
*/
"reference"?: string;
/**
* The status of the balance account, set to **active** by default.
*/
"status"?: BalanceAccount.StatusEnum;
/**
* The time zone of the balance account. For example, **Europe/Amsterdam**. Defaults to the time zone of the account holder if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
*/
"timeZone"?: string;
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": "accountHolderId",
"baseName": "accountHolderId",
"type": "string",
"format": ""
},
{
"name": "balances",
"baseName": "balances",
"type": "Array<Balance>",
"format": ""
},
{
"name": "defaultCurrencyCode",
"baseName": "defaultCurrencyCode",
"type": "string",
"format": ""
},
{
"name": "description",
"baseName": "description",
"type": "string",
"format": ""
},
{
"name": "id",
"baseName": "id",
"type": "string",
"format": ""
},
{
"name": "metadata",
"baseName": "metadata",
"type": "{ [key: string]: string; }",
"format": ""
},
{
"name": "migratedAccountCode",
"baseName": "migratedAccountCode",
"type": "string",
"format": ""
},
{
"name": "platformPaymentConfiguration",
"baseName": "platformPaymentConfiguration",
"type": "PlatformPaymentConfiguration | null",
"format": ""
},
{
"name": "reference",
"baseName": "reference",
"type": "string",
"format": ""
},
{
"name": "status",
"baseName": "status",
"type": "BalanceAccount.StatusEnum",
"format": ""
},
{
"name": "timeZone",
"baseName": "timeZone",
"type": "string",
"format": ""
} ];
static getAttributeTypeMap() {
return BalanceAccount.attributeTypeMap;
}
public constructor() {
}
}
export namespace BalanceAccount {
export enum StatusEnum {
Active = 'active',
Closed = 'closed',
Inactive = 'inactive',
Suspended = 'suspended'
}
}