transferzero-sdk 1.32.0 → 1.32.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +4 -4
- data/docs/PayoutMethodDetails.md +3 -1
- data/docs/PayoutMethodDetailsEGPBank.md +2 -0
- data/lib/transferzero-sdk/api_client.rb +1 -1
- data/lib/transferzero-sdk/models/payout_method_details.rb +13 -4
- data/lib/transferzero-sdk/models/payout_method_details_egp_bank.rb +11 -2
- data/lib/transferzero-sdk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1666c693d2100abc8c574bb5013ad718c6e40d1e99743c85c2f295e287fa1fd
|
4
|
+
data.tar.gz: ffb06e18dd45db66c5d7007b2eb986c58b448a41d7d02ab79b07724beece3e59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5df7cef5e54ff09421665e235dfcbeaa7ea6dc1e3a09db2412e52e9886115bda11420bf879b1739f334db84e8264487ca04db9a63ddaf8df6951cf469ba063d1
|
7
|
+
data.tar.gz: 73a8ea7c77cdc3692d91273291250cd25d6d5dd984ed3f47804811c2eeca19d6b1902d9c263d1b330350dc2d3271e85f0a5241d37aa789dd47631c48a12ca794
|
data/Gemfile.lock
CHANGED
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.32.
|
10
|
+
- Package version: 1.32.1
|
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.32.
|
34
|
+
gem install ./transferzero-sdk-1.32.1.gem
|
35
35
|
```
|
36
|
-
(for development, run `gem install --dev ./transferzero-sdk-1.32.
|
36
|
+
(for development, run `gem install --dev ./transferzero-sdk-1.32.1.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.32.
|
42
|
+
gem 'transferzero-sdk', '~> 1.32.1'
|
43
43
|
|
44
44
|
### Install from Git
|
45
45
|
|
data/docs/PayoutMethodDetails.md
CHANGED
@@ -48,6 +48,7 @@ Name | Type | Description | Notes
|
|
48
48
|
**pix_key_type** | [**PayoutMethodPixKeyTypeEnum**](PayoutMethodPixKeyTypeEnum.md) | | [optional]
|
49
49
|
**pix_key_value** | **String** | | [optional]
|
50
50
|
**ifsc_code** | **String** | |
|
51
|
+
**middle_name** | **String** | | [optional]
|
51
52
|
|
52
53
|
## Code Sample
|
53
54
|
|
@@ -97,7 +98,8 @@ instance = TransferZero::PayoutMethodDetails.new(first_name: null,
|
|
97
98
|
relationship_to_sender: null,
|
98
99
|
pix_key_type: null,
|
99
100
|
pix_key_value: null,
|
100
|
-
ifsc_code: null
|
101
|
+
ifsc_code: null,
|
102
|
+
middle_name: null)
|
101
103
|
```
|
102
104
|
|
103
105
|
|
@@ -5,6 +5,7 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**first_name** | **String** | |
|
8
|
+
**middle_name** | **String** | | [optional]
|
8
9
|
**last_name** | **String** | |
|
9
10
|
**street** | **String** | |
|
10
11
|
**phone_number** | **String** | |
|
@@ -18,6 +19,7 @@ Name | Type | Description | Notes
|
|
18
19
|
require 'TransferZero'
|
19
20
|
|
20
21
|
instance = TransferZero::PayoutMethodDetailsEGPBank.new(first_name: null,
|
22
|
+
middle_name: null,
|
21
23
|
last_name: null,
|
22
24
|
street: null,
|
23
25
|
phone_number: 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.32.
|
39
|
+
@user_agent = "TransferZero-SDK/Ruby/1.32.1"
|
40
40
|
@default_headers = {
|
41
41
|
'Content-Type' => 'application/json',
|
42
42
|
'User-Agent' => @user_agent
|
@@ -102,6 +102,8 @@ class PayoutMethodDetails
|
|
102
102
|
|
103
103
|
attr_accessor :ifsc_code
|
104
104
|
|
105
|
+
attr_accessor :middle_name
|
106
|
+
|
105
107
|
# Attribute mapping from ruby-style variable name to JSON key.
|
106
108
|
def self.attribute_map
|
107
109
|
{
|
@@ -148,7 +150,8 @@ class PayoutMethodDetails
|
|
148
150
|
:'relationship_to_sender' => :'relationship_to_sender',
|
149
151
|
:'pix_key_type' => :'pix_key_type',
|
150
152
|
:'pix_key_value' => :'pix_key_value',
|
151
|
-
:'ifsc_code' => :'ifsc_code'
|
153
|
+
:'ifsc_code' => :'ifsc_code',
|
154
|
+
:'middle_name' => :'middle_name'
|
152
155
|
}
|
153
156
|
end
|
154
157
|
|
@@ -198,7 +201,8 @@ class PayoutMethodDetails
|
|
198
201
|
:'relationship_to_sender' => :'String',
|
199
202
|
:'pix_key_type' => :'PayoutMethodPixKeyTypeEnum',
|
200
203
|
:'pix_key_value' => :'String',
|
201
|
-
:'ifsc_code' => :'String'
|
204
|
+
:'ifsc_code' => :'String',
|
205
|
+
:'middle_name' => :'String'
|
202
206
|
}
|
203
207
|
end
|
204
208
|
|
@@ -426,6 +430,10 @@ class PayoutMethodDetails
|
|
426
430
|
if attributes.key?(:'ifsc_code')
|
427
431
|
self.ifsc_code = attributes[:'ifsc_code']
|
428
432
|
end
|
433
|
+
|
434
|
+
if attributes.key?(:'middle_name')
|
435
|
+
self.middle_name = attributes[:'middle_name']
|
436
|
+
end
|
429
437
|
end
|
430
438
|
|
431
439
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -615,7 +623,8 @@ class PayoutMethodDetails
|
|
615
623
|
relationship_to_sender == o.relationship_to_sender &&
|
616
624
|
pix_key_type == o.pix_key_type &&
|
617
625
|
pix_key_value == o.pix_key_value &&
|
618
|
-
ifsc_code == o.ifsc_code
|
626
|
+
ifsc_code == o.ifsc_code &&
|
627
|
+
middle_name == o.middle_name
|
619
628
|
end
|
620
629
|
|
621
630
|
# @see the `==` method
|
@@ -627,7 +636,7 @@ class PayoutMethodDetails
|
|
627
636
|
# Calculates hash code according to all attributes.
|
628
637
|
# @return [Integer] Hash code
|
629
638
|
def hash
|
630
|
-
[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, narration, 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, relationship_to_sender, pix_key_type, pix_key_value, ifsc_code].hash
|
639
|
+
[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, narration, 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, relationship_to_sender, pix_key_type, pix_key_value, ifsc_code, middle_name].hash
|
631
640
|
end
|
632
641
|
|
633
642
|
require 'active_support/core_ext/hash'
|
@@ -13,10 +13,12 @@ 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\": \"1 Main Street\", \"phone_number\": \"+201023456789\", \"bank_account\": \"1234567890\", \"bank_code\": \"0030\", \"transfer_reason\": \"personal_account\" } ``` See [EGP Bank](https://docs.transferzero.com/docs/payout-details/#egpbank) documentation for the bank_code list
|
16
|
+
# ```JSON \"details\": { \"first_name\": \"First\", \"middle_name\": \"Middle\", \"last_name\": \"Last\", \"street\": \"1 Main Street\", \"phone_number\": \"+201023456789\", \"bank_account\": \"1234567890\", \"bank_code\": \"0030\", \"transfer_reason\": \"personal_account\" } ``` See [EGP Bank](https://docs.transferzero.com/docs/payout-details/#egpbank) documentation for the bank_code list
|
17
17
|
class PayoutMethodDetailsEGPBank
|
18
18
|
attr_accessor :first_name
|
19
19
|
|
20
|
+
attr_accessor :middle_name
|
21
|
+
|
20
22
|
attr_accessor :last_name
|
21
23
|
|
22
24
|
attr_accessor :street
|
@@ -33,6 +35,7 @@ class PayoutMethodDetailsEGPBank
|
|
33
35
|
def self.attribute_map
|
34
36
|
{
|
35
37
|
:'first_name' => :'first_name',
|
38
|
+
:'middle_name' => :'middle_name',
|
36
39
|
:'last_name' => :'last_name',
|
37
40
|
:'street' => :'street',
|
38
41
|
:'phone_number' => :'phone_number',
|
@@ -46,6 +49,7 @@ class PayoutMethodDetailsEGPBank
|
|
46
49
|
def self.openapi_types
|
47
50
|
{
|
48
51
|
:'first_name' => :'String',
|
52
|
+
:'middle_name' => :'String',
|
49
53
|
:'last_name' => :'String',
|
50
54
|
:'street' => :'String',
|
51
55
|
:'phone_number' => :'String',
|
@@ -74,6 +78,10 @@ class PayoutMethodDetailsEGPBank
|
|
74
78
|
self.first_name = attributes[:'first_name']
|
75
79
|
end
|
76
80
|
|
81
|
+
if attributes.key?(:'middle_name')
|
82
|
+
self.middle_name = attributes[:'middle_name']
|
83
|
+
end
|
84
|
+
|
77
85
|
if attributes.key?(:'last_name')
|
78
86
|
self.last_name = attributes[:'last_name']
|
79
87
|
end
|
@@ -153,6 +161,7 @@ class PayoutMethodDetailsEGPBank
|
|
153
161
|
return true if self.equal?(o)
|
154
162
|
self.class == o.class &&
|
155
163
|
first_name == o.first_name &&
|
164
|
+
middle_name == o.middle_name &&
|
156
165
|
last_name == o.last_name &&
|
157
166
|
street == o.street &&
|
158
167
|
phone_number == o.phone_number &&
|
@@ -170,7 +179,7 @@ class PayoutMethodDetailsEGPBank
|
|
170
179
|
# Calculates hash code according to all attributes.
|
171
180
|
# @return [Integer] Hash code
|
172
181
|
def hash
|
173
|
-
[first_name, last_name, street, phone_number, bank_account, bank_code, transfer_reason].hash
|
182
|
+
[first_name, middle_name, last_name, street, phone_number, bank_account, bank_code, transfer_reason].hash
|
174
183
|
end
|
175
184
|
|
176
185
|
require 'active_support/core_ext/hash'
|
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.32.
|
4
|
+
version: 1.32.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TransferZero
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|