transferzero-sdk 1.23.5 → 1.25.0

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 +8 -4
  3. data/docs/PayoutMethod.md +1 -1
  4. data/docs/PayoutMethodDetails.md +4 -2
  5. data/docs/PayoutMethodDetailsBRLBank.md +4 -0
  6. data/docs/PayoutMethodDetailsBWPBank.md +25 -0
  7. data/docs/PayoutMethodDetailsINRBank.md +33 -0
  8. data/docs/PayoutMethodDetailsNZDBank.md +23 -0
  9. data/docs/PayoutMethodDetailsZMWBank.md +23 -0
  10. data/docs/Sender.md +1 -3
  11. data/lib/transferzero-sdk/api_client.rb +1 -1
  12. data/lib/transferzero-sdk/models/payout_method.rb +1 -1
  13. data/lib/transferzero-sdk/models/payout_method_country_enum.rb +1 -0
  14. data/lib/transferzero-sdk/models/payout_method_details.rb +28 -5
  15. data/lib/transferzero-sdk/models/payout_method_details_brl_bank.rb +30 -2
  16. data/lib/transferzero-sdk/models/payout_method_details_bwp_bank.rb +264 -0
  17. data/lib/transferzero-sdk/models/payout_method_details_inr_bank.rb +320 -0
  18. data/lib/transferzero-sdk/models/payout_method_details_nzd_bank.rb +250 -0
  19. data/lib/transferzero-sdk/models/payout_method_details_zmw_bank.rb +250 -0
  20. data/lib/transferzero-sdk/models/sender.rb +2 -12
  21. data/lib/transferzero-sdk/version.rb +1 -1
  22. data/lib/transferzero-sdk.rb +4 -0
  23. data/spec/models/payout_method_details_bwp_bank_spec.rb +65 -0
  24. data/spec/models/payout_method_details_inr_bank_spec.rb +89 -0
  25. data/spec/models/payout_method_details_nzd_bank_spec.rb +59 -0
  26. data/spec/models/payout_method_details_zmw_bank_spec.rb +59 -0
  27. metadata +18 -13
  28. data/Gemfile.lock +0 -92
  29. data/transferzero-sdk-1.19.0.gem +0 -0
  30. data/transferzero-sdk-1.19.2.gem +0 -0
  31. data/transferzero-sdk-1.19.3.gem +0 -0
  32. data/transferzero-sdk-1.19.4.gem +0 -0
  33. data/transferzero-sdk-1.19.5.gem +0 -0
  34. data/transferzero-sdk-1.20.1.gem +0 -0
  35. data/transferzero-sdk-1.21.0.gem +0 -0
  36. data/transferzero-sdk-1.22.0.gem +0 -0
  37. data/transferzero-sdk-1.23.0.gem +0 -0
  38. data/transferzero-sdk-1.23.3.gem +0 -0
@@ -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::PayoutMethodDetailsINRBank
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PayoutMethodDetailsINRBank' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::PayoutMethodDetailsINRBank.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PayoutMethodDetailsINRBank' do
31
+ it 'should create an instance of PayoutMethodDetailsINRBank' do
32
+ expect(@instance).to be_instance_of(TransferZero::PayoutMethodDetailsINRBank)
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 "city"' 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 "street"' 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 "phone_number"' 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_name"' 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 "bank_account"' 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 "ifsc_code"' 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
@@ -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::PayoutMethodDetailsNZDBank
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PayoutMethodDetailsNZDBank' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::PayoutMethodDetailsNZDBank.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PayoutMethodDetailsNZDBank' do
31
+ it 'should create an instance of PayoutMethodDetailsNZDBank' do
32
+ expect(@instance).to be_instance_of(TransferZero::PayoutMethodDetailsNZDBank)
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_name"' 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
@@ -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::PayoutMethodDetailsZMWBank
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PayoutMethodDetailsZMWBank' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::PayoutMethodDetailsZMWBank.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PayoutMethodDetailsZMWBank' do
31
+ it 'should create an instance of PayoutMethodDetailsZMWBank' do
32
+ expect(@instance).to be_instance_of(TransferZero::PayoutMethodDetailsZMWBank)
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 "branch_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
+ 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.23.5
4
+ version: 1.25.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-01-19 00:00:00.000000000 Z
11
+ date: 2023-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -92,7 +92,6 @@ extensions: []
92
92
  extra_rdoc_files: []
