transferzero-sdk 1.27.3 → 1.27.5
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 +88 -0
- data/README.md +4 -4
- data/docs/PayoutMethodDetails.md +2 -2
- data/docs/PayoutMethodDetailsZARBank.md +6 -4
- data/lib/transferzero-sdk/api_client.rb +1 -1
- data/lib/transferzero-sdk/models/payout_method_details.rb +15 -15
- data/lib/transferzero-sdk/models/payout_method_details_zar_bank.rb +11 -22
- data/lib/transferzero-sdk/models/payout_method_mobile_provider_enum.rb +2 -0
- data/lib/transferzero-sdk/version.rb +1 -1
- data/transferzero-sdk-1.27.0.gem +0 -0
- metadata +5 -4
- data/transferzero-sdk-1.26.1.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: ec6ee25d2a0cdcad409552bfdef94d65960d73c68acca7a76a03ceeba5ed1841
|
4
|
+
data.tar.gz: 31c122b12aae1b1d7c07859964df40f2cea90b5e7565c502fee4f213da0e7074
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fb0f07102e29b83ffecb39201c58506dd22cff551d50d6979a2e6c161bceb2ba4bb5ef9aed8eda0262715d34ff42a1a3f995adb7e9becdeca7ad37853dad093
|
7
|
+
data.tar.gz: 8bded356e648b4805383fc57a17e4dbd11f7db44811667aa1cb72c729bfca2e6b0639fa88f4248e72721238ce698da8cfeb79ed65158d02e4940bb9b5f5b8bf5
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,88 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
transferzero-sdk (1.26.1)
|
5
|
+
activesupport (>= 4, < 7)
|
6
|
+
faraday (~> 1.0, >= 1.0.1)
|
7
|
+
json (>= 1.4)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
ZenTest (4.12.1)
|
13
|
+
activesupport (6.1.7.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
|
+
byebug (11.1.3)
|
20
|
+
coderay (1.1.3)
|
21
|
+
concurrent-ruby (1.2.2)
|
22
|
+
diff-lcs (1.5.0)
|
23
|
+
faraday (1.10.3)
|
24
|
+
faraday-em_http (~> 1.0)
|
25
|
+
faraday-em_synchrony (~> 1.0)
|
26
|
+
faraday-excon (~> 1.1)
|
27
|
+
faraday-httpclient (~> 1.0)
|
28
|
+
faraday-multipart (~> 1.0)
|
29
|
+
faraday-net_http (~> 1.0)
|
30
|
+
faraday-net_http_persistent (~> 1.0)
|
31
|
+
faraday-patron (~> 1.0)
|
32
|
+
faraday-rack (~> 1.0)
|
33
|
+
faraday-retry (~> 1.0)
|
34
|
+
ruby2_keywords (>= 0.0.4)
|
35
|
+
faraday-em_http (1.0.0)
|
36
|
+
faraday-em_synchrony (1.0.0)
|
37
|
+
faraday-excon (1.1.0)
|
38
|
+
faraday-httpclient (1.0.1)
|
39
|
+
faraday-multipart (1.0.4)
|
40
|
+
multipart-post (~> 2)
|
41
|
+
faraday-net_http (1.0.1)
|
42
|
+
faraday-net_http_persistent (1.2.0)
|
43
|
+
faraday-patron (1.0.0)
|
44
|
+
faraday-rack (1.0.0)
|
45
|
+
faraday-retry (1.0.3)
|
46
|
+
i18n (1.12.0)
|
47
|
+
concurrent-ruby (~> 1.0)
|
48
|
+
json (2.6.3)
|
49
|
+
method_source (1.0.0)
|
50
|
+
minitest (5.18.0)
|
51
|
+
multipart-post (2.3.0)
|
52
|
+
pry (0.14.2)
|
53
|
+
coderay (~> 1.1)
|
54
|
+
method_source (~> 1.0)
|
55
|
+
pry-byebug (3.10.1)
|
56
|
+
byebug (~> 11.0)
|
57
|
+
pry (>= 0.13, < 0.15)
|
58
|
+
rake (12.0.0)
|
59
|
+
rspec (3.12.0)
|
60
|
+
rspec-core (~> 3.12.0)
|
61
|
+
rspec-expectations (~> 3.12.0)
|
62
|
+
rspec-mocks (~> 3.12.0)
|
63
|
+
rspec-core (3.12.1)
|
64
|
+
rspec-support (~> 3.12.0)
|
65
|
+
rspec-expectations (3.12.2)
|
66
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
67
|
+
rspec-support (~> 3.12.0)
|
68
|
+
rspec-mocks (3.12.4)
|
69
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
70
|
+
rspec-support (~> 3.12.0)
|
71
|
+
rspec-support (3.12.0)
|
72
|
+
ruby2_keywords (0.0.5)
|
73
|
+
tzinfo (2.0.6)
|
74
|
+
concurrent-ruby (~> 1.0)
|
75
|
+
zeitwerk (2.6.7)
|
76
|
+
|
77
|
+
PLATFORMS
|
78
|
+
arm64-darwin-21
|
79
|
+
|
80
|
+
DEPENDENCIES
|
81
|
+
ZenTest (~> 4.11, >= 4.11.2)
|
82
|
+
pry-byebug
|
83
|
+
rake (~> 12.0.0)
|
84
|
+
rspec (~> 3.6, >= 3.6.0)
|
85
|
+
transferzero-sdk!
|
86
|
+
|
87
|
+
BUNDLED WITH
|
88
|
+
2.4.6
|
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.27.
|
10
|
+
- Package version: 1.27.5
|
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.27.
|
34
|
+
gem install ./transferzero-sdk-1.27.5.gem
|
35
35
|
```
|
36
|
-
(for development, run `gem install --dev ./transferzero-sdk-1.27.
|
36
|
+
(for development, run `gem install --dev ./transferzero-sdk-1.27.5.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.27.
|
42
|
+
gem 'transferzero-sdk', '~> 1.27.5'
|
43
43
|
|
44
44
|
### Install from Git
|
45
45
|
|
data/docs/PayoutMethodDetails.md
CHANGED
@@ -34,6 +34,7 @@ Name | Type | Description | Notes
|
|
34
34
|
**postal_code** | **String** | |
|
35
35
|
**city** | **String** | |
|
36
36
|
**email** | **String** | | [optional]
|
37
|
+
**branch_code** | **String** | |
|
37
38
|
**transfer_reason_code** | **String** | | [optional]
|
38
39
|
**contact_first_name** | **String** | | [optional]
|
39
40
|
**contact_last_name** | **String** | | [optional]
|
@@ -42,7 +43,6 @@ Name | Type | Description | Notes
|
|
42
43
|
**legal_entity_type** | [**PayoutMethodLegalEntityTypeEnum**](PayoutMethodLegalEntityTypeEnum.md) | | [optional]
|
43
44
|
**routing_number** | **String** | | [optional]
|
44
45
|
**swift_code** | **String** | |
|
45
|
-
**branch_code** | **String** | |
|
46
46
|
**pix_key_type** | [**PayoutMethodPixKeyTypeEnum**](PayoutMethodPixKeyTypeEnum.md) | | [optional]
|
47
47
|
**pix_key_value** | **String** | | [optional]
|
48
48
|
**ifsc_code** | **String** | |
|
@@ -82,6 +82,7 @@ instance = TransferZero::PayoutMethodDetails.new(first_name: null,
|
|
82
82
|
postal_code: null,
|
83
83
|
city: null,
|
84
84
|
email: null,
|
85
|
+
branch_code: null,
|
85
86
|
transfer_reason_code: null,
|
86
87
|
contact_first_name: null,
|
87
88
|
contact_last_name: null,
|
@@ -90,7 +91,6 @@ instance = TransferZero::PayoutMethodDetails.new(first_name: null,
|
|
90
91
|
legal_entity_type: null,
|
91
92
|
routing_number: null,
|
92
93
|
swift_code: null,
|
93
|
-
branch_code: null,
|
94
94
|
pix_key_type: null,
|
95
95
|
pix_key_value: null,
|
96
96
|
ifsc_code: null)
|
@@ -6,11 +6,12 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**first_name** | **String** | |
|
8
8
|
**last_name** | **String** | |
|
9
|
-
**street** | **String** | |
|
10
|
-
**postal_code** | **String** | |
|
11
|
-
**city** | **String** | |
|
9
|
+
**street** | **String** | | [optional]
|
10
|
+
**postal_code** | **String** | | [optional]
|
11
|
+
**city** | **String** | | [optional]
|
12
12
|
**email** | **String** | | [optional]
|
13
|
-
**bank_code** | **String** | |
|
13
|
+
**bank_code** | **String** | | [optional]
|
14
|
+
**branch_code** | **String** | | [optional]
|
14
15
|
**bank_account** | **String** | |
|
15
16
|
**phone_number** | **String** | |
|
16
17
|
**transfer_reason_code** | **String** | | [optional]
|
@@ -34,6 +35,7 @@ instance = TransferZero::PayoutMethodDetailsZARBank.new(first_name: null,
|
|
34
35
|
city: null,
|
35
36
|
email: null,
|
36
37
|
bank_code: null,
|
38
|
+
branch_code: null,
|
37
39
|
bank_account: null,
|
38
40
|
phone_number: null,
|
39
41
|
transfer_reason_code: null,
|
@@ -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.27.
|
39
|
+
@user_agent = "TransferZero-SDK/Ruby/1.27.5"
|
40
40
|
@default_headers = {
|
41
41
|
'Content-Type' => 'application/json',
|
42
42
|
'User-Agent' => @user_agent
|
@@ -74,6 +74,8 @@ class PayoutMethodDetails
|
|
74
74
|
|
75
75
|
attr_accessor :email
|
76
76
|
|
77
|
+
attr_accessor :branch_code
|
78
|
+
|
77
79
|
attr_accessor :transfer_reason_code
|
78
80
|
|
79
81
|
attr_accessor :contact_first_name
|
@@ -90,8 +92,6 @@ class PayoutMethodDetails
|
|
90
92
|
|
91
93
|
attr_accessor :swift_code
|
92
94
|
|
93
|
-
attr_accessor :branch_code
|
94
|
-
|
95
95
|
attr_accessor :pix_key_type
|
96
96
|
|
97
97
|
attr_accessor :pix_key_value
|
@@ -131,6 +131,7 @@ class PayoutMethodDetails
|
|
131
131
|
:'postal_code' => :'postal_code',
|
132
132
|
:'city' => :'city',
|
133
133
|
:'email' => :'email',
|
134
|
+
:'branch_code' => :'branch_code',
|
134
135
|
:'transfer_reason_code' => :'transfer_reason_code',
|
135
136
|
:'contact_first_name' => :'contact_first_name',
|
136
137
|
:'contact_last_name' => :'contact_last_name',
|
@@ -139,7 +140,6 @@ class PayoutMethodDetails
|
|
139
140
|
:'legal_entity_type' => :'legal_entity_type',
|
140
141
|
:'routing_number' => :'routing_number',
|
141
142
|
:'swift_code' => :'swift_code',
|
142
|
-
:'branch_code' => :'branch_code',
|
143
143
|
:'pix_key_type' => :'pix_key_type',
|
144
144
|
:'pix_key_value' => :'pix_key_value',
|
145
145
|
:'ifsc_code' => :'ifsc_code'
|
@@ -179,6 +179,7 @@ class PayoutMethodDetails
|
|
179
179
|
:'postal_code' => :'String',
|
180
180
|
:'city' => :'String',
|
181
181
|
:'email' => :'String',
|
182
|
+
:'branch_code' => :'String',
|
182
183
|
:'transfer_reason_code' => :'String',
|
183
184
|
:'contact_first_name' => :'String',
|
184
185
|
:'contact_last_name' => :'String',
|
@@ -187,7 +188,6 @@ class PayoutMethodDetails
|
|
187
188
|
:'legal_entity_type' => :'PayoutMethodLegalEntityTypeEnum',
|
188
189
|
:'routing_number' => :'String',
|
189
190
|
:'swift_code' => :'String',
|
190
|
-
:'branch_code' => :'String',
|
191
191
|
:'pix_key_type' => :'PayoutMethodPixKeyTypeEnum',
|
192
192
|
:'pix_key_value' => :'String',
|
193
193
|
:'ifsc_code' => :'String'
|
@@ -362,6 +362,10 @@ class PayoutMethodDetails
|
|
362
362
|
self.email = attributes[:'email']
|
363
363
|
end
|
364
364
|
|
365
|
+
if attributes.key?(:'branch_code')
|
366
|
+
self.branch_code = attributes[:'branch_code']
|
367
|
+
end
|
368
|
+
|
365
369
|
if attributes.key?(:'transfer_reason_code')
|
366
370
|
self.transfer_reason_code = attributes[:'transfer_reason_code']
|
367
371
|
end
|
@@ -394,10 +398,6 @@ class PayoutMethodDetails
|
|
394
398
|
self.swift_code = attributes[:'swift_code']
|
395
399
|
end
|
396
400
|
|
397
|
-
if attributes.key?(:'branch_code')
|
398
|
-
self.branch_code = attributes[:'branch_code']
|
399
|
-
end
|
400
|
-
|
401
401
|
if attributes.key?(:'pix_key_type')
|
402
402
|
self.pix_key_type = attributes[:'pix_key_type']
|
403
403
|
end
|
@@ -495,14 +495,14 @@ class PayoutMethodDetails
|
|
495
495
|
invalid_properties.push('invalid value for "city", city cannot be nil.')
|
496
496
|
end
|
497
497
|
|
498
|
-
if @swift_code.nil?
|
499
|
-
invalid_properties.push('invalid value for "swift_code", swift_code cannot be nil.')
|
500
|
-
end
|
501
|
-
|
502
498
|
if @branch_code.nil?
|
503
499
|
invalid_properties.push('invalid value for "branch_code", branch_code cannot be nil.')
|
504
500
|
end
|
505
501
|
|
502
|
+
if @swift_code.nil?
|
503
|
+
invalid_properties.push('invalid value for "swift_code", swift_code cannot be nil.')
|
504
|
+
end
|
505
|
+
|
506
506
|
if @ifsc_code.nil?
|
507
507
|
invalid_properties.push('invalid value for "ifsc_code", ifsc_code cannot be nil.')
|
508
508
|
end
|
@@ -533,8 +533,8 @@ class PayoutMethodDetails
|
|
533
533
|
return false if @street.nil?
|
534
534
|
return false if @postal_code.nil?
|
535
535
|
return false if @city.nil?
|
536
|
-
return false if @swift_code.nil?
|
537
536
|
return false if @branch_code.nil?
|
537
|
+
return false if @swift_code.nil?
|
538
538
|
return false if @ifsc_code.nil?
|
539
539
|
_one_of_found = false
|
540
540
|
openapi_one_of.each do |_class|
|
@@ -590,6 +590,7 @@ class PayoutMethodDetails
|
|
590
590
|
postal_code == o.postal_code &&
|
591
591
|
city == o.city &&
|
592
592
|
email == o.email &&
|
593
|
+
branch_code == o.branch_code &&
|
593
594
|
transfer_reason_code == o.transfer_reason_code &&
|
594
595
|
contact_first_name == o.contact_first_name &&
|
595
596
|
contact_last_name == o.contact_last_name &&
|
@@ -598,7 +599,6 @@ class PayoutMethodDetails
|
|
598
599
|
legal_entity_type == o.legal_entity_type &&
|
599
600
|
routing_number == o.routing_number &&
|
600
601
|
swift_code == o.swift_code &&
|
601
|
-
branch_code == o.branch_code &&
|
602
602
|
pix_key_type == o.pix_key_type &&
|
603
603
|
pix_key_value == o.pix_key_value &&
|
604
604
|
ifsc_code == o.ifsc_code
|
@@ -613,7 +613,7 @@ class PayoutMethodDetails
|
|
613
613
|
# Calculates hash code according to all attributes.
|
614
614
|
# @return [Integer] Hash code
|
615
615
|
def hash
|
616
|
-
[first_name, last_name, bank_code, bank_account, bank_account_type, phone_number, mobile_provider, country, transfer_reason, iban, bank_name, bank_country, cash_provider, sort_code, bic, sender_identity_card_type, sender_identity_card_id, sender_city_of_birth, sender_country_of_birth, sender_gender, reason, identity_card_type, identity_card_id, reference, name, address, street, postal_code, city, email, transfer_reason_code, contact_first_name, contact_last_name, registration_number, nature_of_business, legal_entity_type, routing_number, swift_code,
|
616
|
+
[first_name, last_name, bank_code, bank_account, bank_account_type, phone_number, mobile_provider, country, transfer_reason, iban, bank_name, bank_country, cash_provider, sort_code, bic, sender_identity_card_type, sender_identity_card_id, sender_city_of_birth, sender_country_of_birth, sender_gender, reason, identity_card_type, identity_card_id, reference, name, address, street, postal_code, city, email, branch_code, transfer_reason_code, contact_first_name, contact_last_name, registration_number, nature_of_business, legal_entity_type, routing_number, swift_code, pix_key_type, pix_key_value, ifsc_code].hash
|
617
617
|
end
|
618
618
|
|
619
619
|
require 'active_support/core_ext/hash'
|
@@ -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\",
|
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\", \"contact_last_name\" \"Contact\", \"street\": \"Main Street\", \"postal_code\": \"AB0001\", \"city\": \"Cape Town\", \"email\": \"recipient@email.com\", \"bank_name\" 'Bank Zero', // Optional \"bank_code\": \"334810\", // Optional; Required if branch_code is empty \"branch_code\": \"630067\", // Optional; Required if bank_code is empty \"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\"; \"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
|
|
@@ -29,6 +29,8 @@ class PayoutMethodDetailsZARBank
|
|
29
29
|
|
30
30
|
attr_accessor :bank_code
|
31
31
|
|
32
|
+
attr_accessor :branch_code
|
33
|
+
|
32
34
|
attr_accessor :bank_account
|
33
35
|
|
34
36
|
attr_accessor :phone_number
|
@@ -59,6 +61,7 @@ class PayoutMethodDetailsZARBank
|
|
59
61
|
:'city' => :'city',
|
60
62
|
:'email' => :'email',
|
61
63
|
:'bank_code' => :'bank_code',
|
64
|
+
:'branch_code' => :'branch_code',
|
62
65
|
:'bank_account' => :'bank_account',
|
63
66
|
:'phone_number' => :'phone_number',
|
64
67
|
:'transfer_reason_code' => :'transfer_reason_code',
|
@@ -82,6 +85,7 @@ class PayoutMethodDetailsZARBank
|
|
82
85
|
:'city' => :'String',
|
83
86
|
:'email' => :'String',
|
84
87
|
:'bank_code' => :'String',
|
88
|
+
:'branch_code' => :'String',
|
85
89
|
:'bank_account' => :'String',
|
86
90
|
:'phone_number' => :'String',
|
87
91
|
:'transfer_reason_code' => :'String',
|
@@ -138,6 +142,10 @@ class PayoutMethodDetailsZARBank
|
|
138
142
|
self.bank_code = attributes[:'bank_code']
|
139
143
|
end
|
140
144
|
|
145
|
+
if attributes.key?(:'branch_code')
|
146
|
+
self.branch_code = attributes[:'branch_code']
|
147
|
+
end
|
148
|
+
|
141
149
|
if attributes.key?(:'bank_account')
|
142
150
|
self.bank_account = attributes[:'bank_account']
|
143
151
|
end
|
@@ -191,22 +199,6 @@ class PayoutMethodDetailsZARBank
|
|
191
199
|
invalid_properties.push('invalid value for "last_name", last_name cannot be nil.')
|
192
200
|
end
|
193
201
|
|
194
|
-
if @street.nil?
|
195
|
-
invalid_properties.push('invalid value for "street", street cannot be nil.')
|
196
|
-
end
|
197
|
-
|
198
|
-
if @postal_code.nil?
|
199
|
-
invalid_properties.push('invalid value for "postal_code", postal_code cannot be nil.')
|
200
|
-
end
|
201
|
-
|
202
|
-
if @city.nil?
|
203
|
-
invalid_properties.push('invalid value for "city", city cannot be nil.')
|
204
|
-
end
|
205
|
-
|
206
|
-
if @bank_code.nil?
|
207
|
-
invalid_properties.push('invalid value for "bank_code", bank_code cannot be nil.')
|
208
|
-
end
|
209
|
-
|
210
202
|
if @bank_account.nil?
|
211
203
|
invalid_properties.push('invalid value for "bank_account", bank_account cannot be nil.')
|
212
204
|
end
|
@@ -223,10 +215,6 @@ class PayoutMethodDetailsZARBank
|
|
223
215
|
def valid?
|
224
216
|
return false if @first_name.nil?
|
225
217
|
return false if @last_name.nil?
|
226
|
-
return false if @street.nil?
|
227
|
-
return false if @postal_code.nil?
|
228
|
-
return false if @city.nil?
|
229
|
-
return false if @bank_code.nil?
|
230
218
|
return false if @bank_account.nil?
|
231
219
|
return false if @phone_number.nil?
|
232
220
|
true
|
@@ -244,6 +232,7 @@ class PayoutMethodDetailsZARBank
|
|
244
232
|
city == o.city &&
|
245
233
|
email == o.email &&
|
246
234
|
bank_code == o.bank_code &&
|
235
|
+
branch_code == o.branch_code &&
|
247
236
|
bank_account == o.bank_account &&
|
248
237
|
phone_number == o.phone_number &&
|
249
238
|
transfer_reason_code == o.transfer_reason_code &&
|
@@ -265,7 +254,7 @@ class PayoutMethodDetailsZARBank
|
|
265
254
|
# Calculates hash code according to all attributes.
|
266
255
|
# @return [Integer] Hash code
|
267
256
|
def hash
|
268
|
-
[first_name, last_name, street, postal_code, city, email, bank_code, bank_account, phone_number, transfer_reason_code, transfer_reason, name, contact_first_name, contact_last_name, registration_number, nature_of_business, legal_entity_type].hash
|
257
|
+
[first_name, last_name, street, postal_code, city, email, bank_code, branch_code, bank_account, phone_number, transfer_reason_code, transfer_reason, name, contact_first_name, contact_last_name, registration_number, nature_of_business, legal_entity_type].hash
|
269
258
|
end
|
270
259
|
|
271
260
|
require 'active_support/core_ext/hash'
|
@@ -28,6 +28,8 @@ class PayoutMethodMobileProviderEnum
|
|
28
28
|
EMONEY = "emoney".freeze
|
29
29
|
FREE = "free".freeze
|
30
30
|
WAVE = "wave".freeze
|
31
|
+
EXPRESSO = "expresso".freeze
|
32
|
+
TMONEY = "tmoney".freeze
|
31
33
|
|
32
34
|
# Builds the enum from string
|
33
35
|
# @param [String] The enum value in the form of the string
|
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.27.
|
4
|
+
version: 1.27.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TransferZero
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-11 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
|
@@ -557,7 +558,7 @@ files:
|
|
557
558
|
- spec/models/webhook_log_spec.rb
|
558
559
|
- spec/models/webhook_spec.rb
|
559
560
|
- spec/spec_helper.rb
|
560
|
-
- transferzero-sdk-1.
|
561
|
+
- transferzero-sdk-1.27.0.gem
|
561
562
|
- transferzero-sdk.gemspec
|
562
563
|
homepage: https://github.com/transferzero/transferzero-sdk-ruby
|
563
564
|
licenses:
|
@@ -578,7 +579,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
578
579
|
- !ruby/object:Gem::Version
|
579
580
|
version: '0'
|
580
581
|
requirements: []
|
581
|
-
rubygems_version: 3.
|
582
|
+
rubygems_version: 3.4.6
|
582
583
|
signing_key:
|
583
584
|
specification_version: 4
|
584
585
|
summary: TransferZero API Ruby Gem
|
data/transferzero-sdk-1.26.1.gem
DELETED
Binary file
|