transferzero-sdk 1.36.3 → 1.36.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +4 -4
- data/docs/PayoutMethodDetails.md +1 -1
- data/docs/PayoutMethodDetailsEGPCash.md +1 -1
- data/lib/transferzero-sdk/api_client.rb +1 -1
- data/lib/transferzero-sdk/models/payout_method_details.rb +5 -0
- data/lib/transferzero-sdk/models/payout_method_details_egp_cash.rb +5 -0
- 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: f85a5061858a3d077dde3ea32adda7f58974f67c0cdd02e86c1e177e55f8c221
|
4
|
+
data.tar.gz: 4a58e4b3dcfb3eafa8c390ef8ccec3f647505c30b6389893e22a1a131f27c76d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 315388f7b7a3378d1941f3ae1af3fdf7f887adbebc41b1ff3055c4ceee30c97ac6731905ff63336a1a862fcdc14b0073018d85182d58b0cfbd6f6b2828ced888
|
7
|
+
data.tar.gz: 8b4d66fa52600fc76f9630b29a9e20cb3dfad674db7fe75a89ff94fb3261f65cf8ef42cc790a7965a8571ad88ad2989f60e93b680b23ead99dc7a5ad0e26c42e
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
transferzero-sdk (1.36.
|
4
|
+
transferzero-sdk (1.36.4)
|
5
5
|
activesupport (>= 4)
|
6
6
|
faraday (~> 1.0, >= 1.0.1)
|
7
7
|
json (>= 1.4)
|
@@ -72,7 +72,7 @@ GEM
|
|
72
72
|
rspec-mocks (~> 3.13.0)
|
73
73
|
rspec-core (3.13.0)
|
74
74
|
rspec-support (~> 3.13.0)
|
75
|
-
rspec-expectations (3.13.
|
75
|
+
rspec-expectations (3.13.2)
|
76
76
|
diff-lcs (>= 1.2.0, < 2.0)
|
77
77
|
rspec-support (~> 3.13.0)
|
78
78
|
rspec-mocks (3.13.1)
|
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.36.
|
10
|
+
- Package version: 1.36.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.36.
|
34
|
+
gem install ./transferzero-sdk-1.36.4.gem
|
35
35
|
```
|
36
|
-
(for development, run `gem install --dev ./transferzero-sdk-1.36.
|
36
|
+
(for development, run `gem install --dev ./transferzero-sdk-1.36.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.36.
|
42
|
+
gem 'transferzero-sdk', '~> 1.36.4'
|
43
43
|
|
44
44
|
### Install from Git
|
45
45
|
|
data/docs/PayoutMethodDetails.md
CHANGED
@@ -43,7 +43,7 @@ Name | Type | Description | Notes
|
|
43
43
|
**registration_number** | **String** | | [optional]
|
44
44
|
**nature_of_business** | [**PayoutMethodNatureOfBusinessEnum**](PayoutMethodNatureOfBusinessEnum.md) | | [optional]
|
45
45
|
**legal_entity_type** | [**PayoutMethodLegalEntityTypeEnum**](PayoutMethodLegalEntityTypeEnum.md) | | [optional]
|
46
|
-
**middle_name** | **String** | |
|
46
|
+
**middle_name** | **String** | |
|
47
47
|
**routing_number** | **String** | | [optional]
|
48
48
|
**swift_code** | **String** | | [optional]
|
49
49
|
**relationship_to_sender** | **String** | | [optional]
|
@@ -5,7 +5,7 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**first_name** | **String** | |
|
8
|
-
**middle_name** | **String** | |
|
8
|
+
**middle_name** | **String** | |
|
9
9
|
**last_name** | **String** | |
|
10
10
|
**phone_number** | **String** | |
|
11
11
|
**street** | **String** | |
|
@@ -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.36.
|
39
|
+
@user_agent = "TransferZero-SDK/Ruby/1.36.4"
|
40
40
|
@default_headers = {
|
41
41
|
'Content-Type' => 'application/json',
|
42
42
|
'User-Agent' => @user_agent
|
@@ -534,6 +534,10 @@ class PayoutMethodDetails
|
|
534
534
|
invalid_properties.push('invalid value for "branch_code", branch_code cannot be nil.')
|
535
535
|
end
|
536
536
|
|
537
|
+
if @middle_name.nil?
|
538
|
+
invalid_properties.push('invalid value for "middle_name", middle_name cannot be nil.')
|
539
|
+
end
|
540
|
+
|
537
541
|
if @ifsc_code.nil?
|
538
542
|
invalid_properties.push('invalid value for "ifsc_code", ifsc_code cannot be nil.')
|
539
543
|
end
|
@@ -565,6 +569,7 @@ class PayoutMethodDetails
|
|
565
569
|
return false if @postal_code.nil?
|
566
570
|
return false if @city.nil?
|
567
571
|
return false if @branch_code.nil?
|
572
|
+
return false if @middle_name.nil?
|
568
573
|
return false if @ifsc_code.nil?
|
569
574
|
_one_of_found = false
|
570
575
|
openapi_one_of.each do |_class|
|
@@ -115,6 +115,10 @@ class PayoutMethodDetailsEGPCash
|
|
115
115
|
invalid_properties.push('invalid value for "first_name", first_name cannot be nil.')
|
116
116
|
end
|
117
117
|
|
118
|
+
if @middle_name.nil?
|
119
|
+
invalid_properties.push('invalid value for "middle_name", middle_name cannot be nil.')
|
120
|
+
end
|
121
|
+
|
118
122
|
if @last_name.nil?
|
119
123
|
invalid_properties.push('invalid value for "last_name", last_name cannot be nil.')
|
120
124
|
end
|
@@ -138,6 +142,7 @@ class PayoutMethodDetailsEGPCash
|
|
138
142
|
# @return true if the model is valid
|
139
143
|
def valid?
|
140
144
|
return false if @first_name.nil?
|
145
|
+
return false if @middle_name.nil?
|
141
146
|
return false if @last_name.nil?
|
142
147
|
return false if @phone_number.nil?
|
143
148
|
return false if @street.nil?
|
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.36.
|
4
|
+
version: 1.36.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TransferZero
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|