transferzero-sdk 1.12.2 → 1.14.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -4
  3. data/docs/PayoutMethod.md +1 -1
  4. data/docs/PayoutMethodCountryEnumUSDBank.md +16 -0
  5. data/docs/PayoutMethodDetails.md +16 -6
  6. data/docs/PayoutMethodDetailsGHSCash.md +21 -0
  7. data/docs/PayoutMethodDetailsMADCash.md +3 -3
  8. data/docs/PayoutMethodDetailsUSDBank.md +27 -0
  9. data/docs/PayoutMethodDetailsXOFMobile.md +3 -1
  10. data/docs/PayoutMethodDetailsZARBank.md +13 -1
  11. data/docs/PayoutMethodLegalEntityTypeEnum.md +16 -0
  12. data/docs/PayoutMethodNatureOfBusinessEnum.md +16 -0
  13. data/docs/TransactionsApi.md +2 -0
  14. data/lib/transferzero-sdk.rb +5 -0
  15. data/lib/transferzero-sdk/api/transactions_api.rb +6 -0
  16. data/lib/transferzero-sdk/api_client.rb +2 -2
  17. data/lib/transferzero-sdk/models/account_validation_request.rb +4 -4
  18. data/lib/transferzero-sdk/models/payout_method.rb +1 -1
  19. data/lib/transferzero-sdk/models/payout_method_country_enum.rb +234 -8
  20. data/lib/transferzero-sdk/models/payout_method_country_enum_usd_bank.rb +269 -0
  21. data/lib/transferzero-sdk/models/payout_method_details.rb +65 -28
  22. data/lib/transferzero-sdk/models/payout_method_details_ghs_cash.rb +236 -0
  23. data/lib/transferzero-sdk/models/payout_method_details_mad_cash.rb +1 -16
  24. data/lib/transferzero-sdk/models/payout_method_details_usd_bank.rb +278 -0
  25. data/lib/transferzero-sdk/models/payout_method_details_xof_cash.rb +1 -1
  26. data/lib/transferzero-sdk/models/payout_method_details_xof_mobile.rb +14 -5
  27. data/lib/transferzero-sdk/models/payout_method_details_zar_bank.rb +59 -5
  28. data/lib/transferzero-sdk/models/payout_method_legal_entity_type_enum.rb +37 -0
  29. data/lib/transferzero-sdk/models/payout_method_mobile_provider_enum.rb +1 -0
  30. data/lib/transferzero-sdk/models/payout_method_nature_of_business_enum.rb +65 -0
  31. data/lib/transferzero-sdk/version.rb +1 -1
  32. data/spec/models/payout_method_country_enum_usd_bank_spec.rb +35 -0
  33. data/spec/models/payout_method_details_ghs_cash_spec.rb +53 -0
  34. data/spec/models/payout_method_details_usd_bank_spec.rb +71 -0
  35. data/spec/models/payout_method_legal_entity_type_enum_spec.rb +35 -0
  36. data/spec/models/payout_method_nature_of_business_enum_spec.rb +35 -0
  37. metadata +32 -13
  38. data/transferzero-sdk-1.9.0.gem +0 -0
@@ -15,20 +15,246 @@ require 'date'
15
15
  module TransferZero
16
16
  class PayoutMethodCountryEnum
17
17
 
18
+ AF = "AF".freeze
19
+ AL = "AL".freeze
20
+ DZ = "DZ".freeze
21
+ AS = "AS".freeze
22
+ AD = "AD".freeze
23
+ AO = "AO".freeze
24
+ AI = "AI".freeze
25
+ AQ = "AQ".freeze
26
+ AG = "AG".freeze
27
+ AR = "AR".freeze
28
+ AM = "AM".freeze
29
+ AW = "AW".freeze
30
+ AU = "AU".freeze
31
+ AT = "AT".freeze
32
+ AZ = "AZ".freeze
33
+ BS = "BS".freeze
34
+ BH = "BH".freeze
35
+ BD = "BD".freeze
36
+ BB = "BB".freeze
37
+ BY = "BY".freeze
38
+ BE = "BE".freeze
39
+ BZ = "BZ".freeze
40
+ BJ = "BJ".freeze
41
+ BM = "BM".freeze
42
+ BT = "BT".freeze
43
+ BO = "BO".freeze
44
+ BA = "BA".freeze
45
+ BW = "BW".freeze
46
+ BV = "BV".freeze
47
+ BR = "BR".freeze
48
+ IO = "IO".freeze
49
+ BN = "BN".freeze
50
+ BG = "BG".freeze
51
+ BF = "BF".freeze
52
+ BI = "BI".freeze
53
+ KH = "KH".freeze
54
+ CM = "CM".freeze
55
+ CA = "CA".freeze
56
+ CV = "CV".freeze
57
+ KY = "KY".freeze
58
+ CF = "CF".freeze
59
+ TD = "TD".freeze
60
+ CL = "CL".freeze
61
+ CN = "CN".freeze
62
+ CX = "CX".freeze
63
+ CC = "CC".freeze
64
+ CO = "CO".freeze
65
+ KM = "KM".freeze
66
+ CG = "CG".freeze
67
+ CD = "CD".freeze
68
+ CK = "CK".freeze
69
+ CR = "CR".freeze
18
70
  CI = "CI".freeze
