transferzero-sdk 1.22.1 → 1.23.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +92 -0
- data/README.md +5 -4
- data/docs/PayoutMethod.md +1 -1
- data/docs/PayoutMethodDetails.md +3 -3
- data/docs/PayoutMethodDetailsBRLBank.md +35 -0
- data/docs/Sender.md +24 -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 +16 -0
- data/lib/transferzero-sdk/models/payout_method_details_brl_bank.rb +329 -0
- data/lib/transferzero-sdk/models/sender.rb +119 -7
- data/lib/transferzero-sdk/version.rb +1 -1
- data/lib/transferzero-sdk.rb +1 -0
- data/spec/models/payout_method_details_brl_bank_spec.rb +89 -0
- data/transferzero-sdk-1.19.0.gem +0 -0
- data/transferzero-sdk-1.19.2.gem +0 -0
- data/transferzero-sdk-1.19.3.gem +0 -0
- data/transferzero-sdk-1.19.4.gem +0 -0
- data/transferzero-sdk-1.19.5.gem +0 -0
- data/transferzero-sdk-1.20.1.gem +0 -0
- data/transferzero-sdk-1.21.0.gem +0 -0
- data/transferzero-sdk-1.22.0.gem +0 -0
- data/transferzero-sdk-1.23.0.gem +0 -0
- metadata +14 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8b16341760775c846e90177ddb2b389ac125b077e42a28821f8c2dbb3c92554f
|
|
4
|
+
data.tar.gz: 178bc1e86f4d7cf410ad8a0cd86b719513abe28d4e8f158f7de520c813df2fa5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a595fcfe1fe8bfa61955d84dce5fc890f640e153817b6b2c19e06cb85479add01d0d77ebf9a59b98922cdba01c574c2a55e1066226a13a3aabb7ecd3c3da6176
|
|
7
|
+
data.tar.gz: 7ef163c7f63c75d478effda86c60ee8f15c5ae4aab27e85622d66b04c7c16e6d0b14d5091aec089307be7073c80ce57611cd69a3597942f0c31df4b327247218
|
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
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
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Reference documentation for the TransferZero API V1
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: 1.0
|
|
10
|
-
- Package version: 1.
|
|
10
|
+
- Package version: 1.23.3
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
|
|
13
13
|
For more information, please visit:
|
|
@@ -31,15 +31,15 @@ gem build transferzero-sdk.gemspec
|
|
|
31
31
|
Then either install the gem locally:
|
|
32
32
|
|
|
33
33
|
```shell
|
|
34
|
-
gem install ./transferzero-sdk-1.
|
|
34
|
+
gem install ./transferzero-sdk-1.23.3.gem
|
|
35
35
|
```
|
|
36
|
-
(for development, run `gem install --dev ./transferzero-sdk-1.
|
|
36
|
+
(for development, run `gem install --dev ./transferzero-sdk-1.23.3.gem` to install the development dependencies)
|
|
37
37
|
|
|
38
38
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
39
39
|
|
|
40
40
|
Finally add this to the Gemfile:
|
|
41
41
|
|
|
42
|
-
gem 'transferzero-sdk', '~> 1.
|
|
42
|
+
gem 'transferzero-sdk', '~> 1.23.3'
|
|
43
43
|
|
|
44
44
|
### Install from Git
|
|
45
45
|
|
|
@@ -207,6 +207,7 @@ Class | Method | HTTP request | Description
|
|
|
207
207
|
- [TransferZero::PayoutMethodCashProviderEnum](docs/PayoutMethodCashProviderEnum.md)
|
|
208
208
|
- [TransferZero::PayoutMethodCountryEnum](docs/PayoutMethodCountryEnum.md)
|
|
209
209
|
- [TransferZero::PayoutMethodDetails](docs/PayoutMethodDetails.md)
|
|
210
|
+
- [TransferZero::PayoutMethodDetailsBRLBank](docs/PayoutMethodDetailsBRLBank.md)
|
|
210
211
|
- [TransferZero::PayoutMethodDetailsBTC](docs/PayoutMethodDetailsBTC.md)
|
|
211
212
|
- [TransferZero::PayoutMethodDetailsBalance](docs/PayoutMethodDetailsBalance.md)
|
|
212
213
|
- [TransferZero::PayoutMethodDetailsGBPBank](docs/PayoutMethodDetailsGBPBank.md)
|
data/docs/PayoutMethod.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**type** | **String** | Contains the currency to send the money to, and the type of the money movement Commonly used payout types are: - `NGN::Bank` - for Nigerian bank account payments. - `GHS::Bank` - for Ghanaian bank account payments. - `GHS::Mobile` - for Ghanaian mobile money payments. - `GHS::Cash` - for Ghanaian cash remittance payments. - `UGX::Mobile` - for Ugandan mobile money payments. - `XOF::Mobile` - for mobile money payments to West-Africa. - `XOF::Bank` - for Senegalese bank account payments. - `XOF::Cash` - for Senegalese cash remittance payments. - `MAD::Cash` - for Moroccan cash remittance payments. - `EUR::Bank` - for IBAN bank transfers in EUR. - `GBP::Bank` - for IBAN bank and FP accounts transfers in GBP. - `ZAR::Bank` - for South Africa bank account payments. - `USD::Bank` - for USD account payments. *** Currently Nigeria only and in Beta phase *** - `USD::Cash` - for USD cash remittance payments. *** Currently Nigeria only and in Beta phase *** - `KES::Bank` - for Kenyan bank account payments. - `KES::Mobile` - for Kenyan mobile money payments. - `XAF::Mobile` - for mobile money payments to Cameroon. - `XAF::Bank` - for Cameroon bank account payments.. - `GNF::Mobile` - for mobile money payments to Guinea. You can also send funds to the internal balance using `CCY::Balance`, where `CCY` is the appropriate currency. See [Collection from senders](https://docs.transferzero.com/docs/additional-features/#collections-from-senders) for more info on how to collect money into internal balance | [optional]
|
|
7
|
+
**type** | **String** | Contains the currency to send the money to, and the type of the money movement Commonly used payout types are: - `NGN::Bank` - for Nigerian bank account payments. - `GHS::Bank` - for Ghanaian bank account payments. - `GHS::Mobile` - for Ghanaian mobile money payments. - `GHS::Cash` - for Ghanaian cash remittance payments. - `UGX::Mobile` - for Ugandan mobile money payments. - `XOF::Mobile` - for mobile money payments to West-Africa. - `XOF::Bank` - for Senegalese bank account payments. - `XOF::Cash` - for Senegalese cash remittance payments. - `MAD::Cash` - for Moroccan cash remittance payments. - `EUR::Bank` - for IBAN bank transfers in EUR. - `GBP::Bank` - for IBAN bank and FP accounts transfers in GBP. - `ZAR::Bank` - for South Africa bank account payments. - `USD::Bank` - for USD account payments. *** Currently Nigeria only and in Beta phase *** - `USD::Cash` - for USD cash remittance payments. *** Currently Nigeria only and in Beta phase *** - `KES::Bank` - for Kenyan bank account payments. - `KES::Mobile` - for Kenyan mobile money payments. - `XAF::Mobile` - for mobile money payments to Cameroon. - `XAF::Bank` - for Cameroon bank account payments.. - `GNF::Mobile` - for mobile money payments to Guinea. - `BRL::Bank` - for Brazilian bank account payments. You can also send funds to the internal balance using `CCY::Balance`, where `CCY` is the appropriate currency. See [Collection from senders](https://docs.transferzero.com/docs/additional-features/#collections-from-senders) for more info on how to collect money into internal balance | [optional]
|
|
8
8
|
**details** | [**PayoutMethodDetails**](PayoutMethodDetails.md) | | [optional]
|
|
9
9
|
**metadata** | [**Object**](.md) | Metadata of payout method. You can store any kind of information in this field. | [optional]
|
|
10
10
|
**id** | **String** | | [optional]
|
data/docs/PayoutMethodDetails.md
CHANGED
|
@@ -8,11 +8,11 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**last_name** | **String** | |
|
|
9
9
|
**bank_code** | **String** | |
|
|
10
10
|
**bank_account** | **String** | |
|
|
11
|
-
**bank_account_type** | [**PayoutMethodBankAccountTypeEnum**](PayoutMethodBankAccountTypeEnum.md) | |
|
|
11
|
+
**bank_account_type** | [**PayoutMethodBankAccountTypeEnum**](PayoutMethodBankAccountTypeEnum.md) | |
|
|
12
12
|
**phone_number** | **String** | |
|
|
13
13
|
**mobile_provider** | [**PayoutMethodMobileProviderEnum**](PayoutMethodMobileProviderEnum.md) | |
|
|
14
14
|
**country** | [**PayoutMethodCountryEnum**](PayoutMethodCountryEnum.md) | |
|
|
15
|
-
**transfer_reason** | [**PayoutMethodTransferReasonEnum**](PayoutMethodTransferReasonEnum.md) | |
|
|
15
|
+
**transfer_reason** | [**PayoutMethodTransferReasonEnum**](PayoutMethodTransferReasonEnum.md) | |
|
|
16
16
|
**iban** | **String** | |
|
|
17
17
|
**bank_name** | **String** | |
|
|
18
18
|
**bank_country** | **String** | | [optional]
|
|
@@ -40,7 +40,7 @@ Name | Type | Description | Notes
|
|
|
40
40
|
**registration_number** | **String** | | [optional]
|
|
41
41
|
**nature_of_business** | [**PayoutMethodNatureOfBusinessEnum**](PayoutMethodNatureOfBusinessEnum.md) | | [optional]
|
|
42
42
|
**legal_entity_type** | [**PayoutMethodLegalEntityTypeEnum**](PayoutMethodLegalEntityTypeEnum.md) | | [optional]
|
|
43
|
-
**branch_code** | **String** | |
|
|
43
|
+
**branch_code** | **String** | |
|
|
44
44
|
**swift_code** | **String** | |
|
|
45
45
|
|
|
46
46
|
## Code Sample
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# TransferZero::PayoutMethodDetailsBRLBank
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**first_name** | **String** | |
|
|
8
|
+
**last_name** | **String** | |
|
|
9
|
+
**phone_number** | **String** | | [optional]
|
|
10
|
+
**bank_code** | **String** | |
|
|
11
|
+
**branch_code** | **String** | |
|
|
12
|
+
**bank_account** | **String** | |
|
|
13
|
+
**bank_account_type** | [**PayoutMethodBankAccountTypeEnum**](PayoutMethodBankAccountTypeEnum.md) | |
|
|
14
|
+
**identity_card_type** | [**PayoutMethodIdentityCardTypeEnum**](PayoutMethodIdentityCardTypeEnum.md) | |
|
|
15
|
+
**identity_card_id** | **String** | |
|
|
16
|
+
**transfer_reason** | [**PayoutMethodTransferReasonEnum**](PayoutMethodTransferReasonEnum.md) | |
|
|
17
|
+
|
|
18
|
+
## Code Sample
|
|
19
|
+
|
|
20
|
+
```ruby
|
|
21
|
+
require 'TransferZero'
|
|
22
|
+
|
|
23
|
+
instance = TransferZero::PayoutMethodDetailsBRLBank.new(first_name: null,
|
|
24
|
+
last_name: null,
|
|
25
|
+
phone_number: null,
|
|
26
|
+
bank_code: null,
|
|
27
|
+
branch_code: null,
|
|
28
|
+
bank_account: null,
|
|
29
|
+
bank_account_type: null,
|
|
30
|
+
identity_card_type: null,
|
|
31
|
+
identity_card_id: null,
|
|
32
|
+
transfer_reason: null)
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
|
data/docs/Sender.md
CHANGED
|
@@ -26,7 +26,7 @@ Name | Type | Description | Notes
|
|
|
26
26
|
**birth_date** | **Date** | Date of birth of sender (used only with a Personal sender) | [optional]
|
|
27
27
|
**occupation** | **String** | Occupation of sender (used only with a Personal sender) | [optional]
|
|
28
28
|
**nationality** | **String** | The nationality of the sender (used only with a Personal sender) | [optional]
|
|
29
|
-
**legal_entity_type** | **String** | Legal entity type (used only with a Business sender) Available values: - sole_proprietorship: Sole Proprietorship - partnership: Partnership - privately_owned_company: Privately Owned Company (Limited Company) - publicly_owned_company: Publicly Listed Company (PLC) - government_owned_entity: Government Owned Entity Trusts - trust: Foundations & Similar Entities - ngo: Non-Government Organisations / Charities inc Religious bodies and place of worship - club_and_society: Clubs and Societies - go: GO (Majority Owned Subsidiary of State-Owned Company) - financial_institution: Financial Institution Please note not all values are acceptable for some our corridors. Please reach out to our sales teams for more information. Note that if you select `financial_institution` then the fields `vat_registration_number`, `financial_regulator` and `regulatory_licence_number` will be mandatory as well. | [optional]
|
|
29
|
+
**legal_entity_type** | **String** | Legal entity type (used only with a Business sender) Available values: - sole_proprietorship: Sole Proprietorship - partnership: Partnership - privately_owned_company: Privately Owned Company (Limited Company) - publicly_owned_company: Publicly Listed Company (PLC) - government_owned_entity: Government Owned Entity Trusts - trust: Foundations & Similar Entities - ngo: Non-Government Organisations / Charities inc Religious bodies and place of worship - club_and_society: Clubs and Societies - go: GO (Majority Owned Subsidiary of State-Owned Company) - financial_institution: Financial Institution - mto: Money Transfer Operator (MTO) / Other Licensed Financial Institution Please note not all values are acceptable for some our corridors. Please reach out to our sales teams for more information. Note that if you select `financial_institution` then the fields `vat_registration_number`, `financial_regulator` and `regulatory_licence_number` will be mandatory as well. Note that if you select `mto` then following fields will be mandatory as well: `regulatory_licence_number`, `company_office_number`, `company_office_number_country`, `aml_officer_email`, `aml_officer_phone`, `aml_officer_phone_country`, `company_website_url`, `tax_identification_no`, `number_of_employees_in_company`, `list_of_countries_of_operation`, `estimated_annual_revenue_turnover`, `declaration`. | [optional]
|
|
30
30
|
**registration_date** | **Date** | The registration date (used only with a Business sender) | [optional]
|
|
31
31
|
**registration_number** | **String** | The registration number (used only with a Business sender) | [optional]
|
|
32
32
|
**nature_of_business** | **String** | Nature of business options (used only with a Business sender) Available values: - personal: Personal - agriculture_and_hunting: Agriculture and Hunting - forestry: Forestry - fishing: Fishing - agricultural_by_products: Agricultural By-Products - coal_mining: Coal Mining - oil_mining: Oil Mining - iron_ore_mining: Iron Ore Mining - other_metal_and_diamond_mining: Other Metal and Diamond Mining - other_mineral_mining: Other Mineral Mining - manufacturing_of_food_drink_tobacco: Manufacture of Food/Drink/Tobacco - manufacturing_of_textiles_leather_fur_furniture: Manufacture of Textiles/Leather/Fur/Furniture - manufacture_of_wooden_products_furniture: Manufacture of Wooden Products/Furniture - manufacture_of_paper_pulp_allied_products: Manufacture of Paper/Pulp/Allied Products - manufacture_of_chemicals_medical_petroleum_rubber_plastic_products: Manufacture Of Chemicals Medical Petroleum Rubber Plastic Products - manufacture_of_pottery_china_glass_stone: Manufacture Of Pottery China Glass Stone - manufacture_of_iron_steel_non_ferrous_metals_basic_industries: Manufacture Of Iron Steel Non-Ferrous Metals Basic Industries - manufacture_of_metal_products_electrical_and_scientific_engineering: Manufacture Of Metal Products Electrical And Scientific Engineering - manufacture_of_jewelry_musical_instruments_toys: Manufacture Of Jewelry Musical Instruments Toys - electricity_gas_and_water: Electricity, Gas And Water - construction: Construction - wholesale_trade: Wholesale Trade - retail_trade: Retail Trade - catering_incl_hotels: Catering Incl. Hotels - transport_storage: Transport Storage - communications: Communications - finance_and_holding_companies: Finance And Holding Companies - insurance: Insurance - business_services: Business Services - real_estate_development_investment: Real Estate Development Investment - central_state_governments: Central State Governments - community_services_defence_police_prisons_etc: Community Services Defence Police Prisons Etc - social_services_education_health_care: Social Services Education Health Care - personal_services_leisure_services: Personal Services - Leisure Services - personal_services_domestic_laundry_repairs: Personal Services - Domestic Laundry Repairs - personal_services_embassies_international_organisations: Personal Services - Embassies | [optional]
|
|
@@ -55,6 +55,17 @@ Name | Type | Description | Notes
|
|
|
55
55
|
**gender** | **String** | The gender of the sender: - `M`: Male - `F`: Female - `O`: Other | [optional]
|
|
56
56
|
**sales_lead_id** | **String** | Sales Lead ID for tracking (optional) | [optional]
|
|
57
57
|
**created_at** | **String** | Date and time of sender was created | [optional]
|
|
58
|
+
**company_office_number** | **String** | Phone number of company office (without country callcode, used only with a Business sender) | [optional]
|
|
59
|
+
**company_office_number_country** | **String** | Phone number country of company office in 2-character alpha ISO 3166-2 country format (used only with a Business sender) | [optional]
|
|
60
|
+
**aml_officer_email** | **String** | Email address of AML Officer (used only with a Business sender) | [optional]
|
|
61
|
+
**aml_officer_phone** | **String** | Phone number of AML Officer (without country callcode, used only with a Business sender) | [optional]
|
|
62
|
+
**aml_officer_phone_country** | **String** | Phone number country of AML Officer in 2-character alpha ISO 3166-2 country format (used only with a Business sender) | [optional]
|
|
63
|
+
**company_website_url** | **String** | Company website URL (used only with a Business sender) | [optional]
|
|
64
|
+
**tax_identification_no** | **String** | Tax Identification Number (used only with a Business sender) | [optional]
|
|
65
|
+
**number_of_employees_in_company** | **String** | Number of employees in company (used only with a Business sender) | [optional]
|
|
66
|
+
**list_of_countries_of_operation** | **Array<String>** | List of countries of operation (used only with a Business sender) | [optional]
|
|
67
|
+
**estimated_annual_revenue_turnover** | **String** | Estimated annual turnover (in USD or equivalent, used only with a Business sender) | [optional]
|
|
68
|
+
**declaration** | **String** | Declaration that the signatory is authorised (used only with a Business sender) | [optional]
|
|
58
69
|
|
|
59
70
|
## Code Sample
|
|
60
71
|
|
|
@@ -111,7 +122,18 @@ instance = TransferZero::Sender.new(id: bf9ff782-e182-45ac-abea-5bce83ad6670,
|
|
|
111
122
|
country_of_birth: GB,
|
|
112
123
|
gender: M,
|
|
113
124
|
sales_lead_id: HF6HJVF67,
|
|
114
|
-
created_at: 2019-01-11T00:00:00.001+0000
|
|
125
|
+
created_at: 2019-01-11T00:00:00.001+0000,
|
|
126
|
+
company_office_number: 123123123,
|
|
127
|
+
company_office_number_country: GB,
|
|
128
|
+
aml_officer_email: null,
|
|
129
|
+
aml_officer_phone: 123123123,
|
|
130
|
+
aml_officer_phone_country: GB,
|
|
131
|
+
company_website_url: www.azafinance.com,
|
|
132
|
+
tax_identification_no: null,
|
|
133
|
+
number_of_employees_in_company: 250+,
|
|
134
|
+
list_of_countries_of_operation: ["Spain","Germany","Poland"],
|
|
135
|
+
estimated_annual_revenue_turnover: null,
|
|
136
|
+
declaration: Yes)
|
|
115
137
|
```
|
|
116
138
|
|
|
117
139
|
|
|
@@ -36,7 +36,7 @@ module TransferZero
|
|
|
36
36
|
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
|
|
37
37
|
def initialize(config = Configuration.default)
|
|
38
38
|
@config = config
|
|
39
|
-
@user_agent = "TransferZero-SDK/Ruby/1.
|
|
39
|
+
@user_agent = "TransferZero-SDK/Ruby/1.23.3"
|
|
40
40
|
@default_headers = {
|
|
41
41
|
'Content-Type' => 'application/json',
|
|
42
42
|
'User-Agent' => @user_agent
|
|
@@ -15,7 +15,7 @@ require 'date'
|
|
|
15
15
|
module TransferZero
|
|
16
16
|
# This describes the specific details on how the payment has to be routed to the recipient.
|
|
17
17
|
class PayoutMethod
|
|
18
|
-
# Contains the currency to send the money to, and the type of the money movement Commonly used payout types are: - `NGN::Bank` - for Nigerian bank account payments. - `GHS::Bank` - for Ghanaian bank account payments. - `GHS::Mobile` - for Ghanaian mobile money payments. - `GHS::Cash` - for Ghanaian cash remittance payments. - `UGX::Mobile` - for Ugandan mobile money payments. - `XOF::Mobile` - for mobile money payments to West-Africa. - `XOF::Bank` - for Senegalese bank account payments. - `XOF::Cash` - for Senegalese cash remittance payments. - `MAD::Cash` - for Moroccan cash remittance payments. - `EUR::Bank` - for IBAN bank transfers in EUR. - `GBP::Bank` - for IBAN bank and FP accounts transfers in GBP. - `ZAR::Bank` - for South Africa bank account payments. - `USD::Bank` - for USD account payments. *** Currently Nigeria only and in Beta phase *** - `USD::Cash` - for USD cash remittance payments. *** Currently Nigeria only and in Beta phase *** - `KES::Bank` - for Kenyan bank account payments. - `KES::Mobile` - for Kenyan mobile money payments. - `XAF::Mobile` - for mobile money payments to Cameroon. - `XAF::Bank` - for Cameroon bank account payments.. - `GNF::Mobile` - for mobile money payments to Guinea. You can also send funds to the internal balance using `CCY::Balance`, where `CCY` is the appropriate currency. See [Collection from senders](https://docs.transferzero.com/docs/additional-features/#collections-from-senders) for more info on how to collect money into internal balance
|
|
18
|
+
# Contains the currency to send the money to, and the type of the money movement Commonly used payout types are: - `NGN::Bank` - for Nigerian bank account payments. - `GHS::Bank` - for Ghanaian bank account payments. - `GHS::Mobile` - for Ghanaian mobile money payments. - `GHS::Cash` - for Ghanaian cash remittance payments. - `UGX::Mobile` - for Ugandan mobile money payments. - `XOF::Mobile` - for mobile money payments to West-Africa. - `XOF::Bank` - for Senegalese bank account payments. - `XOF::Cash` - for Senegalese cash remittance payments. - `MAD::Cash` - for Moroccan cash remittance payments. - `EUR::Bank` - for IBAN bank transfers in EUR. - `GBP::Bank` - for IBAN bank and FP accounts transfers in GBP. - `ZAR::Bank` - for South Africa bank account payments. - `USD::Bank` - for USD account payments. *** Currently Nigeria only and in Beta phase *** - `USD::Cash` - for USD cash remittance payments. *** Currently Nigeria only and in Beta phase *** - `KES::Bank` - for Kenyan bank account payments. - `KES::Mobile` - for Kenyan mobile money payments. - `XAF::Mobile` - for mobile money payments to Cameroon. - `XAF::Bank` - for Cameroon bank account payments.. - `GNF::Mobile` - for mobile money payments to Guinea. - `BRL::Bank` - for Brazilian bank account payments. You can also send funds to the internal balance using `CCY::Balance`, where `CCY` is the appropriate currency. See [Collection from senders](https://docs.transferzero.com/docs/additional-features/#collections-from-senders) for more info on how to collect money into internal balance
|
|
19
19
|
attr_accessor :type
|
|
20
20
|
|
|
21
21
|
attr_accessor :details
|
|
@@ -181,6 +181,7 @@ class PayoutMethodDetails
|
|
|
181
181
|
# List of class defined in oneOf (OpenAPI v3)
|
|
182
182
|
def self.openapi_one_of
|
|
183
183
|
[
|
|
184
|
+
:'PayoutMethodDetailsBRLBank',
|
|
184
185
|
:'PayoutMethodDetailsBTC',
|
|
185
186
|
:'PayoutMethodDetailsBalance',
|
|
186
187
|
:'PayoutMethodDetailsGBPBank',
|
|
@@ -392,6 +393,10 @@ class PayoutMethodDetails
|
|
|
392
393
|
invalid_properties.push('invalid value for "bank_account", bank_account cannot be nil.')
|
|
393
394
|
end
|
|
394
395
|
|
|
396
|
+
if @bank_account_type.nil?
|
|
397
|
+
invalid_properties.push('invalid value for "bank_account_type", bank_account_type cannot be nil.')
|
|
398
|
+
end
|
|
399
|
+
|
|
395
400
|
if @phone_number.nil?
|
|
396
401
|
invalid_properties.push('invalid value for "phone_number", phone_number cannot be nil.')
|
|
397
402
|
end
|
|
@@ -404,6 +409,10 @@ class PayoutMethodDetails
|
|
|
404
409
|
invalid_properties.push('invalid value for "country", country cannot be nil.')
|
|
405
410
|
end
|
|
406
411
|
|
|
412
|
+
if @transfer_reason.nil?
|
|
413
|
+
invalid_properties.push('invalid value for "transfer_reason", transfer_reason cannot be nil.')
|
|
414
|
+
end
|
|
415
|
+
|
|
407
416
|
if @iban.nil?
|
|
408
417
|
invalid_properties.push('invalid value for "iban", iban cannot be nil.')
|
|
409
418
|
end
|
|
@@ -452,6 +461,10 @@ class PayoutMethodDetails
|
|
|
452
461
|
invalid_properties.push('invalid value for "city", city cannot be nil.')
|
|
453
462
|
end
|
|
454
463
|
|
|
464
|
+
if @branch_code.nil?
|
|
465
|
+
invalid_properties.push('invalid value for "branch_code", branch_code cannot be nil.')
|
|
466
|
+
end
|
|
467
|
+
|
|
455
468
|
if @swift_code.nil?
|
|
456
469
|
invalid_properties.push('invalid value for "swift_code", swift_code cannot be nil.')
|
|
457
470
|
end
|
|
@@ -466,9 +479,11 @@ class PayoutMethodDetails
|
|
|
466
479
|
return false if @last_name.nil?
|
|
467
480
|
return false if @bank_code.nil?
|
|
468
481
|
return false if @bank_account.nil?
|
|
482
|
+
return false if @bank_account_type.nil?
|
|
469
483
|
return false if @phone_number.nil?
|
|
470
484
|
return false if @mobile_provider.nil?
|
|
471
485
|
return false if @country.nil?
|
|
486
|
+
return false if @transfer_reason.nil?
|
|
472
487
|
return false if @iban.nil?
|
|
473
488
|
return false if @bank_name.nil?
|
|
474
489
|
return false if @cash_provider.nil?
|
|
@@ -481,6 +496,7 @@ class PayoutMethodDetails
|
|
|
481
496
|
return false if @street.nil?
|
|
482
497
|
return false if @postal_code.nil?
|
|
483
498
|
return false if @city.nil?
|
|
499
|
+
return false if @branch_code.nil?
|
|
484
500
|
return false if @swift_code.nil?
|
|
485
501
|
_one_of_found = false
|
|
486
502
|
openapi_one_of.each do |_class|
|
|
@@ -0,0 +1,329 @@
|
|
|
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
|
+
# ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"+552112345678\", \"bank_code\": \"104\", \"branch_code\": \"00001\", \"bank_account\": \"0009795493\", \"bank_account_type\": \"10\", \"identity_card_type\": \"ID\", \"identity_card_id\": \"01234567890\", \"transfer_reason\": \"personal_account\" } ``` See [BRL Bank](https://docs.transferzero.com/docs/payout-details/#brlbank) documentation for the bank_code and transfer_reason lists
|
|
17
|
+
class PayoutMethodDetailsBRLBank
|
|
18
|
+
attr_accessor :first_name
|
|
19
|
+
|
|
20
|
+
attr_accessor :last_name
|
|
21
|
+
|
|
22
|
+
attr_accessor :phone_number
|
|
23
|
+
|
|
24
|
+
attr_accessor :bank_code
|
|
25
|
+
|
|
26
|
+
attr_accessor :branch_code
|
|
27
|
+
|
|
28
|
+
attr_accessor :bank_account
|
|
29
|
+
|
|
30
|
+
attr_accessor :bank_account_type
|
|
31
|
+
|
|
32
|
+
attr_accessor :identity_card_type
|
|
33
|
+
|
|
34
|
+
attr_accessor :identity_card_id
|
|
35
|
+
|
|
36
|
+
attr_accessor :transfer_reason
|
|
37
|
+
|
|
38
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
39
|
+
def self.attribute_map
|
|
40
|
+
{
|
|
41
|
+
:'first_name' => :'first_name',
|
|
42
|
+
:'last_name' => :'last_name',
|
|
43
|
+
:'phone_number' => :'phone_number',
|
|
44
|
+
:'bank_code' => :'bank_code',
|
|
45
|
+
:'branch_code' => :'branch_code',
|
|
46
|
+
:'bank_account' => :'bank_account',
|
|
47
|
+
:'bank_account_type' => :'bank_account_type',
|
|
48
|
+
:'identity_card_type' => :'identity_card_type',
|
|
49
|
+
:'identity_card_id' => :'identity_card_id',
|
|
50
|
+
:'transfer_reason' => :'transfer_reason'
|
|
51
|
+
}
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
# Attribute type mapping.
|
|
55
|
+
def self.openapi_types
|
|
56
|
+
{
|
|
57
|
+
:'first_name' => :'String',
|
|
58
|
+
:'last_name' => :'String',
|
|
59
|
+
:'phone_number' => :'String',
|
|
60
|
+
:'bank_code' => :'String',
|
|
61
|
+
:'branch_code' => :'String',
|
|
62
|
+
:'bank_account' => :'String',
|
|
63
|
+
:'bank_account_type' => :'PayoutMethodBankAccountTypeEnum',
|
|
64
|
+
:'identity_card_type' => :'PayoutMethodIdentityCardTypeEnum',
|
|
65
|
+
:'identity_card_id' => :'String',
|
|
66
|
+
:'transfer_reason' => :'PayoutMethodTransferReasonEnum'
|
|
67
|
+
}
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# Initializes the object
|
|
71
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
72
|
+
def initialize(attributes = {})
|
|
73
|
+
if (!attributes.is_a?(Hash))
|
|
74
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TransferZero::PayoutMethodDetailsBRLBank` initialize method"
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
78
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
79
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
80
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TransferZero::PayoutMethodDetailsBRLBank`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
81
|
+
end
|
|
82
|
+
h[k.to_sym] = v
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
if attributes.key?(:'first_name')
|
|
86
|
+
self.first_name = attributes[:'first_name']
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
if attributes.key?(:'last_name')
|
|
90
|
+
self.last_name = attributes[:'last_name']
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
if attributes.key?(:'phone_number')
|
|
94
|
+
self.phone_number = attributes[:'phone_number']
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
if attributes.key?(:'bank_code')
|
|
98
|
+
self.bank_code = attributes[:'bank_code']
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
if attributes.key?(:'branch_code')
|
|
102
|
+
self.branch_code = attributes[:'branch_code']
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
if attributes.key?(:'bank_account')
|
|
106
|
+
self.bank_account = attributes[:'bank_account']
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
if attributes.key?(:'bank_account_type')
|
|
110
|
+
self.bank_account_type = attributes[:'bank_account_type']
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
if attributes.key?(:'identity_card_type')
|
|
114
|
+
self.identity_card_type = attributes[:'identity_card_type']
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
if attributes.key?(:'identity_card_id')
|
|
118
|
+
self.identity_card_id = attributes[:'identity_card_id']
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
if attributes.key?(:'transfer_reason')
|
|
122
|
+
self.transfer_reason = attributes[:'transfer_reason']
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
127
|
+
# @return Array for valid properties with the reasons
|
|
128
|
+
def list_invalid_properties
|
|
129
|
+
invalid_properties = Array.new
|
|
130
|
+
if @first_name.nil?
|
|
131
|
+
invalid_properties.push('invalid value for "first_name", first_name cannot be nil.')
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
if @last_name.nil?
|
|
135
|
+
invalid_properties.push('invalid value for "last_name", last_name cannot be nil.')
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
if @bank_code.nil?
|
|
139
|
+
invalid_properties.push('invalid value for "bank_code", bank_code cannot be nil.')
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
if @branch_code.nil?
|
|
143
|
+
invalid_properties.push('invalid value for "branch_code", branch_code cannot be nil.')
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
if @bank_account.nil?
|
|
147
|
+
invalid_properties.push('invalid value for "bank_account", bank_account cannot be nil.')
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
if @bank_account_type.nil?
|
|
151
|
+
invalid_properties.push('invalid value for "bank_account_type", bank_account_type cannot be nil.')
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
if @identity_card_type.nil?
|
|
155
|
+
invalid_properties.push('invalid value for "identity_card_type", identity_card_type cannot be nil.')
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
if @identity_card_id.nil?
|
|
159
|
+
invalid_properties.push('invalid value for "identity_card_id", identity_card_id cannot be nil.')
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
if @transfer_reason.nil?
|
|
163
|
+
invalid_properties.push('invalid value for "transfer_reason", transfer_reason cannot be nil.')
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
invalid_properties
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
# Check to see if the all the properties in the model are valid
|
|
170
|
+
# @return true if the model is valid
|
|
171
|
+
def valid?
|
|
172
|
+
return false if @first_name.nil?
|
|
173
|
+
return false if @last_name.nil?
|
|
174
|
+
return false if @bank_code.nil?
|
|
175
|
+
return false if @branch_code.nil?
|
|
176
|
+
return false if @bank_account.nil?
|
|
177
|
+
return false if @bank_account_type.nil?
|
|
178
|
+
return false if @identity_card_type.nil?
|
|
179
|
+
return false if @identity_card_id.nil?
|
|
180
|
+
return false if @transfer_reason.nil?
|
|
181
|
+
true
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
# Checks equality by comparing each attribute.
|
|
185
|
+
# @param [Object] Object to be compared
|
|
186
|
+
def ==(o)
|
|
187
|
+
return true if self.equal?(o)
|
|
188
|
+
self.class == o.class &&
|
|
189
|
+
first_name == o.first_name &&
|
|
190
|
+
last_name == o.last_name &&
|
|
191
|
+
phone_number == o.phone_number &&
|
|
192
|
+
bank_code == o.bank_code &&
|
|
193
|
+
branch_code == o.branch_code &&
|
|
194
|
+
bank_account == o.bank_account &&
|
|
195
|
+
bank_account_type == o.bank_account_type &&
|
|
196
|
+
identity_card_type == o.identity_card_type &&
|
|
197
|
+
identity_card_id == o.identity_card_id &&
|
|
198
|
+
transfer_reason == o.transfer_reason
|
|
199
|
+
end
|
|
200
|
+
|
|
201
|
+
# @see the `==` method
|
|
202
|
+
# @param [Object] Object to be compared
|
|
203
|
+
def eql?(o)
|
|
204
|
+
self == o
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
# Calculates hash code according to all attributes.
|
|
208
|
+
# @return [Integer] Hash code
|
|
209
|
+
def hash
|
|
210
|
+
[first_name, last_name, phone_number, bank_code, branch_code, bank_account, bank_account_type, identity_card_type, identity_card_id, transfer_reason].hash
|
|
211
|
+
end
|
|
212
|
+
|
|
213
|
+
require 'active_support/core_ext/hash'
|
|
214
|
+
require 'active_support/hash_with_indifferent_access.rb'
|
|
215
|
+
# Builds the object from hash
|
|
216
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
217
|
+
# @return [Object] Returns the model itself
|
|
218
|
+
def build_from_hash(attributes)
|
|
219
|
+
return nil unless attributes.is_a?(Hash)
|
|
220
|
+
self.class.openapi_types.each_pair do |key, type|
|
|
221
|
+
if type =~ /\AArray<(.*)>/i
|
|
222
|
+
# check to ensure the input is an array given that the the attribute
|
|
223
|
+
# is documented as an array but the input is not
|
|
224
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
225
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
226
|
+
end
|
|
227
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
228
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
229
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
230
|
+
end
|
|
231
|
+
|
|
232
|
+
self
|
|
233
|
+
end
|
|
234
|
+
|
|
235
|
+
# Deserializes the data based on type
|
|
236
|
+
# @param string type Data type
|
|
237
|
+
# @param string value Value to be deserialized
|
|
238
|
+
# @return [Object] Deserialized data
|
|
239
|
+
def _deserialize(type, value)
|
|
240
|
+
case type.to_sym
|
|
241
|
+
when :DateTime
|
|
242
|
+
DateTime.parse(value)
|
|
243
|
+
when :Date
|
|
244
|
+
Date.parse(value)
|
|
245
|
+
when :String
|
|
246
|
+
value.to_s
|
|
247
|
+
when :Integer
|
|
248
|
+
value.to_i
|
|
249
|
+
when :Float
|
|
250
|
+
value.to_f
|
|
251
|
+
when :Boolean
|
|
252
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
253
|
+
true
|
|
254
|
+
else
|
|
255
|
+
false
|
|
256
|
+
end
|
|
257
|
+
when :Object
|
|
258
|
+
# generic object (usually a Hash), return directly
|
|
259
|
+
value
|
|
260
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
261
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
262
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
263
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
264
|
+
k_type = Regexp.last_match[:k_type]
|
|
265
|
+
v_type = Regexp.last_match[:v_type]
|
|
266
|
+
{}.tap do |hash|
|
|
267
|
+
value.each do |k, v|
|
|
268
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
269
|
+
end
|
|
270
|
+
end
|
|
271
|
+
else # model
|
|
272
|
+
temp_model = TransferZero.const_get(type).new
|
|
273
|
+
temp_model.build_from_hash(value)
|
|
274
|
+
end
|
|
275
|
+
end
|
|
276
|
+
|
|
277
|
+
# Returns the string representation of the object
|
|
278
|
+
# @return [String] String presentation of the object
|
|
279
|
+
def to_s
|
|
280
|
+
to_hash.to_s
|
|
281
|
+
end
|
|
282
|
+
|
|
283
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
284
|
+
# @return [Hash] Returns the object in the form of hash
|
|
285
|
+
def to_body
|
|
286
|
+
to_hash
|
|
287
|
+
end
|
|
288
|
+
|
|
289
|
+
# Returns the object in the form of hash
|
|
290
|
+
# @return [Hash] Returns the object in the form of hash
|
|
291
|
+
def to_hash
|
|
292
|
+
hash = {}
|
|
293
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
294
|
+
value = self.send(attr)
|
|
295
|
+
next if value.nil?
|
|
296
|
+
hash[param] = _to_hash(value)
|
|
297
|
+
end
|
|
298
|
+
::ActiveSupport::HashWithIndifferentAccess.new(hash)
|
|
299
|
+
end
|
|
300
|
+
|
|
301
|
+
def [](key)
|
|
302
|
+
to_hash[key]
|
|
303
|
+
end
|
|
304
|
+
|
|
305
|
+
def dig(*args)
|
|
306
|
+
to_hash.dig(*args)
|
|
307
|
+
end
|
|
308
|
+
|
|
309
|
+
# Outputs non-array value in the form of hash
|
|
310
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
311
|
+
# @param [Object] value Any valid value
|
|
312
|
+
# @return [Hash] Returns the value in the form of hash
|
|
313
|
+
def _to_hash(value)
|
|
314
|
+
if value.is_a?(Array)
|
|
315
|
+
value.compact.map { |v| _to_hash(v) }
|
|
316
|
+
elsif value.is_a?(Hash)
|
|
317
|
+
{}.tap do |hash|
|
|
318
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
319
|
+
end
|
|
320
|
+
elsif value.respond_to? :to_hash
|
|
321
|
+
value.to_hash
|
|
322
|
+
else
|
|
323
|
+
value
|
|
324
|
+
end
|
|
325
|
+
end
|
|
326
|
+
|
|
327
|
+
end
|
|
328
|
+
|
|
329
|
+
end
|
|
@@ -79,7 +79,7 @@ class Sender
|
|
|
79
79
|
# The nationality of the sender (used only with a Personal sender)
|
|
80
80
|
attr_accessor :nationality
|
|
81
81
|
|
|
82
|
-
# Legal entity type (used only with a Business sender) Available values: - sole_proprietorship: Sole Proprietorship - partnership: Partnership - privately_owned_company: Privately Owned Company (Limited Company) - publicly_owned_company: Publicly Listed Company (PLC) - government_owned_entity: Government Owned Entity Trusts - trust: Foundations & Similar Entities - ngo: Non-Government Organisations / Charities inc Religious bodies and place of worship - club_and_society: Clubs and Societies - go: GO (Majority Owned Subsidiary of State-Owned Company) - financial_institution: Financial Institution Please note not all values are acceptable for some our corridors. Please reach out to our sales teams for more information. Note that if you select `financial_institution` then the fields `vat_registration_number`, `financial_regulator` and `regulatory_licence_number` will be mandatory as well.
|
|
82
|
+
# Legal entity type (used only with a Business sender) Available values: - sole_proprietorship: Sole Proprietorship - partnership: Partnership - privately_owned_company: Privately Owned Company (Limited Company) - publicly_owned_company: Publicly Listed Company (PLC) - government_owned_entity: Government Owned Entity Trusts - trust: Foundations & Similar Entities - ngo: Non-Government Organisations / Charities inc Religious bodies and place of worship - club_and_society: Clubs and Societies - go: GO (Majority Owned Subsidiary of State-Owned Company) - financial_institution: Financial Institution - mto: Money Transfer Operator (MTO) / Other Licensed Financial Institution Please note not all values are acceptable for some our corridors. Please reach out to our sales teams for more information. Note that if you select `financial_institution` then the fields `vat_registration_number`, `financial_regulator` and `regulatory_licence_number` will be mandatory as well. Note that if you select `mto` then following fields will be mandatory as well: `regulatory_licence_number`, `company_office_number`, `company_office_number_country`, `aml_officer_email`, `aml_officer_phone`, `aml_officer_phone_country`, `company_website_url`, `tax_identification_no`, `number_of_employees_in_company`, `list_of_countries_of_operation`, `estimated_annual_revenue_turnover`, `declaration`.
|
|
83
83
|
attr_accessor :legal_entity_type
|
|
84
84
|
|
|
85
85
|
# The registration date (used only with a Business sender)
|
|
@@ -166,6 +166,39 @@ class Sender
|
|
|
166
166
|
# Date and time of sender was created
|
|
167
167
|
attr_accessor :created_at
|
|
168
168
|
|
|
169
|
+
# Phone number of company office (without country callcode, used only with a Business sender)
|
|
170
|
+
attr_accessor :company_office_number
|
|
171
|
+
|
|
172
|
+
# Phone number country of company office in 2-character alpha ISO 3166-2 country format (used only with a Business sender)
|
|
173
|
+
attr_accessor :company_office_number_country
|
|
174
|
+
|
|
175
|
+
# Email address of AML Officer (used only with a Business sender)
|
|
176
|
+
attr_accessor :aml_officer_email
|
|
177
|
+
|
|
178
|
+
# Phone number of AML Officer (without country callcode, used only with a Business sender)
|
|
179
|
+
attr_accessor :aml_officer_phone
|
|
180
|
+
|
|
181
|
+
# Phone number country of AML Officer in 2-character alpha ISO 3166-2 country format (used only with a Business sender)
|
|
182
|
+
attr_accessor :aml_officer_phone_country
|
|
183
|
+
|
|
184
|
+
# Company website URL (used only with a Business sender)
|
|
185
|
+
attr_accessor :company_website_url
|
|
186
|
+
|
|
187
|
+
# Tax Identification Number (used only with a Business sender)
|
|
188
|
+
attr_accessor :tax_identification_no
|
|
189
|
+
|
|
190
|
+
# Number of employees in company (used only with a Business sender)
|
|
191
|
+
attr_accessor :number_of_employees_in_company
|
|
192
|
+
|
|
193
|
+
# List of countries of operation (used only with a Business sender)
|
|
194
|
+
attr_accessor :list_of_countries_of_operation
|
|
195
|
+
|
|
196
|
+
# Estimated annual turnover (in USD or equivalent, used only with a Business sender)
|
|
197
|
+
attr_accessor :estimated_annual_revenue_turnover
|
|
198
|
+
|
|
199
|
+
# Declaration that the signatory is authorised (used only with a Business sender)
|
|
200
|
+
attr_accessor :declaration
|
|
201
|
+
|
|
169
202
|
class EnumAttributeValidator
|
|
170
203
|
attr_reader :datatype
|
|
171
204
|
attr_reader :allowable_values
|
|
@@ -241,7 +274,18 @@ class Sender
|
|
|
241
274
|
:'country_of_birth' => :'country_of_birth',
|
|
242
275
|
:'gender' => :'gender',
|
|
243
276
|
:'sales_lead_id' => :'sales_lead_id',
|
|
244
|
-
:'created_at' => :'created_at'
|
|
277
|
+
:'created_at' => :'created_at',
|
|
278
|
+
:'company_office_number' => :'company_office_number',
|
|
279
|
+
:'company_office_number_country' => :'company_office_number_country',
|
|
280
|
+
:'aml_officer_email' => :'aml_officer_email',
|
|
281
|
+
:'aml_officer_phone' => :'aml_officer_phone',
|
|
282
|
+
:'aml_officer_phone_country' => :'aml_officer_phone_country',
|
|
283
|
+
:'company_website_url' => :'company_website_url',
|
|
284
|
+
:'tax_identification_no' => :'tax_identification_no',
|
|
285
|
+
:'number_of_employees_in_company' => :'number_of_employees_in_company',
|
|
286
|
+
:'list_of_countries_of_operation' => :'list_of_countries_of_operation',
|
|
287
|
+
:'estimated_annual_revenue_turnover' => :'estimated_annual_revenue_turnover',
|
|
288
|
+
:'declaration' => :'declaration'
|
|
245
289
|
}
|
|
246
290
|
end
|
|
247
291
|
|
|
@@ -298,7 +342,18 @@ class Sender
|
|
|
298
342
|
:'country_of_birth' => :'String',
|
|
299
343
|
:'gender' => :'String',
|
|
300
344
|
:'sales_lead_id' => :'String',
|
|
301
|
-
:'created_at' => :'String'
|
|
345
|
+
:'created_at' => :'String',
|
|
346
|
+
:'company_office_number' => :'String',
|
|
347
|
+
:'company_office_number_country' => :'String',
|
|
348
|
+
:'aml_officer_email' => :'String',
|
|
349
|
+
:'aml_officer_phone' => :'String',
|
|
350
|
+
:'aml_officer_phone_country' => :'String',
|
|
351
|
+
:'company_website_url' => :'String',
|
|
352
|
+
:'tax_identification_no' => :'String',
|
|
353
|
+
:'number_of_employees_in_company' => :'String',
|
|
354
|
+
:'list_of_countries_of_operation' => :'Array<String>',
|
|
355
|
+
:'estimated_annual_revenue_turnover' => :'String',
|
|
356
|
+
:'declaration' => :'String'
|
|
302
357
|
}
|
|
303
358
|
end
|
|
304
359
|
|
|
@@ -526,6 +581,52 @@ class Sender
|
|
|
526
581
|
if attributes.key?(:'created_at')
|
|
527
582
|
self.created_at = attributes[:'created_at']
|
|
528
583
|
end
|
|
584
|
+
|
|
585
|
+
if attributes.key?(:'company_office_number')
|
|
586
|
+
self.company_office_number = attributes[:'company_office_number']
|
|
587
|
+
end
|
|
588
|
+
|
|
589
|
+
if attributes.key?(:'company_office_number_country')
|
|
590
|
+
self.company_office_number_country = attributes[:'company_office_number_country']
|
|
591
|
+
end
|
|
592
|
+
|
|
593
|
+
if attributes.key?(:'aml_officer_email')
|
|
594
|
+
self.aml_officer_email = attributes[:'aml_officer_email']
|
|
595
|
+
end
|
|
596
|
+
|
|
597
|
+
if attributes.key?(:'aml_officer_phone')
|
|
598
|
+
self.aml_officer_phone = attributes[:'aml_officer_phone']
|
|
599
|
+
end
|
|
600
|
+
|
|
601
|
+
if attributes.key?(:'aml_officer_phone_country')
|
|
602
|
+
self.aml_officer_phone_country = attributes[:'aml_officer_phone_country']
|
|
603
|
+
end
|
|
604
|
+
|
|
605
|
+
if attributes.key?(:'company_website_url')
|
|
606
|
+
self.company_website_url = attributes[:'company_website_url']
|
|
607
|
+
end
|
|
608
|
+
|
|
609
|
+
if attributes.key?(:'tax_identification_no')
|
|
610
|
+
self.tax_identification_no = attributes[:'tax_identification_no']
|
|
611
|
+
end
|
|
612
|
+
|
|
613
|
+
if attributes.key?(:'number_of_employees_in_company')
|
|
614
|
+
self.number_of_employees_in_company = attributes[:'number_of_employees_in_company']
|
|
615
|
+
end
|
|
616
|
+
|
|
617
|
+
if attributes.key?(:'list_of_countries_of_operation')
|
|
618
|
+
if (value = attributes[:'list_of_countries_of_operation']).is_a?(Array)
|
|
619
|
+
self.list_of_countries_of_operation = value
|
|
620
|
+
end
|
|
621
|
+
end
|
|
622
|
+
|
|
623
|
+
if attributes.key?(:'estimated_annual_revenue_turnover')
|
|
624
|
+
self.estimated_annual_revenue_turnover = attributes[:'estimated_annual_revenue_turnover']
|
|
625
|
+
end
|
|
626
|
+
|
|
627
|
+
if attributes.key?(:'declaration')
|
|
628
|
+
self.declaration = attributes[:'declaration']
|
|
629
|
+
end
|
|
529
630
|
end
|
|
530
631
|
|
|
531
632
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -581,7 +682,7 @@ class Sender
|
|
|
581
682
|
return false if @ip.nil?
|
|
582
683
|
identification_type_validator = EnumAttributeValidator.new('String', ["DL", "PP", "ID", "OT"])
|
|
583
684
|
return false unless identification_type_validator.valid?(@identification_type)
|
|
584
|
-
legal_entity_type_validator = EnumAttributeValidator.new('String', ["sole_proprietorship", "partnership", "privately_owned_company", "publicly_owned_company", "government_owned_entity", "trust", "ngo", "club_and_society", "go", "other", "financial_institution"])
|
|
685
|
+
legal_entity_type_validator = EnumAttributeValidator.new('String', ["sole_proprietorship", "partnership", "privately_owned_company", "publicly_owned_company", "government_owned_entity", "trust", "ngo", "club_and_society", "go", "other", "financial_institution", "mto"])
|
|
585
686
|
return false unless legal_entity_type_validator.valid?(@legal_entity_type)
|
|
586
687
|
nature_of_business_validator = EnumAttributeValidator.new('String', ["personal", "agriculture_and_hunting", "forestry", "fishing", "agricultural_by_products", "coal_mining", "oil_mining", "iron_ore_mining", "other_metal_and_diamond_mining", "other_mineral_mining", "manufacturing_of_food_drink_tobacco", "manufacturing_of_textiles_leather_fur_furniture", "manufacture_of_wooden_products_furniture", "manufacture_of_paper_pulp_allied_products", "manufacture_of_chemicals_medical_petroleum_rubber_plastic_products", "manufacture_of_pottery_china_glass_stone", "manufacture_of_iron_steel_non_ferrous_metals_basic_industries", "manufacture_of_metal_products_electrical_and_scientific_engineering", "manufacture_of_jewelry_musical_instruments_toys", "electricity_gas_and_water", "construction", "wholesale_trade", "retail_trade", "catering_incl_hotels", "transport_storage", "communications", "finance_and_holding_companies", "insurance", "business_services", "real_estate_development_investment", "central_state_governments", "community_services_defence_police_prisons_etc", "social_services_education_health_care", "personal_services_leisure_services", "personal_services_domestic_laundry_repairs", "personal_services_embassies_international_organisations"])
|
|
587
688
|
return false unless nature_of_business_validator.valid?(@nature_of_business)
|
|
@@ -614,7 +715,7 @@ class Sender
|
|
|
614
715
|
# Custom attribute writer method checking allowed values (enum).
|
|
615
716
|
# @param [Object] legal_entity_type Object to be assigned
|
|
616
717
|
def legal_entity_type=(legal_entity_type)
|
|
617
|
-
validator = EnumAttributeValidator.new('String', ["sole_proprietorship", "partnership", "privately_owned_company", "publicly_owned_company", "government_owned_entity", "trust", "ngo", "club_and_society", "go", "other", "financial_institution"])
|
|
718
|
+
validator = EnumAttributeValidator.new('String', ["sole_proprietorship", "partnership", "privately_owned_company", "publicly_owned_company", "government_owned_entity", "trust", "ngo", "club_and_society", "go", "other", "financial_institution", "mto"])
|
|
618
719
|
unless validator.valid?(legal_entity_type) || legal_entity_type.empty?
|
|
619
720
|
fail ArgumentError, "invalid value for \"legal_entity_type\", must be one of #{validator.allowable_values}."
|
|
620
721
|
end
|
|
@@ -696,7 +797,18 @@ class Sender
|
|
|
696
797
|
country_of_birth == o.country_of_birth &&
|
|
697
798
|
gender == o.gender &&
|
|
698
799
|
sales_lead_id == o.sales_lead_id &&
|
|
699
|
-
created_at == o.created_at
|
|
800
|
+
created_at == o.created_at &&
|
|
801
|
+
company_office_number == o.company_office_number &&
|
|
802
|
+
company_office_number_country == o.company_office_number_country &&
|
|
803
|
+
aml_officer_email == o.aml_officer_email &&
|
|
804
|
+
aml_officer_phone == o.aml_officer_phone &&
|
|
805
|
+
aml_officer_phone_country == o.aml_officer_phone_country &&
|
|
806
|
+
company_website_url == o.company_website_url &&
|
|
807
|
+
tax_identification_no == o.tax_identification_no &&
|
|
808
|
+
number_of_employees_in_company == o.number_of_employees_in_company &&
|
|
809
|
+
list_of_countries_of_operation == o.list_of_countries_of_operation &&
|
|
810
|
+
estimated_annual_revenue_turnover == o.estimated_annual_revenue_turnover &&
|
|
811
|
+
declaration == o.declaration
|
|
700
812
|
end
|
|
701
813
|
|
|
702
814
|
# @see the `==` method
|
|
@@ -708,7 +820,7 @@ class Sender
|
|
|
708
820
|
# Calculates hash code according to all attributes.
|
|
709
821
|
# @return [Integer] Hash code
|
|
710
822
|
def hash
|
|
711
|
-
[id, type, state, country, street, postal_code, city, phone_country, phone_number, email, ip, address_description, identification_number, identification_type, lang, name, first_name, middle_name, last_name, birth_date, occupation, nationality, legal_entity_type, registration_date, registration_number, nature_of_business, source_of_funds, custom_source_of_funds, core_business_activity, purpose_of_opening_account, office_phone, vat_registration_number, financial_regulator, regulatory_licence_number, contact_person_email, trading_country, trading_address, trading_name, number_monthly_transactions, amount_monthly_transactions, documents, metadata, errors, onboarding_status, politically_exposed_people, external_id, city_of_birth, country_of_birth, gender, sales_lead_id, created_at].hash
|
|
823
|
+
[id, type, state, country, street, postal_code, city, phone_country, phone_number, email, ip, address_description, identification_number, identification_type, lang, name, first_name, middle_name, last_name, birth_date, occupation, nationality, legal_entity_type, registration_date, registration_number, nature_of_business, source_of_funds, custom_source_of_funds, core_business_activity, purpose_of_opening_account, office_phone, vat_registration_number, financial_regulator, regulatory_licence_number, contact_person_email, trading_country, trading_address, trading_name, number_monthly_transactions, amount_monthly_transactions, documents, metadata, errors, onboarding_status, politically_exposed_people, external_id, city_of_birth, country_of_birth, gender, sales_lead_id, created_at, company_office_number, company_office_number_country, aml_officer_email, aml_officer_phone, aml_officer_phone_country, company_website_url, tax_identification_no, number_of_employees_in_company, list_of_countries_of_operation, estimated_annual_revenue_turnover, declaration].hash
|
|
712
824
|
end
|
|
713
825
|
|
|
714
826
|
require 'active_support/core_ext/hash'
|
data/lib/transferzero-sdk.rb
CHANGED
|
@@ -67,6 +67,7 @@ require 'transferzero-sdk/models/payout_method_bank_account_type_enum'
|
|
|
67
67
|
require 'transferzero-sdk/models/payout_method_cash_provider_enum'
|
|
68
68
|
require 'transferzero-sdk/models/payout_method_country_enum'
|
|
69
69
|
require 'transferzero-sdk/models/payout_method_details'
|
|
70
|
+
require 'transferzero-sdk/models/payout_method_details_brl_bank'
|
|
70
71
|
require 'transferzero-sdk/models/payout_method_details_btc'
|
|
71
72
|
require 'transferzero-sdk/models/payout_method_details_balance'
|
|
72
73
|
require 'transferzero-sdk/models/payout_method_details_gbp_bank'
|
|
@@ -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::PayoutMethodDetailsBRLBank
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'PayoutMethodDetailsBRLBank' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = TransferZero::PayoutMethodDetailsBRLBank.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of PayoutMethodDetailsBRLBank' do
|
|
31
|
+
it 'should create an instance of PayoutMethodDetailsBRLBank' do
|
|
32
|
+
expect(@instance).to be_instance_of(TransferZero::PayoutMethodDetailsBRLBank)
|
|
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_code"' 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
|
+
describe 'test attribute "bank_account"' 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 "bank_account_type"' 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 "identity_card_type"' 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 "identity_card_id"' 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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/transferzero-sdk-1.20.1.gem
CHANGED
|
Binary file
|
|
Binary file
|
data/transferzero-sdk-1.22.0.gem
CHANGED
|
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.
|
|
4
|
+
version: 1.23.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- TransferZero
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-11-21 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
|
|
@@ -154,6 +155,7 @@ files:
|
|
|
154
155
|
- docs/PayoutMethodCashProviderEnum.md
|
|
155
156
|
- docs/PayoutMethodCountryEnum.md
|
|
156
157
|
- docs/PayoutMethodDetails.md
|
|
158
|
+
- docs/PayoutMethodDetailsBRLBank.md
|
|
157
159
|
- docs/PayoutMethodDetailsBTC.md
|
|
158
160
|
- docs/PayoutMethodDetailsBalance.md
|
|
159
161
|
- docs/PayoutMethodDetailsGBPBank.md
|
|
@@ -301,6 +303,7 @@ files:
|
|
|
301
303
|
- lib/transferzero-sdk/models/payout_method_country_enum.rb
|
|
302
304
|
- lib/transferzero-sdk/models/payout_method_details.rb
|
|
303
305
|
- lib/transferzero-sdk/models/payout_method_details_balance.rb
|
|
306
|
+
- lib/transferzero-sdk/models/payout_method_details_brl_bank.rb
|
|
304
307
|
- lib/transferzero-sdk/models/payout_method_details_btc.rb
|
|
305
308
|
- lib/transferzero-sdk/models/payout_method_details_gbp_bank.rb
|
|
306
309
|
- lib/transferzero-sdk/models/payout_method_details_ghs_bank.rb
|
|
@@ -436,6 +439,7 @@ files:
|
|
|
436
439
|
- spec/models/payout_method_cash_provider_enum_spec.rb
|
|
437
440
|
- spec/models/payout_method_country_enum_spec.rb
|
|
438
441
|
- spec/models/payout_method_details_balance_spec.rb
|
|
442
|
+
- spec/models/payout_method_details_brl_bank_spec.rb
|
|
439
443
|
- spec/models/payout_method_details_btc_spec.rb
|
|
440
444
|
- spec/models/payout_method_details_gbp_bank_spec.rb
|
|
441
445
|
- spec/models/payout_method_details_ghs_bank_spec.rb
|
|
@@ -509,8 +513,15 @@ files:
|
|
|
509
513
|
- spec/models/webhook_log_spec.rb
|
|
510
514
|
- spec/models/webhook_spec.rb
|
|
511
515
|
- spec/spec_helper.rb
|
|
516
|
+
- transferzero-sdk-1.19.0.gem
|
|
517
|
+
- transferzero-sdk-1.19.2.gem
|
|
518
|
+
- transferzero-sdk-1.19.3.gem
|
|
519
|
+
- transferzero-sdk-1.19.4.gem
|
|
520
|
+
- transferzero-sdk-1.19.5.gem
|
|
512
521
|
- transferzero-sdk-1.20.1.gem
|
|
522
|
+
- transferzero-sdk-1.21.0.gem
|
|
513
523
|
- transferzero-sdk-1.22.0.gem
|
|
524
|
+
- transferzero-sdk-1.23.0.gem
|
|
514
525
|
- transferzero-sdk.gemspec
|
|
515
526
|
homepage: https://github.com/transferzero/transferzero-sdk-ruby
|
|
516
527
|
licenses:
|
|
@@ -598,6 +609,7 @@ test_files:
|
|
|
598
609
|
- spec/models/payin_method_state_spec.rb
|
|
599
610
|
- spec/models/document_response_spec.rb
|
|
600
611
|
- spec/models/currency_exchange_list_response_spec.rb
|
|
612
|
+
- spec/models/payout_method_details_brl_bank_spec.rb
|
|
601
613
|
- spec/models/validation_error_description_spec.rb
|
|
602
614
|
- spec/models/payin_method_request_spec.rb
|
|
603
615
|
- spec/models/proof_of_payment_list_response_spec.rb
|