-
Notifications
You must be signed in to change notification settings - Fork 68
/
Copy pathaccountSupportingEntityCapability.ts
104 lines (98 loc) · 3.81 KB
/
accountSupportingEntityCapability.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
93
94
95
96
97
98
99
100
101
102
103
104
/*
* 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 AccountSupportingEntityCapability {
/**
* Indicates whether the supporting entity 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'?: AccountSupportingEntityCapability.AllowedLevelEnum;
/**
* Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder.
*/
'enabled'?: boolean;
/**
* The ID of the supporting entity.
*/
'id'?: string;
/**
* 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'?: AccountSupportingEntityCapability.RequestedLevelEnum;
/**
* The status of the verification checks for the supporting entity 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'?: AccountSupportingEntityCapability.VerificationStatusEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "allowed",
"baseName": "allowed",
"type": "boolean"
},
{
"name": "allowedLevel",
"baseName": "allowedLevel",
"type": "AccountSupportingEntityCapability.AllowedLevelEnum"
},
{
"name": "enabled",
"baseName": "enabled",
"type": "boolean"
},
{
"name": "id",
"baseName": "id",
"type": "string"
},
{
"name": "requested",
"baseName": "requested",
"type": "boolean"
},
{
"name": "requestedLevel",
"baseName": "requestedLevel",
"type": "AccountSupportingEntityCapability.RequestedLevelEnum"
},
{
"name": "verificationStatus",
"baseName": "verificationStatus",
"type": "AccountSupportingEntityCapability.VerificationStatusEnum"
} ];
static getAttributeTypeMap() {
return AccountSupportingEntityCapability.attributeTypeMap;
}
}
export namespace AccountSupportingEntityCapability {
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'
}
}