transferzero-sdk 1.11.0 → 1.14.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -4
  3. data/docs/AccountValidationRequest.md +2 -0
  4. data/docs/PayoutMethod.md +1 -1
  5. data/docs/PayoutMethodCountryEnum.md +16 -0
  6. data/docs/PayoutMethodDetails.md +16 -4
  7. data/docs/PayoutMethodDetailsGHSCash.md +21 -0
  8. data/docs/PayoutMethodDetailsMADCash.md +3 -3
  9. data/docs/PayoutMethodDetailsXOFCash.md +3 -1
  10. data/docs/PayoutMethodDetailsXOFMobile.md +3 -1
  11. data/docs/PayoutMethodDetailsZARBank.md +13 -1
  12. data/docs/PayoutMethodLegalEntityTypeEnum.md +16 -0
  13. data/docs/PayoutMethodNatureOfBusinessEnum.md +16 -0
  14. data/docs/TransactionsApi.md +2 -0
  15. data/example/client.rb +18 -55
  16. data/lib/transferzero-sdk.rb +4 -0
  17. data/lib/transferzero-sdk/api/transactions_api.rb +6 -0
  18. data/lib/transferzero-sdk/api_client.rb +1 -1
  19. data/lib/transferzero-sdk/models/account_validation_request.rb +10 -1
  20. data/lib/transferzero-sdk/models/payout_method.rb +1 -1
  21. data/lib/transferzero-sdk/models/payout_method_country_enum.rb +43 -0
  22. data/lib/transferzero-sdk/models/payout_method_details.rb +59 -19
  23. data/lib/transferzero-sdk/models/payout_method_details_ghs_cash.rb +236 -0
  24. data/lib/transferzero-sdk/models/payout_method_details_mad_cash.rb +1 -16
  25. data/lib/transferzero-sdk/models/payout_method_details_xof_cash.rb +14 -5
  26. data/lib/transferzero-sdk/models/payout_method_details_xof_mobile.rb +14 -5
  27. data/lib/transferzero-sdk/models/payout_method_details_zar_bank.rb +59 -5
  28. data/lib/transferzero-sdk/models/payout_method_identity_card_type_enum.rb +1 -1
  29. data/lib/transferzero-sdk/models/payout_method_legal_entity_type_enum.rb +37 -0
  30. data/lib/transferzero-sdk/models/payout_method_mobile_provider_enum.rb +1 -0
  31. data/lib/transferzero-sdk/models/payout_method_nature_of_business_enum.rb +65 -0
  32. data/lib/transferzero-sdk/version.rb +1 -1
  33. data/spec/models/payout_method_country_enum_spec.rb +35 -0
  34. data/spec/models/payout_method_details_ghs_cash_spec.rb +53 -0
  35. data/spec/models/payout_method_legal_entity_type_enum_spec.rb +35 -0
  36. data/spec/models/payout_method_nature_of_business_enum_spec.rb +35 -0
  37. data/transferzero-sdk-1.11.0.gem +0 -0
  38. data/transferzero-sdk-1.12.0.gem +0 -0
  39. data/transferzero-sdk-1.14.0.gem +0 -0
  40. metadata +21 -2
@@ -0,0 +1,53 @@
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::PayoutMethodDetailsGHSCash
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PayoutMethodDetailsGHSCash' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::PayoutMethodDetailsGHSCash.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PayoutMethodDetailsGHSCash' do
31
+ it 'should create an instance of PayoutMethodDetailsGHSCash' do
32
+ expect(@instance).to be_instance_of(TransferZero::PayoutMethodDetailsGHSCash)
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
+ end
@@ -0,0 +1,35 @@
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::PayoutMethodLegalEntityTypeEnum
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PayoutMethodLegalEntityTypeEnum' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::PayoutMethodLegalEntityTypeEnum.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PayoutMethodLegalEntityTypeEnum' do
31
+ it 'should create an instance of PayoutMethodLegalEntityTypeEnum' do
32
+ expect(@instance).to be_instance_of(TransferZero::PayoutMethodLegalEntityTypeEnum)
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,35 @@
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::PayoutMethodNatureOfBusinessEnum
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PayoutMethodNatureOfBusinessEnum' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::PayoutMethodNatureOfBusinessEnum.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PayoutMethodNatureOfBusinessEnum' do
31
+ it 'should create an instance of PayoutMethodNatureOfBusinessEnum' do
32
+ expect(@instance).to be_instance_of(TransferZero::PayoutMethodNatureOfBusinessEnum)
33
+ end
34
+ end
35
+ end
Binary file
Binary file
Binary file
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.11.0
4
+ version: 1.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - TransferZero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-10 00:00:00.000000000 Z
11
+ date: 2021-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -263,11 +263,13 @@ files:
263
263
  - docs/PayoutMethod.md
264
264
  - docs/PayoutMethodBankAccountTypeEnum.md
265
265
  - docs/PayoutMethodCashProviderEnum.md
266
+ - docs/PayoutMethodCountryEnum.md
266
267
  - docs/PayoutMethodDetails.md
267
268
  - docs/PayoutMethodDetailsBTC.md
268
269
  - docs/PayoutMethodDetailsBalance.md
269
270
  - docs/PayoutMethodDetailsGBPBank.md
270
271
  - docs/PayoutMethodDetailsGHSBank.md
272
+ - docs/PayoutMethodDetailsGHSCash.md
271
273
  - docs/PayoutMethodDetailsIBAN.md
272
274
  - docs/PayoutMethodDetailsMADCash.md
273
275
  - docs/PayoutMethodDetailsMobile.md
@@ -278,8 +280,10 @@ files:
278
280
  - docs/PayoutMethodDetailsZARBank.md
279
281
  - docs/PayoutMethodGenderEnum.md
280
282
  - docs/PayoutMethodIdentityCardTypeEnum.md
283
+ - docs/PayoutMethodLegalEntityTypeEnum.md
281
284
  - docs/PayoutMethodListResponse.md
282
285
  - docs/PayoutMethodMobileProviderEnum.md
286
+ - docs/PayoutMethodNatureOfBusinessEnum.md
283
287
  - docs/PayoutMethodRequest.md
284
288
  - docs/PayoutMethodResponse.md
285
289
  - docs/PayoutMethodWebhook.md
@@ -392,11 +396,13 @@ files:
392
396
  - lib/transferzero-sdk/models/payout_method.rb
393
397
  - lib/transferzero-sdk/models/payout_method_bank_account_type_enum.rb
394
398
  - lib/transferzero-sdk/models/payout_method_cash_provider_enum.rb
399
+ - lib/transferzero-sdk/models/payout_method_country_enum.rb
395
400
  - lib/transferzero-sdk/models/payout_method_details.rb
396
401
  - lib/transferzero-sdk/models/payout_method_details_balance.rb
397
402
  - lib/transferzero-sdk/models/payout_method_details_btc.rb
398
403
  - lib/transferzero-sdk/models/payout_method_details_gbp_bank.rb
399
404
  - lib/transferzero-sdk/models/payout_method_details_ghs_bank.rb
405
+ - lib/transferzero-sdk/models/payout_method_details_ghs_cash.rb
400
406
  - lib/transferzero-sdk/models/payout_method_details_iban.rb
401
407
  - lib/transferzero-sdk/models/payout_method_details_mad_cash.rb
402
408
  - lib/transferzero-sdk/models/payout_method_details_mobile.rb
@@ -407,8 +413,10 @@ files:
407
413
  - lib/transferzero-sdk/models/payout_method_details_zar_bank.rb
408
414
  - lib/transferzero-sdk/models/payout_method_gender_enum.rb
409
415
  - lib/transferzero-sdk/models/payout_method_identity_card_type_enum.rb
416
+ - lib/transferzero-sdk/models/payout_method_legal_entity_type_enum.rb
410
417
  - lib/transferzero-sdk/models/payout_method_list_response.rb
411
418
  - lib/transferzero-sdk/models/payout_method_mobile_provider_enum.rb
419
+ - lib/transferzero-sdk/models/payout_method_nature_of_business_enum.rb
412
420
  - lib/transferzero-sdk/models/payout_method_request.rb
413
421
  - lib/transferzero-sdk/models/payout_method_response.rb
414
422
  - lib/transferzero-sdk/models/payout_method_webhook.rb
@@ -511,10 +519,12 @@ files:
511
519
  - spec/models/payment_method_spec.rb
512
520
  - spec/models/payout_method_bank_account_type_enum_spec.rb
513
521
  - spec/models/payout_method_cash_provider_enum_spec.rb
522
+ - spec/models/payout_method_country_enum_spec.rb
514
523
  - spec/models/payout_method_details_balance_spec.rb
515
524
  - spec/models/payout_method_details_btc_spec.rb
516
525
  - spec/models/payout_method_details_gbp_bank_spec.rb
517
526
  - spec/models/payout_method_details_ghs_bank_spec.rb
527
+ - spec/models/payout_method_details_ghs_cash_spec.rb
518
528
  - spec/models/payout_method_details_iban_spec.rb
519
529
  - spec/models/payout_method_details_mad_cash_spec.rb
520
530
  - spec/models/payout_method_details_mobile_spec.rb
@@ -526,8 +536,10 @@ files:
526
536
  - spec/models/payout_method_details_zar_bank_spec.rb
527
537
  - spec/models/payout_method_gender_enum_spec.rb
528
538
  - spec/models/payout_method_identity_card_type_enum_spec.rb
539
+ - spec/models/payout_method_legal_entity_type_enum_spec.rb
529
540
  - spec/models/payout_method_list_response_spec.rb
530
541
  - spec/models/payout_method_mobile_provider_enum_spec.rb
542
+ - spec/models/payout_method_nature_of_business_enum_spec.rb
531
543
  - spec/models/payout_method_request_spec.rb
532
544
  - spec/models/payout_method_response_spec.rb
533
545
  - spec/models/payout_method_spec.rb
@@ -574,6 +586,9 @@ files:
574
586
  - spec/models/webhook_spec.rb
575
587
  - spec/spec_helper.rb
576
588
  - transferzero-sdk-1.10.0.gem
589
+ - transferzero-sdk-1.11.0.gem
590
+ - transferzero-sdk-1.12.0.gem
591
+ - transferzero-sdk-1.14.0.gem
577
592
  - transferzero-sdk.gemspec
578
593
  homepage: https://github.com/transferzero/transferzero-sdk-ruby
579
594
  licenses:
@@ -646,6 +661,7 @@ test_files:
646
661
  - spec/models/document_webhook_spec.rb
647
662
  - spec/models/payout_method_details_zar_bank_spec.rb
648
663
  - spec/models/payout_method_gender_enum_spec.rb
664
+ - spec/models/payout_method_legal_entity_type_enum_spec.rb
649
665
  - spec/models/transaction_list_response_spec.rb
650
666
  - spec/models/payin_method_spec.rb
651
667
  - spec/models/sender_response_spec.rb
@@ -691,6 +707,7 @@ test_files:
691
707
  - spec/models/recipient_state_reason_details_spec.rb
692
708
  - spec/models/payout_method_webhook_spec.rb
693
709
  - spec/models/sender_response_meta_spec.rb
710
+ - spec/models/payout_method_nature_of_business_enum_spec.rb
694
711
  - spec/models/payout_method_response_spec.rb
695
712
  - spec/models/recipient_spec.rb
696
713
  - spec/models/payout_method_identity_card_type_enum_spec.rb
@@ -712,9 +729,11 @@ test_files:
712
729
  - spec/models/transaction_request_spec.rb
713
730
  - spec/models/payout_method_details_xof_mobile_spec.rb
714
731
  - spec/models/sender_list_response_spec.rb
732
+ - spec/models/payout_method_details_ghs_cash_spec.rb
715
733
  - spec/models/payout_method_cash_provider_enum_spec.rb
716
734
  - spec/models/field_description_spec.rb
717
735
  - spec/models/currency_exchange_spec.rb
736
+ - spec/models/payout_method_country_enum_spec.rb
718
737
  - spec/models/politically_exposed_person_spec.rb
719
738
  - spec/models/payin_method_details_spec.rb
720
739
  - spec/models/account_validation_error_spec.rb