transferzero-sdk 1.28.1 → 1.28.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2af75f49dfc069722024d87bcf34ed2c8f316716a90944d9d49be3fdda4bfe94
4
- data.tar.gz: 9b0492c2bd8996cd6730de99abea158f7c7c47cfb1281669e85301d350164726
3
+ metadata.gz: c0e04e9257e04bc4f400cf0b18df5601f169817b51089a5b5a16ddf0105b5a22
4
+ data.tar.gz: 2dbfb16f74d22b7dd38d6d1abac436c56c5e90d10bda1d22d06ae397ea706063
5
5
  SHA512:
6
- metadata.gz: 12d747151d49066ed89904dea6210b7e5cb64aa859dd8d7a7b02174f962e8b4161ead36e9d5085a80310081cb003ca6b9f70ee7eca7798dc9a6081ced0229d1c
7
- data.tar.gz: d88ee1868abf1389a89b64767261047d43ef7a7a5103e9b47d72928595cec139de64191c8f1615c1d551d005d57926968b1cb030da948eb7c24e36fd4b37ebc5
6
+ metadata.gz: 244d00dbedf766fb5bfc3664b30e11a4cdacc1e6c0d89dced44871902ce046d3223356e28040e3bd1f9ffc58eecf84738771e9f09a4bdddb083d1768c7aa5a94
7
+ data.tar.gz: 3e1b0c219848ed1bbbbda4b190c3a1b9cd1036b43fd5998cc3c598a7beafe71c7ff2c04e59498b7d58040e3d80b0640768b143f4012a69bb6befb3522aed590b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- transferzero-sdk (1.28.1)
4
+ transferzero-sdk (1.28.2)
5
5
  activesupport (>= 4, < 7)
6
6
  faraday (~> 1.0, >= 1.0.1)
7
7
  json (>= 1.4)
@@ -65,7 +65,7 @@ GEM
65
65
  rspec-expectations (3.12.3)
66
66
  diff-lcs (>= 1.2.0, < 2.0)
67
67
  rspec-support (~> 3.12.0)
68
- rspec-mocks (3.12.5)
68
+ rspec-mocks (3.12.6)
69
69
  diff-lcs (>= 1.2.0, < 2.0)
70
70
  rspec-support (~> 3.12.0)
71
71
  rspec-support (3.12.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.28.1
10
+ - Package version: 1.28.2
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.28.1.gem
34
+ gem install ./transferzero-sdk-1.28.2.gem
35
35
  ```
36
- (for development, run `gem install --dev ./transferzero-sdk-1.28.1.gem` to install the development dependencies)
36
+ (for development, run `gem install --dev ./transferzero-sdk-1.28.2.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.28.1'
42
+ gem 'transferzero-sdk', '~> 1.28.2'
43
43
 
44
44
  ### Install from Git
45
45
 
@@ -15,7 +15,6 @@ Name | Type | Description | Notes
15
15
  **bank_account_type** | [**PayoutMethodBankAccountTypeEnum**](PayoutMethodBankAccountTypeEnum.md) | | [optional]
16
16
  **pix_key_type** | [**PayoutMethodPixKeyTypeEnum**](PayoutMethodPixKeyTypeEnum.md) | | [optional]
17
17
  **pix_key_value** | **String** | | [optional]
18
- **identity_card_type** | [**PayoutMethodIdentityCardTypeEnum**](PayoutMethodIdentityCardTypeEnum.md) | |
19
18
  **identity_card_id** | **String** | |
20
19
  **transfer_reason** | [**PayoutMethodTransferReasonEnum**](PayoutMethodTransferReasonEnum.md) | |
21
20
 
@@ -35,7 +34,6 @@ instance = TransferZero::PayoutMethodDetailsBRLBank.new(first_name: null,
35
34
  bank_account_type: null,
36
35
  pix_key_type: null,
37
36
  pix_key_value: null,
38
- identity_card_type: null,
39
37
  identity_card_id: null,
40
38
  transfer_reason: null)
41
39
  ```
@@ -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.28.1"
39
+ @user_agent = "TransferZero-SDK/Ruby/1.28.2"
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
- # PIX Payment: ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"city\": \"Brasilia\", \"postal_code\": \"70070\", \"phone_number\": \"+552112345678\", // E.164 international format \"pix_key_type\": \"email\", \"pix_key_value\": \"person@example.com\", \"identity_card_type\": \"ID\", \"identity_card_id\": \"01234567890\", \"transfer_reason\": \"personal_account\" } ``` TED Payment: ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"city\": \"Brasilia\", \"postal_code\": \"70070\", \"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
16
+ # PIX Payment: ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"city\": \"Brasilia\", \"postal_code\": \"70070\", \"phone_number\": \"+552112345678\", // E.164 international format \"pix_key_type\": \"email\", \"pix_key_value\": \"person@example.com\", \"identity_card_id\": \"01234567890\", // CPF or CNPJ \"transfer_reason\": \"personal_account\" } ``` TED Payment: ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"city\": \"Brasilia\", \"postal_code\": \"70070\", \"phone_number\": \"+552112345678\", // E.164 international format \"bank_code\": \"104\", \"branch_code\": \"00001\", \"bank_account\": \"0009795493\", \"bank_account_type\": \"10\", \"identity_card_id\": \"01234567890\", // CPF or CNPJ \"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
 
@@ -37,8 +37,6 @@ class PayoutMethodDetailsBRLBank
37
37
 
38
38
  attr_accessor :pix_key_value
39
39
 
40
- attr_accessor :identity_card_type
41
-
42
40
  attr_accessor :identity_card_id
43
41
 
44
42
  attr_accessor :transfer_reason
@@ -57,7 +55,6 @@ class PayoutMethodDetailsBRLBank
57
55
  :'bank_account_type' => :'bank_account_type',
58
56
  :'pix_key_type' => :'pix_key_type',
59
57
  :'pix_key_value' => :'pix_key_value',
60
- :'identity_card_type' => :'identity_card_type',
61
58
  :'identity_card_id' => :'identity_card_id',
62
59
  :'transfer_reason' => :'transfer_reason'
63
60
  }
