transferzero-sdk 1.14.0 → 1.15.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -5
- data/docs/AccountValidationRequest.md +2 -0
- data/docs/PayoutMethod.md +1 -1
- data/docs/{PayoutMethodEntityTypeEnum.md → PayoutMethodCountryEnumUSDBank.md} +2 -2
- data/docs/PayoutMethodDetails.md +12 -8
- data/docs/PayoutMethodDetailsKESBank.md +37 -0
- data/docs/PayoutMethodDetailsKESMobile.md +31 -0
- data/docs/PayoutMethodDetailsUSDBank.md +27 -0
- data/docs/PayoutMethodDetailsXOFBank.md +5 -3
- data/docs/PayoutMethodDetailsZARBank.md +3 -3
- data/docs/PayoutMethodLegalEntityTypeEnum.md +16 -0
- data/docs/PayoutMethodNatureOfBusinessEnum.md +16 -0
- data/docs/TransactionsApi.md +2 -0
- data/lib/transferzero-sdk.rb +6 -1
- data/lib/transferzero-sdk/api/transactions_api.rb +6 -0
- data/lib/transferzero-sdk/api_client.rb +2 -2
- data/lib/transferzero-sdk/models/account_validation_request.rb +15 -5
- data/lib/transferzero-sdk/models/payout_method.rb +1 -1
- data/lib/transferzero-sdk/models/payout_method_country_enum.rb +234 -8
- data/lib/transferzero-sdk/models/payout_method_country_enum_usd_bank.rb +269 -0
- data/lib/transferzero-sdk/models/payout_method_details.rb +55 -14
- data/lib/transferzero-sdk/models/payout_method_details_kes_bank.rb +343 -0
- data/lib/transferzero-sdk/models/payout_method_details_kes_mobile.rb +306 -0
- data/lib/transferzero-sdk/models/payout_method_details_usd_bank.rb +278 -0
- data/lib/transferzero-sdk/models/payout_method_details_xof_bank.rb +14 -15
- data/lib/transferzero-sdk/models/payout_method_details_zar_bank.rb +9 -9
- data/lib/transferzero-sdk/models/{payout_method_entity_type_enum.rb → payout_method_legal_entity_type_enum.rb} +3 -3
- data/lib/transferzero-sdk/models/payout_method_mobile_provider_enum.rb +1 -0
- data/lib/transferzero-sdk/models/payout_method_nature_of_business_enum.rb +65 -0
- data/lib/transferzero-sdk/version.rb +1 -1
- data/spec/models/payout_method_country_enum_usd_bank_spec.rb +35 -0
- data/spec/models/payout_method_details_kes_bank_spec.rb +101 -0
- data/spec/models/payout_method_details_kes_mobile_spec.rb +83 -0
- data/spec/models/payout_method_details_usd_bank_spec.rb +71 -0
- data/spec/models/{payout_method_entity_type_enum_spec.rb → payout_method_legal_entity_type_enum_spec.rb} +6 -6
- data/spec/models/payout_method_nature_of_business_enum_spec.rb +35 -0
- metadata +36 -20
- data/Gemfile.lock +0 -93
- data/transferzero-sdk-1.10.0.gem +0 -0
- data/transferzero-sdk-1.11.0.gem +0 -0
- data/transferzero-sdk-1.12.0.gem +0 -0
@@ -20,6 +20,9 @@ class AccountValidationRequest
|
|
20
20
|
# Bank Code to query - same codes are used as for creating the transactions
|
21
21
|
attr_accessor :bank_code
|
22
22
|
|
23
|
+
# IBAN to query - BBAN format for XOF bank accounts
|
24
|
+
attr_accessor :iban
|
25
|
+
|
23
26
|
# Phone number to query
|
24
27
|
attr_accessor :phone_number
|
25
28
|
|
@@ -61,6 +64,7 @@ class AccountValidationRequest
|
|
61
64
|
{
|
62
65
|
:'bank_account' => :'bank_account',
|
63
66
|
:'bank_code' => :'bank_code',
|
67
|
+
:'iban' => :'iban',
|
64
68
|
:'phone_number' => :'phone_number',
|
65
69
|
:'mobile_provider' => :'mobile_provider',
|
66
70
|
:'country' => :'country',
|
@@ -74,6 +78,7 @@ class AccountValidationRequest
|
|
74
78
|
{
|
75
79
|
:'bank_account' => :'String',
|
76
80
|
:'bank_code' => :'String',
|
81
|
+
:'iban' => :'String',
|
77
82
|
:'phone_number' => :'String',
|
78
83
|
:'mobile_provider' => :'PayoutMethodMobileProviderEnum',
|
79
84
|
:'country' => :'String',
|
@@ -105,6 +110,10 @@ class AccountValidationRequest
|
|
105
110
|
self.bank_code = attributes[:'bank_code']
|
106
111
|
end
|
107
112
|
|
113
|
+
if attributes.key?(:'iban')
|
114
|
+
self.iban = attributes[:'iban']
|
115
|
+
end
|
116
|
+
|
108
117
|
if attributes.key?(:'phone_number')
|
109
118
|
self.phone_number = attributes[:'phone_number']
|
110
119
|
end
|
@@ -149,10 +158,10 @@ class AccountValidationRequest
|
|
149
158
|
# @return true if the model is valid
|
150
159
|
def valid?
|
151
160
|
return false if @country.nil?
|
152
|
-
country_validator = EnumAttributeValidator.new('String', ["NG", "GH"])
|
161
|
+
country_validator = EnumAttributeValidator.new('String', ["NG", "GH", "SN", "CI"])
|
153
162
|
return false unless country_validator.valid?(@country)
|
154
163
|
return false if @currency.nil?
|
155
|
-
currency_validator = EnumAttributeValidator.new('String', ["NGN", "GHS"])
|
164
|
+
currency_validator = EnumAttributeValidator.new('String', ["NGN", "GHS", "XOF"])
|
156
165
|
return false unless currency_validator.valid?(@currency)
|
157
166
|
return false if @method.nil?
|
158
167
|
method_validator = EnumAttributeValidator.new('String', ["bank", "mobile"])
|
@@ -163,7 +172,7 @@ class AccountValidationRequest
|
|
163
172
|
# Custom attribute writer method checking allowed values (enum).
|
164
173
|
# @param [Object] country Object to be assigned
|
165
174
|
def country=(country)
|
166
|
-
validator = EnumAttributeValidator.new('String', ["NG", "GH"])
|
175
|
+
validator = EnumAttributeValidator.new('String', ["NG", "GH", "SN", "CI"])
|
167
176
|
unless validator.valid?(country) || country.empty?
|
168
177
|
fail ArgumentError, "invalid value for \"country\", must be one of #{validator.allowable_values}."
|
169
178
|
end
|
@@ -173,7 +182,7 @@ class AccountValidationRequest
|
|
173
182
|
# Custom attribute writer method checking allowed values (enum).
|
174
183
|
# @param [Object] currency Object to be assigned
|
175
184
|
def currency=(currency)
|
176
|
-
validator = EnumAttributeValidator.new('String', ["NGN", "GHS"])
|
185
|
+
validator = EnumAttributeValidator.new('String', ["NGN", "GHS", "XOF"])
|
177
186
|
unless validator.valid?(currency) || currency.empty?
|
178
187
|
fail ArgumentError, "invalid value for \"currency\", must be one of #{validator.allowable_values}."
|
179
188
|
end
|
@@ -197,6 +206,7 @@ class AccountValidationRequest
|
|
197
206
|
self.class == o.class &&
|
198
207
|
bank_account == o.bank_account &&
|
199
208
|
bank_code == o.bank_code &&
|
209
|
+
iban == o.iban &&
|
200
210
|
phone_number == o.phone_number &&
|
201
211
|
mobile_provider == o.mobile_provider &&
|
202
212
|
country == o.country &&
|
@@ -213,7 +223,7 @@ class AccountValidationRequest
|
|
213
223
|
# Calculates hash code according to all attributes.
|
214
224
|
# @return [Integer] Hash code
|
215
225
|
def hash
|
216
|
-
[bank_account, bank_code, phone_number, mobile_provider, country, currency, method].hash
|
226
|
+
[bank_account, bank_code, iban, phone_number, mobile_provider, country, currency, method].hash
|
217
227
|
end
|
218
228
|
|
219
229
|
require 'active_support/core_ext/hash'
|
@@ -15,7 +15,7 @@ require 'date'
|
|
15
15
|
module TransferZero
|
16
16
|
# This describes the specific details on how the payment has to be routed to the recipient.
|
17
17
|
class PayoutMethod
|
18
|
-
# Contains the currency to send the money to, and the type of the money movement Commonly used payout types are: - `NGN::Bank` - for Nigerian bank account payments. - `NGN::Mobile` - for Nigerian mobile money payments. - `GHS::Bank` - for Ghanaian bank account payments. - `GHS::Mobile` - for Ghanaian mobile money payments. - `GHS::Cash` - for Ghanaian cash remittance payments. - `UGX::Mobile` - for Ugandan mobile money payments. - `TZS::Mobile` - for Tanzanian mobile money payments. - `XOF::Mobile` - for mobile money payments to West-Africa. - `XOF::Bank` - for Senegalese bank account payments. - `XOF::Cash` - for Senegalese cash remittance payments. - `MAD::Cash` - for Moroccan cash remittance payments. - `EUR::Bank` - for IBAN bank transfers in EUR. - `GBP::Bank` - for IBAN bank and FP accounts transfers in GBP. - `ZAR::Bank` - for South Africa bank account payments. You can also send funds to the internal balance using `CCY::Balance`, where `CCY` is the appropriate currency. See [Collection from senders](https://docs.transferzero.com/docs/additional-features/#collections-from-senders) for more info on how to collect money into internal balance
|
18
|
+
# Contains the currency to send the money to, and the type of the money movement Commonly used payout types are: - `NGN::Bank` - for Nigerian bank account payments. - `NGN::Mobile` - for Nigerian mobile money payments. - `GHS::Bank` - for Ghanaian bank account payments. - `GHS::Mobile` - for Ghanaian mobile money payments. - `GHS::Cash` - for Ghanaian cash remittance payments. - `UGX::Mobile` - for Ugandan mobile money payments. - `TZS::Mobile` - for Tanzanian mobile money payments. - `XOF::Mobile` - for mobile money payments to West-Africa. - `XOF::Bank` - for Senegalese bank account payments. - `XOF::Cash` - for Senegalese cash remittance payments. - `MAD::Cash` - for Moroccan cash remittance payments. - `EUR::Bank` - for IBAN bank transfers in EUR. - `GBP::Bank` - for IBAN bank and FP accounts transfers in GBP. - `ZAR::Bank` - for South Africa bank account payments. - `USD::Bank` - for USD account payments. *** Currently Nigeria only and in Beta phase *** - `KES::Bank` - for Kenyan bank account payments. - `KES::Mobile` - for Kenyan mobile money payments. You can also send funds to the internal balance using `CCY::Balance`, where `CCY` is the appropriate currency. See [Collection from senders](https://docs.transferzero.com/docs/additional-features/#collections-from-senders) for more info on how to collect money into internal balance
|
19
19
|
attr_accessor :type
|
20
20
|
|
21
21
|
attr_accessor :details
|
@@ -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
|
-
|
21
|
-
|
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
|
-
|
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
|
-
|
27
|
-
|
28
|
-
EU = "EU".freeze
|
242
|
+
UA = "UA".freeze
|
243
|
+
AE = "AE".freeze
|
29
244
|
GB = "GB".freeze
|
30
|
-
|
31
|
-
|
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
|