93
93
  files:
94
94
  - Gemfile
95
- - Gemfile.lock
96
95
  - LICENSE
97
96
  - README.md
98
97
  - Rakefile
@@ -157,17 +156,20 @@ files:
157
156
  - docs/PayoutMethodDetails.md
158
157
  - docs/PayoutMethodDetailsBRLBank.md
159
158
  - docs/PayoutMethodDetailsBTC.md
159
+ - docs/PayoutMethodDetailsBWPBank.md
160
160
  - docs/PayoutMethodDetailsBalance.md
161
161
  - docs/PayoutMethodDetailsGBPBank.md
162
162
  - docs/PayoutMethodDetailsGHSBank.md
163
163
  - docs/PayoutMethodDetailsGHSCash.md
164
164
  - docs/PayoutMethodDetailsGNFMobile.md
165
165
  - docs/PayoutMethodDetailsIBAN.md
166
+ - docs/PayoutMethodDetailsINRBank.md
166
167
  - docs/PayoutMethodDetailsKESBank.md
167
168
  - docs/PayoutMethodDetailsKESMobile.md
168
169
  - docs/PayoutMethodDetailsMADCash.md
169
170
  - docs/PayoutMethodDetailsMobile.md
170
171
  - docs/PayoutMethodDetailsNGNBank.md
172
+ - docs/PayoutMethodDetailsNZDBank.md
171
173
  - docs/PayoutMethodDetailsUSDBank.md
172
174
  - docs/PayoutMethodDetailsUSDCash.md
173
175
  - docs/PayoutMethodDetailsXAFBank.md
@@ -176,6 +178,7 @@ files:
176
178
  - docs/PayoutMethodDetailsXOFCash.md
177
179
  - docs/PayoutMethodDetailsXOFMobile.md
178
180
  - docs/PayoutMethodDetailsZARBank.md
181
+ - docs/PayoutMethodDetailsZMWBank.md
179
182
  - docs/PayoutMethodGenderEnum.md
180
183
  - docs/PayoutMethodIdentityCardTypeEnum.md
181
184
  - docs/PayoutMethodLegalEntityTypeEnum.md
@@ -306,16 +309,19 @@ files:
306
309
  - lib/transferzero-sdk/models/payout_method_details_balance.rb
307
310
  - lib/transferzero-sdk/models/payout_method_details_brl_bank.rb
308
311
  - lib/transferzero-sdk/models/payout_method_details_btc.rb
312
+ - lib/transferzero-sdk/models/payout_method_details_bwp_bank.rb
309
313
  - lib/transferzero-sdk/models/payout_method_details_gbp_bank.rb
310
314
  - lib/transferzero-sdk/models/payout_method_details_ghs_bank.rb
311
315
  - lib/transferzero-sdk/models/payout_method_details_ghs_cash.rb
312
316
  - lib/transferzero-sdk/models/payout_method_details_gnf_mobile.rb
313
317
  - lib/transferzero-sdk/models/payout_method_details_iban.rb
318
+ - lib/transferzero-sdk/models/payout_method_details_inr_bank.rb
314
319
  - lib/transferzero-sdk/models/payout_method_details_kes_bank.rb
315
320
  - lib/transferzero-sdk/models/payout_method_details_kes_mobile.rb
316
321
  - lib/transferzero-sdk/models/payout_method_details_mad_cash.rb
317
322
  - lib/transferzero-sdk/models/payout_method_details_mobile.rb
318
323
  - lib/transferzero-sdk/models/payout_method_details_ngn_bank.rb
324
+ - lib/transferzero-sdk/models/payout_method_details_nzd_bank.rb
319
325
  - lib/transferzero-sdk/models/payout_method_details_usd_bank.rb
320
326
  - lib/transferzero-sdk/models/payout_method_details_usd_cash.rb
321
327
  - lib/transferzero-sdk/models/payout_method_details_xaf_bank.rb
@@ -324,6 +330,7 @@ files:
324
330
  - lib/transferzero-sdk/models/payout_method_details_xof_cash.rb
325
331
  - lib/transferzero-sdk/models/payout_method_details_xof_mobile.rb
326
332
  - lib/transferzero-sdk/models/payout_method_details_zar_bank.rb
333
+ - lib/transferzero-sdk/models/payout_method_details_zmw_bank.rb
327
334
  - lib/transferzero-sdk/models/payout_method_gender_enum.rb
