transferzero-sdk 1.36.9 → 1.37.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '048ed0908b606b8e0400a5ff46379260d9ae3a2efa700883ecdd4061da45efc9'
4
- data.tar.gz: d8af0aa6c3edca0597da0b40d6f7f08e31f3b84cef8f91b6742c70326f01bb0e
3
+ metadata.gz: 5af076ae6bef7a13e645697cd0be53ead8d66adcf3887c92b567b96e1a0ba42b
4
+ data.tar.gz: 53e96407bc08b7e863dee08d693d198718dc9762d51163ffc0b0c44e247eca30
5
5
  SHA512:
6
- metadata.gz: aa4791654d90b204977d3bd2b68cd03b879a779723aa0962a53d793df9b0cae33f15c180e5e93beb813f3477e78bb4b3515107cdb6ba6a354efe2cbe725c7ee0
7
- data.tar.gz: d4438bd92e0121dba48730cbee3ce35fcd9ad30219418ba64225aa124ecf3255e94bda552c326354db465b05e84138de924b2f7e5bff35e2c60978ef991932cb
6
+ metadata.gz: 16d9959416d3238e09e167eebae9719761ca90db72f8dc5a3c5a32e92e114519a24b741861a338ef3c2eb33c34b25237cbfa52b2904c03b2e51dd7e3312f7a77
7
+ data.tar.gz: 26e30018c110f86464143a5d0fede198d09650db41928565a2e3a88a758dfde2aa6cc065c330a45d45721f976f9e25d9c8b51df4aae5fb397247a22559bdb14d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- transferzero-sdk (1.36.9)
4
+ transferzero-sdk (1.37.0)
5
5
  activesupport (>= 4)
6
6
  faraday (~> 1.0, >= 1.0.1)
7
7
  json (>= 1.4)
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.9
10
+ - Package version: 1.37.0
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.9.gem
34
+ gem install ./transferzero-sdk-1.37.0.gem
35
35
  ```
36
- (for development, run `gem install --dev ./transferzero-sdk-1.36.9.gem` to install the development dependencies)
36
+ (for development, run `gem install --dev ./transferzero-sdk-1.37.0.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.9'
42
+ gem 'transferzero-sdk', '~> 1.37.0'
43
43
 
44
44
  ### Install from Git
45
45
 
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
10
10
  **bank_account** | **String** | |
11
11
  **bank_account_type** | [**PayoutMethodBankAccountTypeEnum**](PayoutMethodBankAccountTypeEnum.md) | | [optional]
12
12
  **birth_date** | **Date** | Date of birth of recipient | [optional]
13
- **street** | **String** | | [optional]
13
+ **street** | **String** | |
14
14
  **phone_number** | **String** | |
15
15
  **mobile_provider** | [**PayoutMethodMobileProviderEnum**](PayoutMethodMobileProviderEnum.md) | |
16
16
  **country** | [**PayoutMethodCountryEnum**](PayoutMethodCountryEnum.md) | |
@@ -33,7 +33,6 @@ Name | Type | Description | Notes
33
33
  **reference** | **String** | | [optional]
34
34
  **name** | **String** | |
35
35
  **address** | **String** | |
36
- **street** | **String** | |
37
36
  **postal_code** | **String** | |
38
37
  **city** | **String** | |
39
38
  **email** | **String** | | [optional]