71
+ HR = "HR".freeze
72
+ CU = "CU".freeze
73
+ CY = "CY".freeze
74
+ CZ = "CZ".freeze
75
+ DK = "DK".freeze
76
+ DJ = "DJ".freeze
77
+ DM = "DM".freeze
78
+ DO = "DO".freeze
79
+ TP = "TP".freeze
80
+ EC = "EC".freeze
81
+ EG = "EG".freeze
82
+ SV = "SV".freeze
83
+ GQ = "GQ".freeze
84
+ ER = "ER".freeze
85
+ EE = "EE".freeze
86
+ ET = "ET".freeze
87
+ FK = "FK".freeze
88
+ FO = "FO".freeze
89
+ FJ = "FJ".freeze
90
+ FI = "FI".freeze
91
+ FR = "FR".freeze
92
+ GF = "GF".freeze
93
+ PF = "PF".freeze
94
+ TF = "TF".freeze
95
+ GA = "GA".freeze
96
+ GM = "GM".freeze
97
+ GE = "GE".freeze
98
+ DE = "DE".freeze
99
+ GH = "GH".freeze
100
+ GI = "GI".freeze
101
+ GR = "GR".freeze
102
+ GL = "GL".freeze
103
+ GD = "GD".freeze
104
+ GP = "GP".freeze
105
+ GU = "GU".freeze
106
+ GT = "GT".freeze
107
+ GN = "GN".freeze
108
+ GW = "GW".freeze
109
+ GY = "GY".freeze
110
+ HT = "HT".freeze
111
+ HM = "HM".freeze
112
+ VA = "VA".freeze
113
+ HN = "HN".freeze
114
+ HK = "HK".freeze
115
+ HU = "HU".freeze
116
+ IS = "IS".freeze
117
+ IN = "IN".freeze
118
+ ID = "ID".freeze
119
+ IR = "IR".freeze
120
+ IQ = "IQ".freeze
121
+ IE = "IE".freeze
122
+ IL = "IL".freeze
123
+ IT = "IT".freeze
124
+ JM = "JM".freeze
125
+ JP = "JP".freeze
126
+ JO = "JO".freeze
127
+ KZ = "KZ".freeze
128
+ KE = "KE".freeze
129
+ KI = "KI".freeze
130
+ KP = "KP".freeze
131
+ KR = "KR".freeze
132
+ KV = "KV".freeze
133
+ KW = "KW".freeze
134
+ KG = "KG".freeze
135
+ LA = "LA".freeze
136
+ LV = "LV".freeze
137
+ LB = "LB".freeze
138
+ LS = "LS".freeze
139
+ LR = "LR".freeze
140
+ LY = "LY".freeze
141
+ LI = "LI".freeze
142
+ LT = "LT".freeze
143
+ LU = "LU".freeze
144
+ MO = "MO".freeze
145
+ MK = "MK".freeze
146
+ MG = "MG".freeze
147
+ MW = "MW".freeze
148
+ MY = "MY".freeze
149
+ MV = "MV".freeze
19
150
  ML = "ML".freeze
20
- SN = "SN".freeze
21
- NG = "NG".freeze
151
+ MT = "MT".freeze
152
+ MH = "MH".freeze
153
+ MQ = "MQ".freeze
154
+ MR = "MR".freeze
155
+ MU = "MU".freeze
156
+ YT = "YT".freeze
157
+ MX = "MX".freeze
158
+ FM = "FM".freeze
159
+ MD = "MD".freeze
160
+ MC = "MC".freeze
161
+ MN = "MN".freeze
162
+ MS = "MS".freeze
163
+ ME = "ME".freeze
22
164
  MA = "MA".freeze
