-
Notifications
You must be signed in to change notification settings - Fork 68
/
Copy pathbankAccountDetails.ts
93 lines (87 loc) · 2.82 KB
/
bankAccountDetails.ts
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
/*
* 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 BankAccountDetails {
/**
* The bank account number, without separators or whitespace.
*/
'accountNumber'?: string;
/**
* The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.
*/
'accountType'?: string;
/**
* The bank account branch number, without separators or whitespace
*/
'branchNumber'?: string;
/**
* Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.
*/
'formFactor'?: string;
/**
* The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard.
*/
'iban'?: string;
/**
* The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.
*/
'routingNumber'?: string;
/**
* The [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace.
*/
'sortCode'?: string;
/**
* **iban** or **usLocal** or **ukLocal**
*/
'type': string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "accountNumber",
"baseName": "accountNumber",
"type": "string"
},
{
"name": "accountType",
"baseName": "accountType",
"type": "string"
},
{
"name": "branchNumber",
"baseName": "branchNumber",
"type": "string"
},
{
"name": "formFactor",
"baseName": "formFactor",
"type": "string"
},
{
"name": "iban",
"baseName": "iban",
"type": "string"
},
{
"name": "routingNumber",
"baseName": "routingNumber",
"type": "string"
},
{
"name": "sortCode",
"baseName": "sortCode",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "string"
} ];
static getAttributeTypeMap() {
return BankAccountDetails.attributeTypeMap;
}
}