transferzero-sdk 1.25.0 → 1.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +88 -0
- data/README.md +6 -4
- data/docs/PayoutMethod.md +1 -1
- data/docs/PayoutMethodDetails.md +5 -3
- data/docs/PayoutMethodDetailsCADBank.md +25 -0
- data/docs/PayoutMethodDetailsUGXBank.md +33 -0
- data/docs/PayoutMethodDetailsUSDBank.md +10 -2
- data/lib/transferzero-sdk/api_client.rb +1 -1
- data/lib/transferzero-sdk/models/payout_method.rb +1 -1
- data/lib/transferzero-sdk/models/payout_method_details.rb +24 -13
- data/lib/transferzero-sdk/models/payout_method_details_cad_bank.rb +264 -0
- data/lib/transferzero-sdk/models/payout_method_details_ugx_bank.rb +320 -0
- data/lib/transferzero-sdk/models/payout_method_details_usd_bank.rb +38 -12
- data/lib/transferzero-sdk/models/payout_method_identity_card_type_enum.rb +2 -0
- data/lib/transferzero-sdk/version.rb +1 -1
- data/lib/transferzero-sdk.rb +2 -0
- data/spec/models/payout_method_details_cad_bank_spec.rb +65 -0
- data/spec/models/payout_method_details_ugx_bank_spec.rb +89 -0
- metadata +12 -3
data/lib/transferzero-sdk.rb
CHANGED
@@ -71,6 +71,7 @@ require 'transferzero-sdk/models/payout_method_details_brl_bank'
|
|
71
71
|
require 'transferzero-sdk/models/payout_method_details_btc'
|
72
72
|
require 'transferzero-sdk/models/payout_method_details_bwp_bank'
|
73
73
|
require 'transferzero-sdk/models/payout_method_details_balance'
|
74
|
+
require 'transferzero-sdk/models/payout_method_details_cad_bank'
|
74
75
|
require 'transferzero-sdk/models/payout_method_details_gbp_bank'
|
75
76
|
require 'transferzero-sdk/models/payout_method_details_ghs_bank'
|
76
77
|
require 'transferzero-sdk/models/payout_method_details_ghs_cash'
|
@@ -83,6 +84,7 @@ require 'transferzero-sdk/models/payout_method_details_mad_cash'
|
|
83
84
|
require 'transferzero-sdk/models/payout_method_details_mobile'
|
84
85
|
require 'transferzero-sdk/models/payout_method_details_ngn_bank'
|
85
86
|
require 'transferzero-sdk/models/payout_method_details_nzd_bank'
|
87
|
+
require 'transferzero-sdk/models/payout_method_details_ugx_bank'
|
86
88
|
require 'transferzero-sdk/models/payout_method_details_usd_bank'
|
87
89
|
require 'transferzero-sdk/models/payout_method_details_usd_cash'
|
88
90
|
require 'transferzero-sdk/models/payout_method_details_xaf_bank'
|
@@ -0,0 +1,65 @@
|
|
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::PayoutMethodDetailsCADBank
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'PayoutMethodDetailsCADBank' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = TransferZero::PayoutMethodDetailsCADBank.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of PayoutMethodDetailsCADBank' do
|
31
|
+
it 'should create an instance of PayoutMethodDetailsCADBank' do
|
32
|
+
expect(@instance).to be_instance_of(TransferZero::PayoutMethodDetailsCADBank)
|
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 "bank_account"' 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 "bank_code"' 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
|
+
describe 'test attribute "branch_code"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
@@ -0,0 +1,89 @@
|
|
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::PayoutMethodDetailsUGXBank
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'PayoutMethodDetailsUGXBank' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = TransferZero::PayoutMethodDetailsUGXBank.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of PayoutMethodDetailsUGXBank' do
|
31
|
+
it 'should create an instance of PayoutMethodDetailsUGXBank' do
|
32
|
+
expect(@instance).to be_instance_of(TransferZero::PayoutMethodDetailsUGXBank)
|
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 "street"' 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 "city"' 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
|
+
describe 'test attribute "postal_code"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "identity_card_id"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "bank_account"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
describe 'test attribute "branch_code"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "transfer_reason"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
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.27.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TransferZero
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -92,6 +92,7 @@ extensions: []
|
|
92
92
|
extra_rdoc_files: []
|
93
93
|
files:
|
94
94
|
- Gemfile
|
95
|
+
- Gemfile.lock
|
95
96
|
- LICENSE
|
96
97
|
- README.md
|
97
98
|
- Rakefile
|
@@ -158,6 +159,7 @@ files:
|
|
158
159
|
- docs/PayoutMethodDetailsBTC.md
|
159
160
|
- docs/PayoutMethodDetailsBWPBank.md
|
160
161
|
- docs/PayoutMethodDetailsBalance.md
|
162
|
+
- docs/PayoutMethodDetailsCADBank.md
|
161
163
|
- docs/PayoutMethodDetailsGBPBank.md
|
162
164
|
- docs/PayoutMethodDetailsGHSBank.md
|
163
165
|
- docs/PayoutMethodDetailsGHSCash.md
|
@@ -170,6 +172,7 @@ files:
|
|
170
172
|
- docs/PayoutMethodDetailsMobile.md
|
171
173
|
- docs/PayoutMethodDetailsNGNBank.md
|
172
174
|
- docs/PayoutMethodDetailsNZDBank.md
|
175
|
+
- docs/PayoutMethodDetailsUGXBank.md
|
173
176
|
- docs/PayoutMethodDetailsUSDBank.md
|
174
177
|
- docs/PayoutMethodDetailsUSDCash.md
|
175
178
|
- docs/PayoutMethodDetailsXAFBank.md
|
@@ -310,6 +313,7 @@ files:
|
|
310
313
|
- lib/transferzero-sdk/models/payout_method_details_brl_bank.rb
|
311
314
|
- lib/transferzero-sdk/models/payout_method_details_btc.rb
|
312
315
|
- lib/transferzero-sdk/models/payout_method_details_bwp_bank.rb
|
316
|
+
- lib/transferzero-sdk/models/payout_method_details_cad_bank.rb
|
313
317
|
- lib/transferzero-sdk/models/payout_method_details_gbp_bank.rb
|
314
318
|
- lib/transferzero-sdk/models/payout_method_details_ghs_bank.rb
|
315
319
|
- lib/transferzero-sdk/models/payout_method_details_ghs_cash.rb
|
@@ -322,6 +326,7 @@ files:
|
|
322
326
|
- lib/transferzero-sdk/models/payout_method_details_mobile.rb
|
323
327
|
- lib/transferzero-sdk/models/payout_method_details_ngn_bank.rb
|
324
328
|
- lib/transferzero-sdk/models/payout_method_details_nzd_bank.rb
|
329
|
+
- lib/transferzero-sdk/models/payout_method_details_ugx_bank.rb
|
325
330
|
- lib/transferzero-sdk/models/payout_method_details_usd_bank.rb
|
326
331
|
- lib/transferzero-sdk/models/payout_method_details_usd_cash.rb
|
327
332
|
- lib/transferzero-sdk/models/payout_method_details_xaf_bank.rb
|
@@ -451,6 +456,7 @@ files:
|
|
451
456
|
- spec/models/payout_method_details_brl_bank_spec.rb
|
452
457
|
- spec/models/payout_method_details_btc_spec.rb
|
453
458
|
- spec/models/payout_method_details_bwp_bank_spec.rb
|
459
|
+
- spec/models/payout_method_details_cad_bank_spec.rb
|
454
460
|
- spec/models/payout_method_details_gbp_bank_spec.rb
|
455
461
|
- spec/models/payout_method_details_ghs_bank_spec.rb
|
456
462
|
- spec/models/payout_method_details_ghs_cash_spec.rb
|
@@ -464,6 +470,7 @@ files:
|
|
464
470
|
- spec/models/payout_method_details_ngn_bank_spec.rb
|
465
471
|
- spec/models/payout_method_details_nzd_bank_spec.rb
|
466
472
|
- spec/models/payout_method_details_spec.rb
|
473
|
+
- spec/models/payout_method_details_ugx_bank_spec.rb
|
467
474
|
- spec/models/payout_method_details_usd_bank_spec.rb
|
468
475
|
- spec/models/payout_method_details_usd_cash_spec.rb
|
469
476
|
- spec/models/payout_method_details_xaf_bank_spec.rb
|
@@ -547,7 +554,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
547
554
|
- !ruby/object:Gem::Version
|
548
555
|
version: '0'
|
549
556
|
requirements: []
|
550
|
-
rubygems_version: 3.
|
557
|
+
rubygems_version: 3.4.6
|
551
558
|
signing_key:
|
552
559
|
specification_version: 4
|
553
560
|
summary: TransferZero API Ruby Gem
|
@@ -568,6 +575,7 @@ test_files:
|
|
568
575
|
- spec/api/account_debits_api_spec.rb
|
569
576
|
- spec/configuration_spec.rb
|
570
577
|
- spec/models/webhook_definition_response_spec.rb
|
578
|
+
- spec/models/payout_method_details_cad_bank_spec.rb
|
571
579
|
- spec/models/payout_method_details_xof_cash_spec.rb
|
572
580
|
- spec/models/payout_method_details_nzd_bank_spec.rb
|
573
581
|
- spec/models/sender_spec.rb
|
@@ -627,6 +635,7 @@ test_files:
|
|
627
635
|
- spec/models/webhook_log_metadata_spec.rb
|
628
636
|
- spec/models/account_list_response_spec.rb
|
629
637
|
- spec/models/document_list_response_spec.rb
|
638
|
+
- spec/models/payout_method_details_ugx_bank_spec.rb
|
630
639
|
- spec/models/transaction_spec.rb
|
631
640
|
- spec/models/payin_method_ux_flow_spec.rb
|
632
641
|
- spec/models/field_select_validation_spec.rb
|