165
+ MZ = "MZ".freeze
166
+ MM = "MM".freeze
167
+ NA = "NA".freeze
168
+ NR = "NR".freeze
169
+ NP = "NP".freeze
170
+ NL = "NL".freeze
171
+ AN = "AN".freeze
172
+ NC = "NC".freeze
173
+ NZ = "NZ".freeze
174
+ NI = "NI".freeze
175
+ NE = "NE".freeze
176
+ NG = "NG".freeze
177
+ NU = "NU".freeze
178
+ NF = "NF".freeze
179
+ MP = "MP".freeze
180
+ FALSE = "false".freeze
181
+ OM = "OM".freeze
182
+ PK = "PK".freeze
183
+ PW = "PW".freeze
184
+ PS = "PS".freeze
185
+ PA = "PA".freeze
186
+ PG = "PG".freeze
187
+ PY = "PY".freeze
188
+ PE = "PE".freeze
189
+ PH = "PH".freeze
190
+ PN = "PN".freeze
191
+ PL = "PL".freeze
192
+ PT = "PT".freeze
193
+ PR = "PR".freeze
194
+ QA = "QA".freeze
195
+ RE = "RE".freeze
196
+ RO = "RO".freeze
197
+ RU = "RU".freeze
198
+ RW = "RW".freeze
199
+ SH = "SH".freeze
200
+ KN = "KN".freeze
201
+ LC = "LC".freeze
202
+ PM = "PM".freeze
203
+ VC = "VC".freeze
204
+ WS = "WS".freeze
205
+ SM = "SM".freeze
206
+ ST = "ST".freeze
207
+ SA = "SA".freeze
208
+ SN = "SN".freeze
209
+ RS = "RS".freeze
210
+ SC = "SC".freeze
211
+ SL = "SL".freeze
212
+ SG = "SG".freeze
213
+ SK = "SK".freeze
214
+ SI = "SI".freeze
215
+ SB = "SB".freeze
216
+ SO = "SO".freeze
217
+ ZA = "ZA".freeze
218
+ GS = "GS".freeze
219
+ ES = "ES".freeze
220
+ LK = "LK".freeze
221
+ SD = "SD".freeze
222
+ SR = "SR".freeze
223
+ SJ = "SJ".freeze
224
+ SZ = "SZ".freeze
225
+ SE = "SE".freeze
226
+ CH = "CH".freeze
227
+ SY = "SY".freeze
228
+ TW = "TW".freeze
229
+ TJ = "TJ".freeze
23
230
  TZ = "TZ".freeze
24
- GH = "GH".freeze
231
+ TH = "TH".freeze
232
+ TG = "TG".freeze
233
+ TK = "TK".freeze
234
+ TO = "TO".freeze
235
+ TT = "TT".freeze
236
+ TN = "TN".freeze
237
+ TR = "TR".freeze
238
+ TM = "TM".freeze
239
+ TC = "TC".freeze
240
+ TV = "TV".freeze
25
241
  UG = "UG".freeze
26
- KE = "KE".freeze
27
- NJ = "NJ".freeze
28
- EU = "EU".freeze
242
+ UA = "UA".freeze
243
+ AE = "AE".freeze
29
244
  GB = "GB".freeze
30
- ZA = "ZA".freeze
31
- EG = "EG".freeze
245
+ US = "US".freeze
246
+ UM = "UM".freeze
247
+ UY = "UY".freeze
248
+ UZ = "UZ".freeze
249
+ VU = "VU".freeze
250
+ VE = "VE".freeze
251
+ VN = "VN".freeze
252
+ VG = "VG".freeze
253
+ VI = "VI".freeze
254
+ WF = "WF".freeze
255
+ EH = "EH".freeze
256
+ YE = "YE".freeze
257
+ ZM = "ZM".freeze
32
258
 
33
259
  # Builds the enum from string
34
260
  # @param [String] The enum value in the form of the string
