-
Notifications
You must be signed in to change notification settings - Fork 86
Expand file tree
/
Copy pathaccountHolderCapability.ts
More file actions
144 lines (135 loc) · 5.12 KB
/
accountHolderCapability.ts
File metadata and controls
144 lines (135 loc) · 5.12 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 { AccountSupportingEntityCapability } from "./accountSupportingEntityCapability";
import { CapabilityProblem } from "./capabilityProblem";
import { CapabilitySettings } from "./capabilitySettings";
export class AccountHolderCapability {
/**
* Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful and the account holder is permitted to use the capability.
*/
"allowed"?: boolean;
/**
* The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**.
*/
"allowedLevel"?: AccountHolderCapability.AllowedLevelEnum;
"allowedSettings"?: CapabilitySettings | null;
/**
* Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder.
*/
"enabled"?: boolean;
/**
* Contains verification errors and the actions that you can take to resolve them.
*/
"problems"?: Array<CapabilityProblem>;
/**
* Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field.
*/
"requested"?: boolean;
/**
* The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**.
*/
"requestedLevel"?: AccountHolderCapability.RequestedLevelEnum;
"requestedSettings"?: CapabilitySettings | null;
/**
* Contains the status of the transfer instruments associated with this capability.
*/
"transferInstruments"?: Array<AccountSupportingEntityCapability>;
/**
* The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability.
*/
"verificationStatus"?: AccountHolderCapability.VerificationStatusEnum;
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": "allowed",
"baseName": "allowed",
"type": "boolean",
"format": ""
},
{
"name": "allowedLevel",
"baseName": "allowedLevel",
"type": "AccountHolderCapability.AllowedLevelEnum",
"format": ""
},
{
"name": "allowedSettings",
"baseName": "allowedSettings",
"type": "CapabilitySettings | null",
"format": ""
},
{
"name": "enabled",
"baseName": "enabled",
"type": "boolean",
"format": ""
},
{
"name": "problems",
"baseName": "problems",
"type": "Array<CapabilityProblem>",
"format": ""
},
{
"name": "requested",
"baseName": "requested",
"type": "boolean",
"format": ""
},
{
"name": "requestedLevel",
"baseName": "requestedLevel",
"type": "AccountHolderCapability.RequestedLevelEnum",
"format": ""
},
{
"name": "requestedSettings",
"baseName": "requestedSettings",
"type": "CapabilitySettings | null",
"format": ""
},
{
"name": "transferInstruments",
"baseName": "transferInstruments",
"type": "Array<AccountSupportingEntityCapability>",
"format": ""
},
{
"name": "verificationStatus",
"baseName": "verificationStatus",
"type": "AccountHolderCapability.VerificationStatusEnum",
"format": ""
} ];
static getAttributeTypeMap() {
return AccountHolderCapability.attributeTypeMap;
}
public constructor() {
}
}
export namespace AccountHolderCapability {
export enum AllowedLevelEnum {
High = 'high',
Low = 'low',
Medium = 'medium',
NotApplicable = 'notApplicable'
}
export enum RequestedLevelEnum {
High = 'high',
Low = 'low',
Medium = 'medium',
NotApplicable = 'notApplicable'
}
export enum VerificationStatusEnum {
Invalid = 'invalid',
Pending = 'pending',
Rejected = 'rejected',
Valid = 'valid'
}
}