transferzero-sdk 1.15.1 → 1.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +89 -0
  3. data/README.md +8 -5
  4. data/docs/PayoutMethod.md +1 -1
  5. data/docs/PayoutMethodDetails.md +4 -2
  6. data/docs/PayoutMethodDetailsGNFMobile.md +23 -0
  7. data/docs/PayoutMethodDetailsKESBank.md +3 -1
  8. data/docs/PayoutMethodDetailsKESMobile.md +3 -1
  9. data/docs/PayoutMethodDetailsUSDBank.md +1 -1
  10. data/docs/PayoutMethodDetailsUSDCash.md +23 -0
  11. data/docs/PayoutMethodDetailsXAFMobile.md +25 -0
  12. data/docs/PayoutMethodDetailsXOFBank.md +3 -1
  13. data/docs/PayoutMethodDetailsXOFMobile.md +3 -1
  14. data/docs/PayoutMethodDetailsZARBank.md +2 -0
  15. data/docs/{PayoutMethodCountryEnumUSDBank.md → PayoutMethodTransferReasonEnum.md} +2 -2
  16. data/docs/Recipient.md +2 -0
  17. data/docs/Sender.md +2 -0
  18. data/lib/transferzero-sdk/api_client.rb +1 -1
  19. data/lib/transferzero-sdk/models/payout_method.rb +1 -1
  20. data/lib/transferzero-sdk/models/payout_method_details.rb +14 -7
  21. data/lib/transferzero-sdk/models/payout_method_details_gnf_mobile.rb +250 -0
  22. data/lib/transferzero-sdk/models/payout_method_details_kes_bank.rb +11 -7
  23. data/lib/transferzero-sdk/models/payout_method_details_kes_mobile.rb +11 -7
  24. data/lib/transferzero-sdk/models/payout_method_details_mobile.rb +1 -1
  25. data/lib/transferzero-sdk/models/payout_method_details_usd_bank.rb +2 -2
  26. data/lib/transferzero-sdk/models/payout_method_details_usd_cash.rb +250 -0
  27. data/lib/transferzero-sdk/models/payout_method_details_xaf_mobile.rb +259 -0
  28. data/lib/transferzero-sdk/models/payout_method_details_xof_bank.rb +14 -5
  29. data/lib/transferzero-sdk/models/payout_method_details_xof_mobile.rb +14 -5
  30. data/lib/transferzero-sdk/models/payout_method_details_zar_bank.rb +11 -2
  31. data/lib/transferzero-sdk/models/payout_method_mobile_provider_enum.rb +3 -0
  32. data/lib/transferzero-sdk/models/payout_method_transfer_reason_enum.rb +137 -0
  33. data/lib/transferzero-sdk/models/recipient.rb +45 -1
  34. data/lib/transferzero-sdk/models/sender.rb +11 -1
  35. data/lib/transferzero-sdk/version.rb +1 -1
  36. data/lib/transferzero-sdk.rb +4 -1
  37. data/spec/models/payout_method_details_gnf_mobile_spec.rb +59 -0
  38. data/spec/models/payout_method_details_usd_cash_spec.rb +59 -0
  39. data/spec/models/payout_method_details_xaf_mobile_spec.rb +65 -0
  40. data/spec/models/{payout_method_country_enum_usd_bank_spec.rb → payout_method_transfer_reason_enum_spec.rb} +6 -6
  41. data/transferzero-sdk-1.16.1.gem +0 -0
  42. metadata +21 -7
  43. data/lib/transferzero-sdk/models/payout_method_country_enum_usd_bank.rb +0 -269
@@ -1,269 +0,0 @@
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