328
335
  - lib/transferzero-sdk/models/payout_method_identity_card_type_enum.rb
329
336
  - lib/transferzero-sdk/models/payout_method_legal_entity_type_enum.rb
@@ -443,16 +450,19 @@ files:
443
450
  - spec/models/payout_method_details_balance_spec.rb
444
451
  - spec/models/payout_method_details_brl_bank_spec.rb
445
452
  - spec/models/payout_method_details_btc_spec.rb
453
+ - spec/models/payout_method_details_bwp_bank_spec.rb
446
454
  - spec/models/payout_method_details_gbp_bank_spec.rb
447
455
  - spec/models/payout_method_details_ghs_bank_spec.rb
448
456
  - spec/models/payout_method_details_ghs_cash_spec.rb
449
457
  - spec/models/payout_method_details_gnf_mobile_spec.rb
450
458
  - spec/models/payout_method_details_iban_spec.rb
459
+ - spec/models/payout_method_details_inr_bank_spec.rb
451
460
  - spec/models/payout_method_details_kes_bank_spec.rb
452
461
  - spec/models/payout_method_details_kes_mobile_spec.rb
453
462
  - spec/models/payout_method_details_mad_cash_spec.rb
454
463
  - spec/models/payout_method_details_mobile_spec.rb
455
464
  - spec/models/payout_method_details_ngn_bank_spec.rb
465
+ - spec/models/payout_method_details_nzd_bank_spec.rb
456
466
  - spec/models/payout_method_details_spec.rb
457
467
  - spec/models/payout_method_details_usd_bank_spec.rb
458
468
  - spec/models/payout_method_details_usd_cash_spec.rb
@@ -462,6 +472,7 @@ files:
462
472
  - spec/models/payout_method_details_xof_cash_spec.rb
463
473
  - spec/models/payout_method_details_xof_mobile_spec.rb
464
474
  - spec/models/payout_method_details_zar_bank_spec.rb
475
+ - spec/models/payout_method_details_zmw_bank_spec.rb
465
476
  - spec/models/payout_method_gender_enum_spec.rb
466
477
  - spec/models/payout_method_identity_card_type_enum_spec.rb
467
478
  - spec/models/payout_method_legal_entity_type_enum_spec.rb
@@ -516,16 +527,6 @@ files:
516
527
  - spec/models/webhook_log_spec.rb
517
528
  - spec/models/webhook_spec.rb
518
529
  - spec/spec_helper.rb
519
- - transferzero-sdk-1.19.0.gem
520
- - transferzero-sdk-1.19.2.gem
521
- - transferzero-sdk-1.19.3.gem
522
- - transferzero-sdk-1.19.4.gem
523
- - transferzero-sdk-1.19.5.gem
524
- - transferzero-sdk-1.20.1.gem
525
- - transferzero-sdk-1.21.0.gem
526
- - transferzero-sdk-1.22.0.gem
527
- - transferzero-sdk-1.23.0.gem
528
- - transferzero-sdk-1.23.3.gem
529
530
  - transferzero-sdk.gemspec
530
531
  homepage: https://github.com/transferzero/transferzero-sdk-ruby
531
532
  licenses:
@@ -568,6 +569,7 @@ test_files:
568
569
  - spec/configuration_spec.rb
569
570
  - spec/models/webhook_definition_response_spec.rb
570
571
  - spec/models/payout_method_details_xof_cash_spec.rb
572
+ - spec/models/payout_method_details_nzd_bank_spec.rb
571
573
  - spec/models/sender_spec.rb
572
574
  - spec/models/currency_opposite_spec.rb
573
575
  - spec/models/payout_method_details_iban_spec.rb
@@ -601,10 +603,12 @@ test_files:
601
603
  - spec/models/document_webhook_spec.rb
602
604
  - spec/models/payout_method_details_zar_bank_spec.rb
603
605
  - spec/models/payout_method_gender_enum_spec.rb
606
+ - spec/models/payout_method_details_inr_bank_spec.rb
604
607
  - spec/models/payout_method_legal_entity_type_enum_spec.rb
605
608
  - spec/models/transaction_list_response_spec.rb
606
609
  - spec/models/payin_method_spec.rb
607
610
  - spec/models/sender_response_spec.rb
611
+ - spec/models/payout_method_details_bwp_bank_spec.rb
608
612
  - spec/models/payin_method_details_mobile_spec.rb