@@ -0,0 +1,269 @@
1
+ =begin
2
+ #TransferZero API
3
+
4
+ #Reference documentation for the TransferZero API V1
5
+
6
+ OpenAPI spec version: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.0.0-beta3
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module TransferZero
16
+ class PayoutMethodCountryEnumUSDBank
17
+
18
+ AF = "AF".freeze
19
+ AL = "AL".freeze
20
+ DZ = "DZ".freeze
21
+ AS = "AS".freeze
22
+ AD = "AD".freeze
23
+ AO = "AO".freeze
24
+ AI = "AI".freeze
25
+ AQ = "AQ".freeze
26
+ AG = "AG".freeze
27
+ AR = "AR".freeze
28
+ AM = "AM".freeze
29
+ AW = "AW".freeze
30
+ AU = "AU".freeze
31
+ AT = "AT".freeze
32
+ AZ = "AZ".freeze
33
+ BS = "BS".freeze
34
+ BH = "BH".freeze
35
+ BD = "BD".freeze
36
+ BB = "BB".freeze
37
+ BY = "BY".freeze
38
+ BE = "BE".freeze
39
+ BZ = "BZ".freeze
40
+ BJ = "BJ".freeze
41
+ BM = "BM".freeze
42
+ BT = "BT".freeze
43
+ BO = "BO".freeze
44
+ BA = "BA".freeze
45
+ BW = "BW".freeze
46
+ BV = "BV".freeze
47
+ BR = "BR".freeze
48
+ IO = "IO".freeze
49
+ BN = "BN".freeze
50
+ BG = "BG".freeze
51
+ BF = "BF".freeze
52
+ BI = "BI".freeze
53
+ KH = "KH".freeze
54
+ CM = "CM".freeze
55
+ CA = "CA".freeze
56
+ CV = "CV".freeze
57
+ KY = "KY".freeze
58
+ CF = "CF".freeze
59
+ TD = "TD".freeze
60
+ CL = "CL".freeze
61
+ CN = "CN".freeze
62
+ CX = "CX".freeze
63
+ CC = "CC".freeze
64
+ CO = "CO".freeze
65
+ KM = "KM".freeze
66
+ CG = "CG".freeze
67
+ CD = "CD".freeze
68
+ CK = "CK".freeze
69
+ CR = "CR".freeze
70
+ CI = "CI".freeze
71
+ HR = "HR".freeze
72
+ CU = "CU".freeze
73
+ CY = "CY".freeze
74
+ CZ = "CZ".freeze
75
+ DK = "DK".freeze
76
+ DJ = "DJ".freeze
77
+ DM = "DM".freeze
78
+ DO = "DO".freeze
79
+ TP = "TP".freeze
80
+ EC = "EC".freeze
81
+ EG = "EG".freeze
82
+ SV = "SV".freeze
83
+ GQ = "GQ".freeze
84
+ ER = "ER".freeze
85
+ EE = "EE".freeze
86
+ ET = "ET".freeze
87
+ FK = "FK".freeze
88
+ FO = "FO".freeze
89
+ FJ = "FJ".freeze
90
+ FI = "FI".freeze
91
+ FR = "FR".freeze
92
+ GF = "GF".freeze
93
+ PF = "PF".freeze
94
+ TF = "TF".freeze
95
+ GA = "GA".freeze
96
+ GM = "GM".freeze
97
+ GE = "GE".freeze
98
+ DE = "DE".freeze
99
+ GH = "GH".freeze
100
+ GI = "GI".freeze
101
+ GR = "GR".freeze
102
+ GL = "GL".freeze
103
+ GD = "GD".freeze
104
+ GP = "GP".freeze
105
+ GU = "GU".freeze
106
+ GT = "GT".freeze
107
+ GN = "GN".freeze
108
+ GW = "GW".freeze
109
+ GY = "GY".freeze
110
+ HT = "HT".freeze
111
+ HM = "HM".freeze
112
+ VA = "VA".freeze
113
+ HN = "HN".freeze
114
+ HK = "HK".freeze
115
+ HU = "HU".freeze
116
+ IS = "IS".freeze
117
+ IN = "IN".freeze
118
+ ID = "ID".freeze
119
+ IR = "IR".freeze
120
+ IQ = "IQ".freeze
121
+ IE = "IE".freeze
122
+ IL = "IL".freeze
123
+ IT = "IT".freeze
124
+ JM = "JM".freeze
125
+ JP = "JP".freeze
126
+ JO = "JO".freeze
127
+ KZ = "KZ".freeze
128
+ KE = "KE".freeze
129
+ KI = "KI".freeze
130
+ KP = "KP".freeze
131
+ KR = "KR".freeze
132
+ KV = "KV".freeze
133
+ KW = "KW".freeze
134
+ KG = "KG".freeze
135
+ LA = "LA".freeze
136
+ LV = "LV".freeze
137
+ LB = "LB".freeze
138
+ LS = "LS".freeze
139
+ LR = "LR".freeze
140
+ LY = "LY".freeze
141
+ LI = "LI".freeze
142
+ LT = "LT".freeze
143
+ LU = "LU".freeze
144
+ MO = "MO".freeze
145
+ MK = "MK".freeze
146
+ MG = "MG".freeze
147
+ MW = "MW".freeze
148
+ MY = "MY".freeze
149
+ MV = "MV".freeze
150
+ ML = "ML".freeze
151
+ MT = "MT".freeze
152
+ MH = "MH".freeze
153
+ MQ = "MQ".freeze
154
+ MR = "MR".freeze
155
+ MU = "MU".freeze
156
+ YT = "YT".freeze
157
+ MX = "MX".freeze
158
+ FM = "FM".freeze
159
+ MD = "MD".freeze
160
+ MC = "MC".freeze
161
+ MN = "MN".freeze
162
+ MS = "MS".freeze
163
+ ME = "ME".freeze
164
+ MA = "MA".freeze
165
+ MZ = "MZ".freeze
166
+ MM = "MM".freeze
167
+ NA = "NA".freeze
168
+ NR = "NR".freeze
169
+ NP = "NP".freeze
170
+ NL = "NL".freeze
171
+ AN = "AN".freeze
172
+ NC = "NC".freeze
173
+ NZ = "NZ".freeze
174
+ NI = "NI".freeze
175
+ NE = "NE".freeze
176
+ NG = "NG".freeze
177
+ NU = "NU".freeze
178
+ NF = "NF".freeze
179
+ MP = "MP".freeze
180
+ FALSE = "false".freeze
181
+ OM = "OM".freeze
182
+ PK = "PK".freeze
183
+ PW = "PW".freeze
184
+ PS = "PS".freeze
185
+ PA = "PA".freeze
186
+ PG = "PG".freeze
187
+ PY = "PY".freeze
188
+ PE = "PE".freeze
189
+ PH = "PH".freeze
190
+ PN = "PN".freeze
191
+ PL = "PL".freeze
192
+ PT = "PT".freeze
193
+ PR = "PR".freeze
194
+ QA = "QA".freeze
195
+ RE = "RE".freeze
196
+ RO = "RO".freeze
197
+ RU = "RU".freeze
198
+ RW = "RW".freeze
199
+ SH = "SH".freeze
200
+ KN = "KN".freeze
201
+ LC = "LC".freeze
202
+ PM = "PM".freeze
203
+ VC = "VC".freeze
204
+ WS = "WS".freeze
205
+ SM = "SM".freeze
206
+ ST = "ST".freeze
207
+ SA = "SA".freeze
208
+ SN = "SN".freeze
209
+ RS = "RS".freeze
210
+ SC = "SC".freeze
211
+ SL = "SL".freeze
212
+ SG = "SG".freeze
213
+ SK = "SK".freeze
214
+ SI = "SI".freeze
215
+ SB = "SB".freeze
216
+ SO = "SO".freeze
217
+ ZA = "ZA".freeze
218
+ GS = "GS".freeze
219
+ ES = "ES".freeze
220
+ LK = "LK".freeze
221
+ SD = "SD".freeze
222
+ SR = "SR".freeze
223
+ SJ = "SJ".freeze
224
+ SZ = "SZ".freeze
225
+ SE = "SE".freeze
226
+ CH = "CH".freeze
227
+ SY = "SY".freeze
228
+ TW = "TW".freeze
229
+ TJ = "TJ".freeze
230
+ TZ = "TZ".freeze
231
+ TH = "TH".freeze
232
+ TG = "TG".freeze
233
+ TK = "TK".freeze
234
+ TO = "TO".freeze
235
+ TT = "TT".freeze
236
+ TN = "TN".freeze
237
+ TR = "TR".freeze
238
+ TM = "TM".freeze
239
+ TC = "TC".freeze
240
+ TV = "TV".freeze
241
+ UG = "UG".freeze
242
+ UA = "UA".freeze
243
+ AE = "AE".freeze
244
+ GB = "GB".freeze
245
+ US = "US".freeze
246
+ UM = "UM".freeze
247
+ UY = "UY".freeze
248
+ UZ = "UZ".freeze
249
+ VU = "VU".freeze
250
+ VE = "VE".freeze
251
+ VN = "VN".freeze
252
+ VG = "VG".freeze
253
+ VI = "VI".freeze
254
+ WF = "WF".freeze
255
+ EH = "EH".freeze
256
+ YE = "YE".freeze
257
+ ZM = "ZM".freeze
258
+
259
+ # Builds the enum from string
260
+ # @param [String] The enum value in the form of the string
261
+ # @return [String] The enum value
262
+ def build_from_hash(value)
263
+ constantValues = PayoutMethodCountryEnumUSDBank.constants.select { |c| PayoutMethodCountryEnumUSDBank::const_get(c) == value }
264
+ raise "Invalid ENUM value #{value} for class #PayoutMethodCountryEnumUSDBank" if constantValues.empty? && !value.empty?
265
+ value
266
+ end
267
+ end
268
+
269
+ end