Repository navigation
Expand file tree
/
Copy pathplatformPayoutConfigWebhookData.ts
More file actions
146 lines (138 loc) · 4.98 KB
/
Copy pathplatformPayoutConfigWebhookData.ts
File metadata and controls
146 lines (138 loc) · 4.98 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
145
/*
* 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 PlatformPayoutConfigWebhookData {
/**
* The unique identifier of the balance platform.
*/
"balancePlatform"?: string;
/**
* The unique identifier of the balance platform payout schedule that is applied to the balance account.
*/
"balancePlatformPayoutScheduleId"?: string;
/**
* The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code of the country to which the payout schedule applies.
*/
"countryCode"?: string;
/**
* The three-character [ISO code](https://docs.adyen.com/development-resources/currency-codes) of the currency used for the payout schedule.
*/
"currency"?: string;
/**
* The default description for payouts initiated by this payout schedule.
*/
"defaultDescription"?: string;
/**
* The default frequency of payouts initiated by this payout schedule.
*/
"defaultFrequency"?: string;
/**
* The default value for date of the month or day of the week when payouts are initiated. Allowed only if `defaultFrequency` is **monthly** or **weekly**. Possible values if `frequency` is **monthly**: **[1 - 31]**. * If your specified date happens on a weekend, the payout is initiated on the next business day. * If your specified date (**29**, **30**, or **31**) does not exist in a month, the payout is initiated on the last day of that month. Possible values if `defaultFrequency` is **weekly**: **[1 - 5]**.
*/
"defaultFrequencyValue"?: number;
/**
* Your internal default reference for the payout schedule. When the payout schedule is applied to a balance account, this reference is also used for that payout schedule, unless you specify a new reference.
*/
"defaultReference"?: string;
/**
* The default reference for beneficiary for payouts initiated by this payout schedule.
*/
"defaultReferenceForBeneficiary"?: string;
/**
* The maximum amount that can be paid out from balance accounts that use this payout schedule.
*/
"maxPayoutAmount"?: number;
/**
* The minimum amount that can be paid out from balance accounts that use this payout schedule.
*/
"minPayoutAmount"?: number;
/**
* The amount of funds that must remain available in a balance account after an execution of the payout schedule. If the funds in the balance account are less than the retained amount, the execution is not initiated.
*/
"retainedAmount"?: number;
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": "balancePlatform",
"baseName": "balancePlatform",
"type": "string",
"format": ""
},
{
"name": "balancePlatformPayoutScheduleId",
"baseName": "balancePlatformPayoutScheduleId",
"type": "string",
"format": ""
},
{
"name": "countryCode",
"baseName": "countryCode",
"type": "string",
"format": ""
},
{
"name": "currency",
"baseName": "currency",
"type": "string",
"format": ""
},
{
"name": "defaultDescription",
"baseName": "defaultDescription",
"type": "string",
"format": ""
},
{
"name": "defaultFrequency",
"baseName": "defaultFrequency",
"type": "string",
"format": ""
},
{
"name": "defaultFrequencyValue",
"baseName": "defaultFrequencyValue",
"type": "number",
"format": "int32"
},
{
"name": "defaultReference",
"baseName": "defaultReference",
"type": "string",
"format": ""
},
{
"name": "defaultReferenceForBeneficiary",
"baseName": "defaultReferenceForBeneficiary",
"type": "string",
"format": ""
},
{
"name": "maxPayoutAmount",
"baseName": "maxPayoutAmount",
"type": "number",
"format": "int64"
},
{
"name": "minPayoutAmount",
"baseName": "minPayoutAmount",
"type": "number",
"format": "int64"
},
{
"name": "retainedAmount",
"baseName": "retainedAmount",
"type": "number",
"format": "int64"
} ];
static getAttributeTypeMap() {
return PlatformPayoutConfigWebhookData.attributeTypeMap;
}
public constructor() {
}
}