-
Notifications
You must be signed in to change notification settings - Fork 87
Expand file tree
/
Copy pathmidServiceNotificationData.ts
More file actions
131 lines (123 loc) · 3.8 KB
/
midServiceNotificationData.ts
File metadata and controls
131 lines (123 loc) · 3.8 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
/*
* The version of the OpenAPI document: v3
*
*
* 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 MidServiceNotificationData {
/**
* Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after screening your merchant account.
*/
"allowed"?: boolean;
/**
* Indicates whether the payment method is enabled (**true**) or disabled (**false**).
*/
"enabled"?: boolean;
/**
* The unique identifier of the resource.
*/
"id": string;
/**
* The unique identifier of the merchant account.
*/
"merchantId": string;
/**
* Your reference for the payment method.
*/
"reference"?: string;
/**
* The status of the request to add a payment method. Possible values: * **success**: the payment method was added. * **failure**: the request failed. * **capabilityPending**: the **receivePayments** capability is not allowed.
*/
"status": MidServiceNotificationData.StatusEnum;
/**
* The unique identifier of the [store](https://docs.adyen.com/api-explorer/#/ManagementService/latest/post/merchants/{id}/paymentMethodSettings__reqParam_storeId), if any.
*/
"storeId"?: string;
/**
* Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).
*/
"type": string;
/**
* Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected**
*/
"verificationStatus"?: MidServiceNotificationData.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": "enabled",
"baseName": "enabled",
"type": "boolean",
"format": ""
},
{
"name": "id",
"baseName": "id",
"type": "string",
"format": ""
},
{
"name": "merchantId",
"baseName": "merchantId",
"type": "string",
"format": ""
},
{
"name": "reference",
"baseName": "reference",
"type": "string",
"format": ""
},
{
"name": "status",
"baseName": "status",
"type": "MidServiceNotificationData.StatusEnum",
"format": ""
},
{
"name": "storeId",
"baseName": "storeId",
"type": "string",
"format": ""
},
{
"name": "type",
"baseName": "type",
"type": "string",
"format": ""
},
{
"name": "verificationStatus",
"baseName": "verificationStatus",
"type": "MidServiceNotificationData.VerificationStatusEnum",
"format": ""
} ];
static getAttributeTypeMap() {
return MidServiceNotificationData.attributeTypeMap;
}
public constructor() {
}
}
export namespace MidServiceNotificationData {
export enum StatusEnum {
Success = 'success',
Failure = 'failure',
CapabilityPending = 'capabilityPending',
DataRequired = 'dataRequired',
UpdatesExpected = 'updatesExpected'
}
export enum VerificationStatusEnum {
Valid = 'valid',
Pending = 'pending',
Invalid = 'invalid',
Rejected = 'rejected'
}
}