@@ -77,7 +74,6 @@ class PayoutMethodDetailsBRLBank
77
74
  :'bank_account_type' => :'PayoutMethodBankAccountTypeEnum',
78
75
  :'pix_key_type' => :'PayoutMethodPixKeyTypeEnum',
79
76
  :'pix_key_value' => :'String',
80
- :'identity_card_type' => :'PayoutMethodIdentityCardTypeEnum',
81
77
  :'identity_card_id' => :'String',
82
78
  :'transfer_reason' => :'PayoutMethodTransferReasonEnum'
83
79
  }
@@ -142,10 +138,6 @@ class PayoutMethodDetailsBRLBank
142
138
  self.pix_key_value = attributes[:'pix_key_value']
143
139
  end
144
140
 
145
- if attributes.key?(:'identity_card_type')
146
- self.identity_card_type = attributes[:'identity_card_type']
147
- end
148
-
149
141
  if attributes.key?(:'identity_card_id')
150
142
  self.identity_card_id = attributes[:'identity_card_id']
151
143
  end
@@ -175,10 +167,6 @@ class PayoutMethodDetailsBRLBank
175
167
  invalid_properties.push('invalid value for "postal_code", postal_code cannot be nil.')
176
168
  end
177
169
 
178
- if @identity_card_type.nil?
179
- invalid_properties.push('invalid value for "identity_card_type", identity_card_type cannot be nil.')
180
- end
181
-
182
170
  if @identity_card_id.nil?
183
171
  invalid_properties.push('invalid value for "identity_card_id", identity_card_id cannot be nil.')
184
172
  end
@@ -197,7 +185,6 @@ class PayoutMethodDetailsBRLBank
197
185
  return false if @last_name.nil?
198
186
  return false if @city.nil?
199
187
  return false if @postal_code.nil?
200
- return false if @identity_card_type.nil?
201
188
  return false if @identity_card_id.nil?
202
189
  return false if @transfer_reason.nil?
203
190
  true
@@ -219,7 +206,6 @@ class PayoutMethodDetailsBRLBank
219
206
  bank_account_type == o.bank_account_type &&
220
207
  pix_key_type == o.pix_key_type &&
221
208
  pix_key_value == o.pix_key_value &&
222
- identity_card_type == o.identity_card_type &&
223
209
  identity_card_id == o.identity_card_id &&
224
210
  transfer_reason == o.transfer_reason
225
211
  end
@@ -233,7 +219,7 @@ class PayoutMethodDetailsBRLBank
233
219
  # Calculates hash code according to all attributes.
234
220
  # @return [Integer] Hash code
235
221
  def hash
236
- [first_name, last_name, city, postal_code, phone_number, bank_code, branch_code, bank_account, bank_account_type, pix_key_type, pix_key_value, identity_card_type, identity_card_id, transfer_reason].hash
222
+ [first_name, last_name, city, postal_code, phone_number, bank_code, branch_code, bank_account, bank_account_type, pix_key_type, pix_key_value, identity_card_id, transfer_reason].hash
237
223
  end
238
224
 
239
225
  require 'active_support/core_ext/hash'
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.0.0-beta3
11
11
  =end
12
12
 
13
13
  module TransferZero
14
- VERSION = '1.28.1'
14
+ VERSION = '1.28.2'
15
15
  end
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.28.1
4
+ version: 1.28.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - TransferZero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-10 00:00:00.000000000 Z
11
+ date: 2023-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday