transferzero-sdk 1.14.2 → 1.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +89 -0
- data/README.md +7 -5
- data/docs/AccountValidationRequest.md +2 -0
- data/docs/PayoutMethod.md +1 -1
- data/docs/PayoutMethodDetails.md +10 -6
- data/docs/PayoutMethodDetailsKESBank.md +37 -0
- data/docs/PayoutMethodDetailsKESMobile.md +31 -0
- data/docs/PayoutMethodDetailsUSDBank.md +1 -1
- data/docs/PayoutMethodDetailsUSDCash.md +23 -0
- data/docs/PayoutMethodDetailsXOFBank.md +5 -3
- data/docs/Recipient.md +2 -0
- data/lib/transferzero-sdk/api_client.rb +1 -1
- data/lib/transferzero-sdk/models/account_validation_request.rb +13 -3
- data/lib/transferzero-sdk/models/payout_method.rb +1 -1
- data/lib/transferzero-sdk/models/payout_method_details.rb +46 -10
- 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 +2 -2
- data/lib/transferzero-sdk/models/payout_method_details_usd_cash.rb +250 -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 +1 -1
- data/lib/transferzero-sdk/models/payout_method_mobile_provider_enum.rb +3 -0
- data/lib/transferzero-sdk/models/recipient.rb +45 -1
- data/lib/transferzero-sdk/version.rb +1 -1
- data/lib/transferzero-sdk.rb +3 -1
- 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_cash_spec.rb +59 -0
- metadata +25 -16
- data/docs/PayoutMethodCountryEnumUSDBank.md +0 -16
- data/lib/transferzero-sdk/models/payout_method_country_enum_usd_bank.rb +0 -269
- data/spec/models/payout_method_country_enum_usd_bank_spec.rb +0 -35
@@ -0,0 +1,59 @@
|
|
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 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for TransferZero::PayoutMethodDetailsUSDCash
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'PayoutMethodDetailsUSDCash' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = TransferZero::PayoutMethodDetailsUSDCash.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of PayoutMethodDetailsUSDCash' do
|
31
|
+
it 'should create an instance of PayoutMethodDetailsUSDCash' do
|
32
|
+
expect(@instance).to be_instance_of(TransferZero::PayoutMethodDetailsUSDCash)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "first_name"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "last_name"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "phone_number"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "country"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: transferzero-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.16.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TransferZero
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -62,22 +62,22 @@ dependencies:
|
|
62
62
|
name: rspec
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
|
-
- - ">="
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: 3.6.0
|
68
65
|
- - "~>"
|
69
66
|
- !ruby/object:Gem::Version
|
70
67
|
version: '3.6'
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 3.6.0
|
71
71
|
type: :development
|
72
72
|
prerelease: false
|
73
73
|
version_requirements: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
|
-
- - ">="
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: 3.6.0
|
78
75
|
- - "~>"
|
79
76
|
- !ruby/object:Gem::Version
|
80
77
|
version: '3.6'
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: 3.6.0
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: vcr
|
83
83
|
requirement: !ruby/object:Gem::Requirement
|
@@ -206,6 +206,7 @@ extensions: []
|
|
206
206
|
extra_rdoc_files: []
|
207
207
|
files:
|
208
208
|
- Gemfile
|
209
|
+
- Gemfile.lock
|
209
210
|
- LICENSE
|
210
211
|
- README.md
|
211
212
|
- Rakefile
|
@@ -263,7 +264,6 @@ files:
|
|
263
264
|
- docs/PayoutMethodBankAccountTypeEnum.md
|
264
265
|
- docs/PayoutMethodCashProviderEnum.md
|
265
266
|
- docs/PayoutMethodCountryEnum.md
|
266
|
-
- docs/PayoutMethodCountryEnumUSDBank.md
|
267
267
|
- docs/PayoutMethodDetails.md
|
268
268
|
- docs/PayoutMethodDetailsBTC.md
|
269
269
|
- docs/PayoutMethodDetailsBalance.md
|
@@ -271,10 +271,13 @@ files:
|
|
271
271
|
- docs/PayoutMethodDetailsGHSBank.md
|
272
272
|
- docs/PayoutMethodDetailsGHSCash.md
|
273
273
|
- docs/PayoutMethodDetailsIBAN.md
|
274
|
+
- docs/PayoutMethodDetailsKESBank.md
|
275
|
+
- docs/PayoutMethodDetailsKESMobile.md
|
274
276
|
- docs/PayoutMethodDetailsMADCash.md
|
275
277
|
- docs/PayoutMethodDetailsMobile.md
|
276
278
|
- docs/PayoutMethodDetailsNGNBank.md
|
277
279
|
- docs/PayoutMethodDetailsUSDBank.md
|
280
|
+
- docs/PayoutMethodDetailsUSDCash.md
|
278
281
|
- docs/PayoutMethodDetailsXOFBank.md
|
279
282
|
- docs/PayoutMethodDetailsXOFCash.md
|
280
283
|
- docs/PayoutMethodDetailsXOFMobile.md
|
@@ -398,7 +401,6 @@ files:
|
|
398
401
|
- lib/transferzero-sdk/models/payout_method_bank_account_type_enum.rb
|
399
402
|
- lib/transferzero-sdk/models/payout_method_cash_provider_enum.rb
|
400
403
|
- lib/transferzero-sdk/models/payout_method_country_enum.rb
|
401
|
-
- lib/transferzero-sdk/models/payout_method_country_enum_usd_bank.rb
|
402
404
|
- lib/transferzero-sdk/models/payout_method_details.rb
|
403
405
|
- lib/transferzero-sdk/models/payout_method_details_balance.rb
|
404
406
|
- lib/transferzero-sdk/models/payout_method_details_btc.rb
|
@@ -406,10 +408,13 @@ files:
|
|
406
408
|
- lib/transferzero-sdk/models/payout_method_details_ghs_bank.rb
|
407
409
|
- lib/transferzero-sdk/models/payout_method_details_ghs_cash.rb
|
408
410
|
- lib/transferzero-sdk/models/payout_method_details_iban.rb
|
411
|
+
- lib/transferzero-sdk/models/payout_method_details_kes_bank.rb
|
412
|
+
- lib/transferzero-sdk/models/payout_method_details_kes_mobile.rb
|
409
413
|
- lib/transferzero-sdk/models/payout_method_details_mad_cash.rb
|
410
414
|
- lib/transferzero-sdk/models/payout_method_details_mobile.rb
|
411
415
|
- lib/transferzero-sdk/models/payout_method_details_ngn_bank.rb
|
412
416
|
- lib/transferzero-sdk/models/payout_method_details_usd_bank.rb
|
417
|
+
- lib/transferzero-sdk/models/payout_method_details_usd_cash.rb
|
413
418
|
- lib/transferzero-sdk/models/payout_method_details_xof_bank.rb
|
414
419
|
- lib/transferzero-sdk/models/payout_method_details_xof_cash.rb
|
415
420
|
- lib/transferzero-sdk/models/payout_method_details_xof_mobile.rb
|
@@ -523,18 +528,20 @@ files:
|
|
523
528
|
- spec/models/payout_method_bank_account_type_enum_spec.rb
|
524
529
|
- spec/models/payout_method_cash_provider_enum_spec.rb
|
525
530
|
- spec/models/payout_method_country_enum_spec.rb
|
526
|
-
- spec/models/payout_method_country_enum_usd_bank_spec.rb
|
527
531
|
- spec/models/payout_method_details_balance_spec.rb
|
528
532
|
- spec/models/payout_method_details_btc_spec.rb
|
529
533
|
- spec/models/payout_method_details_gbp_bank_spec.rb
|
530
534
|
- spec/models/payout_method_details_ghs_bank_spec.rb
|
531
535
|
- spec/models/payout_method_details_ghs_cash_spec.rb
|
532
536
|
- spec/models/payout_method_details_iban_spec.rb
|
537
|
+
- spec/models/payout_method_details_kes_bank_spec.rb
|
538
|
+
- spec/models/payout_method_details_kes_mobile_spec.rb
|
533
539
|
- spec/models/payout_method_details_mad_cash_spec.rb
|
534
540
|
- spec/models/payout_method_details_mobile_spec.rb
|
535
541
|
- spec/models/payout_method_details_ngn_bank_spec.rb
|
536
542
|
- spec/models/payout_method_details_spec.rb
|
537
543
|
- spec/models/payout_method_details_usd_bank_spec.rb
|
544
|
+
- spec/models/payout_method_details_usd_cash_spec.rb
|
538
545
|
- spec/models/payout_method_details_xof_bank_spec.rb
|
539
546
|
- spec/models/payout_method_details_xof_cash_spec.rb
|
540
547
|
- spec/models/payout_method_details_xof_mobile_spec.rb
|
@@ -595,7 +602,7 @@ homepage: https://github.com/transferzero/transferzero-sdk-ruby
|
|
595
602
|
licenses:
|
596
603
|
- MIT
|
597
604
|
metadata: {}
|
598
|
-
post_install_message:
|
605
|
+
post_install_message:
|
599
606
|
rdoc_options: []
|
600
607
|
require_paths:
|
601
608
|
- lib
|
@@ -610,8 +617,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
610
617
|
- !ruby/object:Gem::Version
|
611
618
|
version: '0'
|
612
619
|
requirements: []
|
613
|
-
rubygems_version: 3.
|
614
|
-
signing_key:
|
620
|
+
rubygems_version: 3.1.4
|
621
|
+
signing_key:
|
615
622
|
specification_version: 4
|
616
623
|
summary: TransferZero API Ruby Gem
|
617
624
|
test_files:
|
@@ -651,6 +658,7 @@ test_files:
|
|
651
658
|
- spec/models/webhook_definition_request_spec.rb
|
652
659
|
- spec/models/sender_state_spec.rb
|
653
660
|
- spec/models/payout_method_request_spec.rb
|
661
|
+
- spec/models/payout_method_details_kes_mobile_spec.rb
|
654
662
|
- spec/models/payout_method_details_gbp_bank_spec.rb
|
655
663
|
- spec/models/webhook_log_metadata_request_spec.rb
|
656
664
|
- spec/models/recipient_webhook_spec.rb
|
@@ -669,7 +677,6 @@ test_files:
|
|
669
677
|
- spec/models/payin_method_details_mobile_spec.rb
|
670
678
|
- spec/models/payout_method_details_mad_cash_spec.rb
|
671
679
|
- spec/models/account_validation_response_spec.rb
|
672
|
-
- spec/models/payout_method_country_enum_usd_bank_spec.rb
|
673
680
|
- spec/models/payout_method_details_btc_spec.rb
|
674
681
|
- spec/models/api_log_spec.rb
|
675
682
|
- spec/models/document_response_spec.rb
|
@@ -685,6 +692,7 @@ test_files:
|
|
685
692
|
- spec/models/transaction_spec.rb
|
686
693
|
- spec/models/field_select_validation_spec.rb
|
687
694
|
- spec/models/account_meta_spec.rb
|
695
|
+
- spec/models/payout_method_details_kes_bank_spec.rb
|
688
696
|
- spec/models/account_validation_request_spec.rb
|
689
697
|
- spec/models/sender_response_existing_spec.rb
|
690
698
|
- spec/models/sender_request_spec.rb
|
@@ -724,6 +732,7 @@ test_files:
|
|
724
732
|
- spec/models/payment_method_list_response_spec.rb
|
725
733
|
- spec/models/recipient_state_spec.rb
|
726
734
|
- spec/models/field_validation_spec.rb
|
735
|
+
- spec/models/payout_method_details_usd_cash_spec.rb
|
727
736
|
- spec/models/payout_method_list_response_spec.rb
|
728
737
|
- spec/models/error_status_spec.rb
|
729
738
|
- spec/models/payout_method_mobile_provider_enum_spec.rb
|
@@ -1,16 +0,0 @@
|
|
1
|
-
# TransferZero::PayoutMethodCountryEnumUSDBank
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
|
8
|
-
## Code Sample
|
9
|
-
|
10
|
-
```ruby
|
11
|
-
require 'TransferZero'
|
12
|
-
|
13
|
-
instance = TransferZero::PayoutMethodCountryEnumUSDBank.new()
|
14
|
-
```
|
15
|
-
|
16
|
-
|
@@ -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
|
@@ -1,35 +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 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for TransferZero::PayoutMethodCountryEnumUSDBank
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'PayoutMethodCountryEnumUSDBank' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = TransferZero::PayoutMethodCountryEnumUSDBank.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of PayoutMethodCountryEnumUSDBank' do
|
31
|
-
it 'should create an instance of PayoutMethodCountryEnumUSDBank' do
|
32
|
-
expect(@instance).to be_instance_of(TransferZero::PayoutMethodCountryEnumUSDBank)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|