609
613
  - spec/models/payout_method_details_mad_cash_spec.rb
610
614
  - spec/models/account_validation_response_spec.rb
@@ -616,6 +620,7 @@ test_files:
616
620
  - spec/models/payout_method_details_brl_bank_spec.rb
617
621
  - spec/models/validation_error_description_spec.rb
618
622
  - spec/models/payin_method_request_spec.rb
623
+ - spec/models/payout_method_details_zmw_bank_spec.rb
619
624
  - spec/models/proof_of_payment_list_response_spec.rb
620
625
  - spec/models/transaction_webhook_spec.rb
621
626
  - spec/models/payout_method_details_xof_bank_spec.rb
data/Gemfile.lock DELETED
@@ -1,92 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- transferzero-sdk (1.11.0)
5
- activesupport (>= 4)
6
- json (>= 1.4)
7
- typhoeus (~> 1.0, >= 1.0.1)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- ZenTest (4.12.0)
13
- activesupport (6.1.3)
14
- concurrent-ruby (~> 1.0, >= 1.0.2)
15
- i18n (>= 1.6, < 2)
16
- minitest (>= 5.1)
17
- tzinfo (~> 2.0)
18
- zeitwerk (~> 2.3)
19
- addressable (2.7.0)
20
- public_suffix (>= 2.0.2, < 5.0)
21
- autotest (4.4.6)
22
- ZenTest (>= 4.4.1)
23
- autotest-fsevent (0.2.17)
24
- sys-uname
25
- autotest-growl (0.2.16)
26
- autotest-rails-pure (4.1.2)
27
- byebug (11.1.3)
28
- coderay (1.1.3)
29
- concurrent-ruby (1.1.8)
30
- crack (0.4.4)
31
- diff-lcs (1.4.4)
32
- ethon (0.12.0)
33
- ffi (>= 1.3.0)
34
- ffi (1.13.1)
35
- hashdiff (1.0.1)
36
- i18n (1.8.9)
37
- concurrent-ruby (~> 1.0)
38
- json (2.5.1)
39
- method_source (1.0.0)
40
- minitest (5.14.3)
41
- pry (0.13.1)
42
- coderay (~> 1.1)
43
- method_source (~> 1.0)
44
- pry-byebug (3.9.0)
45
- byebug (~> 11.0)
46
- pry (~> 0.13.0)
47
- public_suffix (4.0.6)
48
- rake (12.0.0)
49
- rspec (3.10.0)
50
- rspec-core (~> 3.10.0)
51
- rspec-expectations (~> 3.10.0)
52
- rspec-mocks (~> 3.10.0)
53
- rspec-core (3.10.0)
54
- rspec-support (~> 3.10.0)
55
- rspec-expectations (3.10.0)
56
- diff-lcs (>= 1.2.0, < 2.0)
57
- rspec-support (~> 3.10.0)
58
- rspec-mocks (3.10.0)
59
- diff-lcs (>= 1.2.0, < 2.0)
60
- rspec-support (~> 3.10.0)
61
- rspec-support (3.10.0)
62
- sys-uname (1.2.2)
63
- ffi (~> 1.1)
64
- typhoeus (1.4.0)
65
- ethon (>= 0.9.0)
66
- tzinfo (2.0.4)
67
- concurrent-ruby (~> 1.0)
68
- vcr (3.0.3)
69
- webmock (1.24.6)
70
- addressable (>= 2.3.6)
71
- crack (>= 0.3.2)
72
- hashdiff
73
- zeitwerk (2.4.2)
74
-
75
- PLATFORMS
76
- ruby
77
-
78
- DEPENDENCIES
79
- ZenTest (~> 4.11, >= 4.11.2)
80
- autotest (~> 4.4, >= 4.4.6)
81
- autotest-fsevent (~> 0.2, >= 0.2.12)
82
- autotest-growl (~> 0.2, >= 0.2.16)
83
- autotest-rails-pure (~> 4.1, >= 4.1.2)
84
- pry-byebug
85
- rake (~> 12.0.0)
86
- rspec (~> 3.6, >= 3.6.0)
87
- transferzero-sdk!
88
- vcr (~> 3.0, >= 3.0.1)
89
- webmock (~> 1.24, >= 1.24.3)
90
-
91
- BUNDLED WITH
92
- 1.17.3
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file