transferzero-sdk 1.23.3 → 1.23.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AccountValidationRequest.md +1 -1
- data/docs/PayinMethodDetails.md +1 -1
- data/docs/PayinMethodDetailsMobile.md +1 -1
- data/docs/Sender.md +1 -1
- data/lib/transferzero-sdk/api_client.rb +1 -1
- data/lib/transferzero-sdk/models/account_validation_request.rb +1 -1
- data/lib/transferzero-sdk/models/payin_method_details_mobile.rb +1 -1
- data/lib/transferzero-sdk/models/payout_method_details_brl_bank.rb +1 -1
- data/lib/transferzero-sdk/models/payout_method_details_ghs_cash.rb +1 -1
- data/lib/transferzero-sdk/models/payout_method_details_gnf_mobile.rb +1 -1
- data/lib/transferzero-sdk/models/payout_method_details_kes_mobile.rb +1 -1
- data/lib/transferzero-sdk/models/payout_method_details_mad_cash.rb +1 -1
- data/lib/transferzero-sdk/models/payout_method_details_mobile.rb +1 -1
- data/lib/transferzero-sdk/models/payout_method_details_usd_bank.rb +1 -1
- data/lib/transferzero-sdk/models/payout_method_details_usd_cash.rb +1 -1
- data/lib/transferzero-sdk/models/payout_method_details_xaf_mobile.rb +1 -1
- data/lib/transferzero-sdk/models/payout_method_details_xof_cash.rb +1 -1
- data/lib/transferzero-sdk/models/payout_method_details_xof_mobile.rb +1 -1
- data/lib/transferzero-sdk/models/payout_method_details_zar_bank.rb +1 -1
- data/lib/transferzero-sdk/models/sender.rb +1 -6
- data/lib/transferzero-sdk/version.rb +1 -1
- data/transferzero-sdk-1.20.1.gem +0 -0
- data/transferzero-sdk-1.22.0.gem +0 -0
- data/transferzero-sdk-1.22.1.gem +0 -0
- metadata +3 -10
- data/Gemfile.lock +0 -92
- 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.21.0.gem +0 -0
- data/transferzero-sdk-1.23.0.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08277e352124f818b74713c8f0426ae4f00259ebbcec8bb22a3f5725382d4af3'
|
4
|
+
data.tar.gz: c2a79facc169d164ea487c088d075d0ff4e7b7dcfad7f1b791aac3365811d85e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89da4859814824be5dea389f04248542cf54d6001c5b4a227d9765a9f22cde20115310920db5740f91e817a509173cb796497b843c472d4b303d0d9ec52e0085
|
7
|
+
data.tar.gz: 65e22b15eea9ea8365d02b3b29ab5cc7b522ed8185ae84e0674a643e5a6d31b0773bab7f6f7defc41e2bc1d630d635a38c76276a5b54c21e37ac517f17b919b3
|
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.23.
|
10
|
+
- Package version: 1.23.4
|
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.23.
|
34
|
+
gem install ./transferzero-sdk-1.23.4.gem
|
35
35
|
```
|
36
|
-
(for development, run `gem install --dev ./transferzero-sdk-1.23.
|
36
|
+
(for development, run `gem install --dev ./transferzero-sdk-1.23.4.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.23.
|
42
|
+
gem 'transferzero-sdk', '~> 1.23.4'
|
43
43
|
|
44
44
|
### Install from Git
|
45
45
|
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**bank_account** | **String** | Account Number to query | [optional]
|
8
8
|
**bank_code** | **String** | Bank Code to query - same codes are used as for creating the transactions | [optional]
|
9
9
|
**iban** | **String** | IBAN to query - BBAN format for XOF bank accounts | [optional]
|
10
|
-
**phone_number** | **String** | Phone number to query | [optional]
|
10
|
+
**phone_number** | **String** | Phone number to query in E.164 format | [optional]
|
11
11
|
**mobile_provider** | [**PayoutMethodMobileProviderEnum**](PayoutMethodMobileProviderEnum.md) | | [optional]
|
12
12
|
**country** | **String** | Country of account in 2-character alpha ISO 3166-2 country format |
|
13
13
|
**currency** | **String** | The currency the bank account is in |
|
data/docs/PayinMethodDetails.md
CHANGED
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
|
|
14
14
|
```ruby
|
15
15
|
require 'TransferZero'
|
16
16
|
|
17
|
-
instance = TransferZero::PayinMethodDetailsMobile.new(phone_number: +
|
17
|
+
instance = TransferZero::PayinMethodDetailsMobile.new(phone_number: +256129999999,
|
18
18
|
mobile_provider: null,
|
19
19
|
country: null,
|
20
20
|
otp: null)
|
data/docs/Sender.md
CHANGED
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
**street** | **String** | Sender's street |
|
12
12
|
**postal_code** | **String** | Zip code of sender |
|
13
13
|
**city** | **String** | Sender's city |
|
14
|
-
**phone_country** | **String** | Phone country of sender in 2-character alpha ISO 3166-2 country format |
|
14
|
+
**phone_country** | **String** | Phone country of sender in 2-character alpha ISO 3166-2 country format | [optional]
|
15
15
|
**phone_number** | **String** | Phone number of sender (without country callcode) | [optional]
|
16
16
|
**email** | **String** | Email of sender |
|
17
17
|
**ip** | **String** | IP of sender |
|
@@ -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.23.
|
39
|
+
@user_agent = "TransferZero-SDK/Ruby/1.23.4"
|
40
40
|
@default_headers = {
|
41
41
|
'Content-Type' => 'application/json',
|
42
42
|
'User-Agent' => @user_agent
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.0.0-beta3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module TransferZero
|
16
|
-
# ```JSON \"details\": { \"phone_number\": \"+
|
16
|
+
# ```JSON \"details\": { \"phone_number\": \"+256129999999\", } ```
|
17
17
|
class PayinMethodDetailsMobile
|
18
18
|
# The phone number where the funds should be collected from
|
19
19
|
attr_accessor :phone_number
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.0.0-beta3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
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
|
16
|
+
# ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"+552112345678\", // E.164 international format \"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
17
|
class PayoutMethodDetailsBRLBank
|
18
18
|
attr_accessor :first_name
|
19
19
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.0.0-beta3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module TransferZero
|
16
|
-
# ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"
|
16
|
+
# ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"+233322023144\" } ```
|
17
17
|
class PayoutMethodDetailsGHSCash
|
18
18
|
attr_accessor :first_name
|
19
19
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.0.0-beta3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module TransferZero
|
16
|
-
# ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"
|
16
|
+
# ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"+224444044436\", // E.164 international format \"mobile_provider\": \"mtn\" } ```
|
17
17
|
class PayoutMethodDetailsGNFMobile
|
18
18
|
attr_accessor :first_name
|
19
19
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.0.0-beta3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module TransferZero
|
16
|
-
# ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"street\": \"Main Street\", \"phone_number\": \"+254997853134\", \"mobile_provider\": \"mpesa\", \"transfer_reason\": \"personal_account\", // New transfer reason field \"identity_card_type\": \"ID\", \"identity_card_id\": \"AB12345678\" } ``` See [KES Mobile](https://docs.transferzero.com/docs/payout-details/#kesmobile) documentation for transfer_reason lists
|
16
|
+
# ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"street\": \"Main Street\", \"phone_number\": \"+254997853134\", // E.164 international format \"mobile_provider\": \"mpesa\", \"transfer_reason\": \"personal_account\", // New transfer reason field \"identity_card_type\": \"ID\", \"identity_card_id\": \"AB12345678\" } ``` See [KES Mobile](https://docs.transferzero.com/docs/payout-details/#kesmobile) documentation for transfer_reason lists
|
17
17
|
class PayoutMethodDetailsKESMobile
|
18
18
|
attr_accessor :first_name
|
19
19
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.0.0-beta3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module TransferZero
|
16
|
-
# ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"212537718685\" # Mandatory;
|
16
|
+
# ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"+212537718685\" # Mandatory; E.164 international format \"sender_identity_card_type\" => \"O\", # Mandatory; Values: \"O\": Other, \"PP\": Passport, \"ID\": National ID \"sender_identity_card_id\" => 'AB12345678', # Mandatory \"sender_city_of_birth\" => \"London\", # Optional \"sender_country_of_birth\" => \"GB\", # Optional; ISO 2-letter format \"sender_gender\" => \"M\", # Optional; Values: \"M\": Male, \"F\": Female \"reason\" => \"Remittance payment\", # Optional; Default value is 'Remittance payment' \"identity_card_type\" => \"ID\", # Optional; Values: \"PP\": Passport, \"ID\": National ID \"identity_card_id\" => 'AB12345678' # Optional } ``` Please note when sending MAD::Cash payments you should subscribe to the recipient.pending webhook, as that will broadcast the payment reference ID the customer need to use to obtain the funds. Example webhook response excerpt - ```JSON { (...) \"state\":\"pending\", \"metadata\": { \"payment_reference\":\"9M5GJRJUBCY\" }, (...) } ``` The reference can also be provided optionally for MAD::Cash, but if you want to use this functionality please contact us for more details.
|
17
17
|
class PayoutMethodDetailsMADCash
|
18
18
|
attr_accessor :first_name
|
19
19
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.0.0-beta3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module TransferZero
|
16
|
-
# ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"
|
16
|
+
# ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"+221708766123\" // E.164 international format } ``` Please note when sending XOF::Cash payments you should subscribe to the recipient.pending webhook, as that will broadcast the payment reference ID the customer need to use to obtain the funds. Example webhook response excerpt - ```JSON { (...) \"state\":\"pending\", \"metadata\": { \"payment_reference\":\"9M5GJRJUBCY\" }, (...) } ```
|
17
17
|
class PayoutMethodDetailsMobile
|
18
18
|
attr_accessor :first_name
|
19
19
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.0.0-beta3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module TransferZero
|
16
|
-
# ```JSON \"details\": { \"first_name\": \"Jane\", \"last_name\": \"Doe\", \"phone_number\": \"+2341234567\", \"bank_code\": \"057\", \"bank_account\": \"1234567890\", \"country\": \"NG\" } ``` See [USD Bank](https://docs.transferzero.com/docs/payout-details/#usdbank) documentation for the bank_code and country lists
|
16
|
+
# ```JSON \"details\": { \"first_name\": \"Jane\", \"last_name\": \"Doe\", \"phone_number\": \"+2341234567\", // E.164 international format \"bank_code\": \"057\", \"bank_account\": \"1234567890\", \"country\": \"NG\" } ``` See [USD Bank](https://docs.transferzero.com/docs/payout-details/#usdbank) documentation for the bank_code and country lists
|
17
17
|
class PayoutMethodDetailsUSDBank
|
18
18
|
attr_accessor :first_name
|
19
19
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.0.0-beta3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module TransferZero
|
16
|
-
# ```JSON \"details\": { \"first_name\": \"Jane\", \"last_name\": \"Doe\", \"phone_number\": \"+2341234567\", \"country\": \"NG\" } ``` See [USD Cash](https://docs.transferzero.com/docs/payout-details/#usdcash) documentation for the country list
|
16
|
+
# ```JSON \"details\": { \"first_name\": \"Jane\", \"last_name\": \"Doe\", \"phone_number\": \"+2341234567\", // E.164 international format \"country\": \"NG\" } ``` See [USD Cash](https://docs.transferzero.com/docs/payout-details/#usdcash) documentation for the country list
|
17
17
|
class PayoutMethodDetailsUSDCash
|
18
18
|
attr_accessor :first_name
|
19
19
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.0.0-beta3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module TransferZero
|
16
|
-
# ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"
|
16
|
+
# ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"+237674044436\", // E.164 international format \"mobile_provider\": \"orange\", // or mtn\" \"country\" // Optional; Values: \"CM\" } ```
|
17
17
|
class PayoutMethodDetailsXAFMobile
|
18
18
|
attr_accessor :first_name
|
19
19
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.0.0-beta3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module TransferZero
|
16
|
-
# ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"221774044436\", //
|
16
|
+
# ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"+221774044436\", // E.164 international format \"cash_provider\": \"wizall\" // Mandatory; Values: \"wizall\"; \"country\": \"SN\" // Optional; Values: \"CI\", \"ML\" or \"SN\"; Default value is \"SN\"; } ``` Please note all senders trying to create Wizall cash pickup requests must have `identity_type` and `identity_number` present. The fields above are generally considered optional for senders for other payment corridors. If you wish to use an existing sender who has some of these fields missing you can provide them alongside the `id` or `external_id` field in the sender details. For example - ```JSON { \"transaction\": { \"sender\": { \"external_id\": \"<id of sender>\", \"identity_type\": \"ID\", \"identity_number\": \"AB12345678\", (...) }, (...) } } ```
|
17
17
|
class PayoutMethodDetailsXOFCash
|
18
18
|
attr_accessor :first_name
|
19
19
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.0.0-beta3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module TransferZero
|
16
|
-
# ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"
|
16
|
+
# ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"+221708766123\", // E.164 international format \"mobile_provider\": \"orange\", // \"orange\", \"tigo\", \"emoney\", \"free\" or \"wave\" for Senegal; \"orange\", \"mtn\" or \"moov\" for Ivory Coast; \"orange\" or \"mobicash\" for Burkina Faso and Mali \"country\" // Optional; Values: \"SN\" for Senegal; \"CI\" for Ivory Coast; \"ML\" for Mali; \"BF\" for Burkina Faso; Default value is \"SN\" \"transfer_reason\": \"personal_account\" // mandatory for Mali payouts, optional otherwise } ```
|
17
17
|
class PayoutMethodDetailsXOFMobile
|
18
18
|
attr_accessor :first_name
|
19
19
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.0.0-beta3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module TransferZero
|
16
|
-
# ```JSON \"details\": { \"first_name\": \"First\", // Mandatory for personal payouts; \"last_name\": \"Last\", // Mandatory for personal payouts; \"name\" \"First Ltd\", // Mandatory for business payouts; \"contact_first_name\" \"Business\", // Mandatory for business payouts; \"contact_last_name\" \"Contact\", // Mandatory for business payouts; \"street\": \"Main Street\", \"postal_code\": \"AB0001\", \"city\": \"Cape Town\", \"email\": \"recipient@email.com\", \"bank_name\" 'Bank Zero', // Optional \"bank_code\": \"334810\", \"bank_account\": \"12345678\", \"phone_number\": \"+27119785313\", \"transfer_reason\": \"personal_account\", // New transfer reason field \"legal_entity_type\": \"sole_proprietorship\", // Optional; Default value is \"person\"; Mandatory for business payouts; \"nature_of_business\": \"mining\", // Optional for business payouts; \"registration_number\": \"17364BGC\" // Optional for business payouts; } ``` See [ZAR Bank](https://docs.transferzero.com/docs/payout-details/#zarbank) documentation for the bank_code and transfer_reason lists
|
16
|
+
# ```JSON \"details\": { \"first_name\": \"First\", // Mandatory for personal payouts; \"last_name\": \"Last\", // Mandatory for personal payouts; \"name\" \"First Ltd\", // Mandatory for business payouts; \"contact_first_name\" \"Business\", // Mandatory for business payouts; \"contact_last_name\" \"Contact\", // Mandatory for business payouts; \"street\": \"Main Street\", \"postal_code\": \"AB0001\", \"city\": \"Cape Town\", \"email\": \"recipient@email.com\", \"bank_name\" 'Bank Zero', // Optional \"bank_code\": \"334810\", \"bank_account\": \"12345678\", \"phone_number\": \"+27119785313\", // E.164 international format \"transfer_reason\": \"personal_account\", // New transfer reason field \"legal_entity_type\": \"sole_proprietorship\", // Optional; Default value is \"person\"; Mandatory for business payouts; \"nature_of_business\": \"mining\", // Optional for business payouts; \"registration_number\": \"17364BGC\" // Optional for business payouts; } ``` See [ZAR Bank](https://docs.transferzero.com/docs/payout-details/#zarbank) documentation for the bank_code and transfer_reason lists
|
17
17
|
class PayoutMethodDetailsZARBank
|
18
18
|
attr_accessor :first_name
|
19
19
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.0.0-beta3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module TransferZero
|
16
|
-
# This contains the details of the sender. The first time a specific sender is used the full details should be provided. Once a sender is created and is used, the next time you MUST only send the ID of the sender. This is so we can match the same sender across multiple transactions for KYC and audit purposes. Personal Sender Example: ```json { // name \"first_name\": \"Jane\", \"last_name\": \"Doe\", // address \"country\": \"US\", \"city\": \"New York\", \"street\": \"20 W 34th St\", \"postal_code\": \"10001\", \"address_description\": \"\", // DOB \"birth_date\": \"1974-12-24\", // Contact Details; You can usually use your company's contact details here \"
|
16
|
+
# This contains the details of the sender. The first time a specific sender is used the full details should be provided. Once a sender is created and is used, the next time you MUST only send the ID of the sender. This is so we can match the same sender across multiple transactions for KYC and audit purposes. Personal Sender Example: ```json { // name \"first_name\": \"Jane\", \"last_name\": \"Doe\", // address \"country\": \"US\", \"city\": \"New York\", \"street\": \"20 W 34th St\", \"postal_code\": \"10001\", \"address_description\": \"\", // DOB \"birth_date\": \"1974-12-24\", // Contact Details; You can usually use your company's contact details here \"phone_number\": \"+15555551234\", \"email\": \"info@transferzero.com\", // ID of the sender in your system \"external_id\": \"Sender:US:234523\", // these fields are mandatory, but you can usually leave them with the following default values: \"documents\": [ ], \"ip\": \"127.0.0.1\", \"metadata\": {} } ``` Business Sender Example: ```json { \"type\": \"business\", \"name\": \"Company name\", // Country of Incorporation \"country\": \"US\", // Trading address of the company \"trading_country\": \"US\", \"city\": \"New York\", \"street\": \"20 W 34th St\", \"postal_code\": \"10001\", \"address_description\": \"\", // Company Details \"legal_entity_type\": \"privately_owned_company\", \"registration_date\": \"2012-01-25\", \"registration_number\": \"VAT1234567\", \"nature_of_business\": \"retail_trade\", // Contact Details \"phone_number\": \"+15555551234\", \"email\": \"example@home.org\", // ID of the sender in your system \"external_id\": \"Sender:Business:US:234523\", // these fields are mandatory, but you can usually leave them with the following default values: \"documents\": [ ], \"ip\": \"127.0.0.1\", \"metadata\": {} } ``` [Sender in the API documentation](https://docs.transferzero.com/docs/transaction-flow/#sender)
|
17
17
|
class Sender
|
18
18
|
attr_accessor :id
|
19
19
|
|
@@ -649,10 +649,6 @@ class Sender
|
|
649
649
|
invalid_properties.push('invalid value for "city", city cannot be nil.')
|
650
650
|
end
|
651
651
|
|
652
|
-
if @phone_country.nil?
|
653
|
-
invalid_properties.push('invalid value for "phone_country", phone_country cannot be nil.')
|
654
|
-
end
|
655
|
-
|
656
652
|
if @email.nil?
|
657
653
|
invalid_properties.push('invalid value for "email", email cannot be nil.')
|
658
654
|
end
|
@@ -677,7 +673,6 @@ class Sender
|
|
677
673
|
return false if @street.nil?
|
678
674
|
return false if @postal_code.nil?
|
679
675
|
return false if @city.nil?
|
680
|
-
return false if @phone_country.nil?
|
681
676
|
return false if @email.nil?
|
682
677
|
return false if @ip.nil?
|
683
678
|
identification_type_validator = EnumAttributeValidator.new('String', ["DL", "PP", "ID", "OT"])
|
data/transferzero-sdk-1.20.1.gem
CHANGED
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.23.
|
4
|
+
version: 1.23.4
|
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-
|
11
|
+
date: 2022-11-30 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
|
@@ -513,15 +512,9 @@ files:
|
|
513
512
|
- spec/models/webhook_log_spec.rb
|
514
513
|
- spec/models/webhook_spec.rb
|
515
514
|
- 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
|
521
515
|
- transferzero-sdk-1.20.1.gem
|
522
|
-
- transferzero-sdk-1.21.0.gem
|
523
516
|
- transferzero-sdk-1.22.0.gem
|
524
|
-
- transferzero-sdk-1.
|
517
|
+
- transferzero-sdk-1.22.1.gem
|
525
518
|
- transferzero-sdk.gemspec
|
526
519
|
homepage: https://github.com/transferzero/transferzero-sdk-ruby
|
527
520
|
licenses:
|
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
|
data/transferzero-sdk-1.19.0.gem
DELETED
Binary file
|
data/transferzero-sdk-1.19.2.gem
DELETED
Binary file
|
data/transferzero-sdk-1.19.3.gem
DELETED
Binary file
|
data/transferzero-sdk-1.19.4.gem
DELETED
Binary file
|
data/transferzero-sdk-1.19.5.gem
DELETED
Binary file
|
data/transferzero-sdk-1.21.0.gem
DELETED
Binary file
|
data/transferzero-sdk-1.23.0.gem
DELETED
Binary file
|