-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy pathpartyIdentification.ts
89 lines (83 loc) · 3.01 KB
/
partyIdentification.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
/*
* The version of the OpenAPI document: v4
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
import { Address } from './address';
export class PartyIdentification {
'address'?: Address | null;
/**
* The date of birth of the individual in [ISO-8601](https://www.w3.org/TR/NOTE-datetime) format. For example, **YYYY-MM-DD**. Allowed only when `type` is **individual**.
*/
'dateOfBirth'?: string;
/**
* The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**.
*/
'firstName'?: string;
/**
* The full name of the entity that owns the bank account or card. Supported characters: [a-z] [A-Z] [0-9] , . ; : - — / \\ + & ! ? @ ( ) \" \' and space. Required when `category` is **bank**.
*/
'fullName'?: string;
/**
* The last name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**.
*/
'lastName'?: string;
/**
* A unique reference to identify the party or counterparty involved in the transfer. For example, your client\'s unique wallet or payee ID. Required when you include `cardIdentification.storedPaymentMethodId`.
*/
'reference'?: string;
/**
* The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**.
*/
'type'?: PartyIdentification.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "address",
"baseName": "address",
"type": "Address | null"
},
{
"name": "dateOfBirth",
"baseName": "dateOfBirth",
"type": "string"
},
{
"name": "firstName",
"baseName": "firstName",
"type": "string"
},
{
"name": "fullName",
"baseName": "fullName",
"type": "string"
},
{
"name": "lastName",
"baseName": "lastName",
"type": "string"
},
{
"name": "reference",
"baseName": "reference",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "PartyIdentification.TypeEnum"
} ];
static getAttributeTypeMap() {
return PartyIdentification.attributeTypeMap;
}
}
export namespace PartyIdentification {
export enum TypeEnum {
Individual = 'individual',
Organization = 'organization',
Unknown = 'unknown'
}
}