-
Notifications
You must be signed in to change notification settings - Fork 85
Expand file tree
/
Copy pathpartyIdentification.ts
More file actions
122 lines (113 loc) · 3.84 KB
/
partyIdentification.ts
File metadata and controls
122 lines (113 loc) · 3.84 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
/*
* 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 email address of the organization or individual. Maximum length: 254 characters.
*/
"email"?: 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;
/**
* The URL of the organization or individual. Maximum length: 255 characters.
*/
"url"?: 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": "address",
"baseName": "address",
"type": "Address | null",
"format": ""
},
{
"name": "dateOfBirth",
"baseName": "dateOfBirth",
"type": "string",
"format": "date"
},
{
"name": "email",
"baseName": "email",
"type": "string",
"format": ""
},
{
"name": "firstName",
"baseName": "firstName",
"type": "string",
"format": ""
},
{
"name": "fullName",
"baseName": "fullName",
"type": "string",
"format": ""
},
{
"name": "lastName",
"baseName": "lastName",
"type": "string",
"format": ""
},
{
"name": "reference",
"baseName": "reference",
"type": "string",
"format": ""
},
{
"name": "type",
"baseName": "type",
"type": "PartyIdentification.TypeEnum",
"format": ""
},
{
"name": "url",
"baseName": "url",
"type": "string",
"format": ""
} ];
static getAttributeTypeMap() {
return PartyIdentification.attributeTypeMap;
}
public constructor() {
}
}
export namespace PartyIdentification {
export enum TypeEnum {
Individual = 'individual',
Organization = 'organization',
Unknown = 'unknown'
}
}