@@ -86,7 +85,6 @@ instance = TransferZero::PayoutMethodDetails.new(first_name: null,
86
85
  reference: null,
87
86
  name: null,
88
87
  address: null,
89
- street: null,
90
88
  postal_code: null,
91
89
  city: null,
92
90
  email: 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.36.9"
39
+ @user_agent = "TransferZero-SDK/Ruby/1.37.0"
40
40
  @default_headers = {
41
41
  'Content-Type' => 'application/json',
42
42
  'User-Agent' => @user_agent
@@ -73,8 +73,6 @@ class PayoutMethodDetails
73
73
 
74
74
  attr_accessor :address
75
75
 
76
- attr_accessor :street
77
-
78
76
  attr_accessor :postal_code
79
77
 
80
78
  attr_accessor :city
@@ -118,7 +116,7 @@ class PayoutMethodDetails
118
116
  :'bank_account' => :'bank_account',
119
117
  :'bank_account_type' => :'bank_account_type',
120
118
  :'birth_date' => :'birth_date',
121
- :'street' => :'street"',
119
+ :'street' => :'street',
122
120
  :'phone_number' => :'phone_number',
123
121
  :'mobile_provider' => :'mobile_provider',
124
122
  :'country' => :'country',
@@ -141,7 +139,6 @@ class PayoutMethodDetails
141
139
  :'reference' => :'reference',
142
140
  :'name' => :'name',
143
141
  :'address' => :'address',
144
- :'street' => :'street',
145
142
  :'postal_code' => :'postal_code',
146
143
  :'city' => :'city',
147
144
  :'email' => :'email',
@@ -194,7 +191,6 @@ class PayoutMethodDetails
194
191
  :'reference' => :'String',
195
192
  :'name' => :'String',
196
193
  :'address' => :'String',
197
- :'street' => :'String',
198
194
  :'postal_code' => :'String',
199
195
  :'city' => :'String',
200
196
  :'email' => :'String',
@@ -382,10 +378,6 @@ class PayoutMethodDetails
382
378
  self.address = attributes[:'address']
383
379
  end
384
380
 
385
- if attributes.key?(:'street')
386
- self.street = attributes[:'street']
387
- end
388
-
389
381
  if attributes.key?(:'postal_code')
390
382
  self.postal_code = attributes[:'postal_code']
391
383
  end
@@ -475,6 +467,10 @@ class PayoutMethodDetails
475
467
  invalid_properties.push('invalid value for "bank_account", bank_account cannot be nil.')
476
468
  end
477
469
 
470
+ if @street.nil?
471
+ invalid_properties.push('invalid value for "street", street cannot be nil.')
472
+ end
473
+
478
474
  if @phone_number.nil?
479
475
  invalid_properties.push('invalid value for "phone_number", phone_number cannot be nil.')
480
476
  end
@@ -527,10 +523,6 @@ class PayoutMethodDetails
527
523
  invalid_properties.push('invalid value for "address", address cannot be nil.')
528
524
  end
529
525
 
530
- if @street.nil?
531
- invalid_properties.push('invalid value for "street", street cannot be nil.')
532
- end
533
-
534
526
  if @postal_code.nil?
535
527
  invalid_properties.push('invalid value for "postal_code", postal_code cannot be nil.')
536
528
  end
@@ -561,6 +553,7 @@ class PayoutMethodDetails
561
553
  return false if @last_name.nil?
562
554
  return false if @bank_code.nil?
563
555
  return false if @bank_account.nil?
556
+ return false if @street.nil?
564
557
  return false if @phone_number.nil?
565
558
  return false if @mobile_provider.nil?
566
559
  return false if @country.nil?
@@ -574,7 +567,6 @@ class PayoutMethodDetails
574
567
  return false if @identity_card_id.nil?
575
568
  return false if @name.nil?
576
569
  return false if @address.nil?
577
- return false if @street.nil?
578
570
  return false if @postal_code.nil?
579
571
  return false if @city.nil?
580
572
  return false if @branch_code.nil?
@@ -633,7 +625,6 @@ class PayoutMethodDetails
633
625
  reference == o.reference &&
634
626
  name == o.name &&
635
627
  address == o.address &&
636
- street == o.street &&
637
628
  postal_code == o.postal_code &&
638
629
  city == o.city &&
639
630
  email == o.email &&
@@ -662,7 +653,7 @@ class PayoutMethodDetails
662
653
  # Calculates hash code according to all attributes.
663
654
  # @return [Integer] Hash code
664
655
  def hash
665
- [first_name, last_name, bank_code, bank_account, bank_account_type, birth_date, street, 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, middle_name, routing_number, swift_code, relationship_to_sender, pix_key_type, pix_key_value, ifsc_code].hash
656
+ [first_name, last_name, bank_code, bank_account, bank_account_type, birth_date, street, 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, postal_code, city, email, branch_code, transfer_reason_code, contact_first_name, contact_last_name, registration_number, nature_of_business, legal_entity_type, middle_name, routing_number, swift_code, relationship_to_sender, pix_key_type, pix_key_value, ifsc_code].hash
666
657
  end
667
658
 
668
659
  require 'active_support/core_ext/hash'
@@ -39,7 +39,7 @@ class PayoutMethodDetailsNGNBank
39
39
  :'bank_account' => :'bank_account',
40
40
  :'bank_account_type' => :'bank_account_type',
41
41
  :'birth_date' => :'birth_date',
42
- :'street' => :'street"'
42
+ :'street' => :'street'
43
43
  }
44
44
  end
45
45
 
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.0.0-beta3
11
11
  =end
12
12
 
13
13
  module TransferZero
14
- VERSION = '1.36.9'
14
+ VERSION = '1.37.0'
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: transferzero-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.36.9
4
+ version: 1.37.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - TransferZero