transferzero-sdk 1.23.3 → 1.23.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/AccountValidationRequest.md +1 -1
  4. data/docs/PayinMethodDetails.md +1 -1
  5. data/docs/PayinMethodDetailsMobile.md +1 -1
  6. data/docs/PayoutMethodDetails.md +7 -3
  7. data/docs/PayoutMethodDetailsBRLBank.md +8 -4
  8. data/docs/PayoutMethodPixKeyTypeEnum.md +16 -0
  9. data/docs/Sender.md +1 -1
  10. data/lib/transferzero-sdk/api_client.rb +1 -1
  11. data/lib/transferzero-sdk/models/account_validation_request.rb +1 -1
  12. data/lib/transferzero-sdk/models/payin_method_details_mobile.rb +1 -1
  13. data/lib/transferzero-sdk/models/payout_method_details.rb +22 -14
  14. data/lib/transferzero-sdk/models/payout_method_details_brl_bank.rb +20 -22
  15. data/lib/transferzero-sdk/models/payout_method_details_ghs_cash.rb +1 -1
  16. data/lib/transferzero-sdk/models/payout_method_details_gnf_mobile.rb +1 -1
  17. data/lib/transferzero-sdk/models/payout_method_details_kes_mobile.rb +1 -1
  18. data/lib/transferzero-sdk/models/payout_method_details_mad_cash.rb +1 -1
  19. data/lib/transferzero-sdk/models/payout_method_details_mobile.rb +1 -1
  20. data/lib/transferzero-sdk/models/payout_method_details_usd_bank.rb +1 -1
  21. data/lib/transferzero-sdk/models/payout_method_details_usd_cash.rb +1 -1
  22. data/lib/transferzero-sdk/models/payout_method_details_xaf_mobile.rb +1 -1
  23. data/lib/transferzero-sdk/models/payout_method_details_xof_cash.rb +1 -1
  24. data/lib/transferzero-sdk/models/payout_method_details_xof_mobile.rb +1 -1
  25. data/lib/transferzero-sdk/models/payout_method_details_zar_bank.rb +1 -1
  26. data/lib/transferzero-sdk/models/payout_method_pix_key_type_enum.rb +34 -0
  27. data/lib/transferzero-sdk/models/sender.rb +1 -6
  28. data/lib/transferzero-sdk/version.rb +1 -1
  29. data/lib/transferzero-sdk.rb +1 -0
  30. data/spec/models/payout_method_pix_key_type_enum_spec.rb +35 -0
  31. data/transferzero-sdk-1.23.3.gem +0 -0
  32. metadata +7 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8b16341760775c846e90177ddb2b389ac125b077e42a28821f8c2dbb3c92554f
4
- data.tar.gz: 178bc1e86f4d7cf410ad8a0cd86b719513abe28d4e8f158f7de520c813df2fa5
3
+ metadata.gz: 371671ea6f73262096beb1b8357f2923179a76c8c2a71ce68529ec57aa3fc2bd
4
+ data.tar.gz: 2c51ec76ac620606182ec4df940e750be3df07b29f8bca373b7dcfa65820ef59
5
5
  SHA512:
6
- metadata.gz: a595fcfe1fe8bfa61955d84dce5fc890f640e153817b6b2c19e06cb85479add01d0d77ebf9a59b98922cdba01c574c2a55e1066226a13a3aabb7ecd3c3da6176
7
- data.tar.gz: 7ef163c7f63c75d478effda86c60ee8f15c5ae4aab27e85622d66b04c7c16e6d0b14d5091aec089307be7073c80ce57611cd69a3597942f0c31df4b327247218
6
+ metadata.gz: ff558d11ac7d0ca020a38e5e96a6bc7b3286c369871b70f7103b5c457890c8da051c42cf1c1bbdc57d2b658f1326597333797c90582c7f0f45021f9eba6e7b3c
7
+ data.tar.gz: d948b5633191d8bb7a7478f21a5a2659e6c1a254a62a32e7b2dbd64a07d781d6e32592384dec5be26f81a7d07760f6cc7501c2b404ae11beb7212bdcff94c41d
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.23.3
10
+ - Package version: 1.23.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.23.3.gem
34
+ gem install ./transferzero-sdk-1.23.5.gem
35
35
  ```
36
- (for development, run `gem install --dev ./transferzero-sdk-1.23.3.gem` to install the development dependencies)
36
+ (for development, run `gem install --dev ./transferzero-sdk-1.23.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.23.3'
42
+ gem 'transferzero-sdk', '~> 1.23.5'
43
43
 
44
44
  ### Install from Git
45
45
 
@@ -234,6 +234,7 @@ Class | Method | HTTP request | Description
234
234
  - [TransferZero::PayoutMethodListResponse](docs/PayoutMethodListResponse.md)
235
235
  - [TransferZero::PayoutMethodMobileProviderEnum](docs/PayoutMethodMobileProviderEnum.md)
236
236
  - [TransferZero::PayoutMethodNatureOfBusinessEnum](docs/PayoutMethodNatureOfBusinessEnum.md)
237
+ - [TransferZero::PayoutMethodPixKeyTypeEnum](docs/PayoutMethodPixKeyTypeEnum.md)
237
238
  - [TransferZero::PayoutMethodRequest](docs/PayoutMethodRequest.md)
238
239
  - [TransferZero::PayoutMethodResponse](docs/PayoutMethodResponse.md)
239
240
  - [TransferZero::PayoutMethodTransferReasonEnum](docs/PayoutMethodTransferReasonEnum.md)
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **bank_account** | **String** | Account Number to query | [optional]
8
8
  **bank_code** | **String** | Bank Code to query - same codes are used as for creating the transactions | [optional]
9
9
  **iban** | **String** | IBAN to query - BBAN format for XOF bank accounts | [optional]
10
- **phone_number** | **String** | Phone number to query | [optional]
10
+ **phone_number** | **String** | Phone number to query in E.164 format | [optional]
11
11
  **mobile_provider** | [**PayoutMethodMobileProviderEnum**](PayoutMethodMobileProviderEnum.md) | | [optional]
12
12
  **country** | **String** | Country of account in 2-character alpha ISO 3166-2 country format |
13
13
  **currency** | **String** | The currency the bank account is in |
@@ -19,7 +19,7 @@ require 'TransferZero'
19
19
 
20
20
  instance = TransferZero::PayinMethodDetails.new(payment_method: null,
21
21
  redirect_url: null,
22
- phone_number: +2569999999,
22
+ phone_number: +256129999999,
23
23
  mobile_provider: null,
24
24
  country: null,
25
25
  otp: null,
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
14
14
  ```ruby
15
15
  require 'TransferZero'
16
16
 
17
- instance = TransferZero::PayinMethodDetailsMobile.new(phone_number: +2569999999,
17
+ instance = TransferZero::PayinMethodDetailsMobile.new(phone_number: +256129999999,
18
18
  mobile_provider: null,
19
19
  country: null,
20
20
  otp: null)
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **last_name** | **String** | |
9
9
  **bank_code** | **String** | |
10
10
  **bank_account** | **String** | |
11
- **bank_account_type** | [**PayoutMethodBankAccountTypeEnum**](PayoutMethodBankAccountTypeEnum.md) | |
11
+ **bank_account_type** | [**PayoutMethodBankAccountTypeEnum**](PayoutMethodBankAccountTypeEnum.md) | | [optional]
12
12
  **phone_number** | **String** | |
13
13
  **mobile_provider** | [**PayoutMethodMobileProviderEnum**](PayoutMethodMobileProviderEnum.md) | |
14
14
  **country** | [**PayoutMethodCountryEnum**](PayoutMethodCountryEnum.md) | |
@@ -40,8 +40,10 @@ Name | Type | Description | Notes
40
40
  **registration_number** | **String** | | [optional]
41
41
  **nature_of_business** | [**PayoutMethodNatureOfBusinessEnum**](PayoutMethodNatureOfBusinessEnum.md) | | [optional]
42
42
  **legal_entity_type** | [**PayoutMethodLegalEntityTypeEnum**](PayoutMethodLegalEntityTypeEnum.md) | | [optional]
43
- **branch_code** | **String** | |
43
+ **branch_code** | **String** | | [optional]
44
44
  **swift_code** | **String** | |
45
+ **pix_key_type** | [**PayoutMethodPixKeyTypeEnum**](PayoutMethodPixKeyTypeEnum.md) | | [optional]
46
+ **pix_key_value** | **String** | | [optional]
45
47
 
46
48
  ## Code Sample
47
49
 
@@ -85,7 +87,9 @@ instance = TransferZero::PayoutMethodDetails.new(first_name: null,
85
87
  nature_of_business: null,
86
88
  legal_entity_type: null,
87
89
  branch_code: null,
88
- swift_code: null)
90
+ swift_code: null,
91
+ pix_key_type: null,
92
+ pix_key_value: null)
89
93
  ```
90
94
 
91
95
 
@@ -7,10 +7,12 @@ Name | Type | Description | Notes
7
7
  **first_name** | **String** | |
8
8
  **last_name** | **String** | |
9
9
  **phone_number** | **String** | | [optional]
10
- **bank_code** | **String** | |
11
- **branch_code** | **String** | |
12
- **bank_account** | **String** | |
13
- **bank_account_type** | [**PayoutMethodBankAccountTypeEnum**](PayoutMethodBankAccountTypeEnum.md) | |
10
+ **bank_code** | **String** | | [optional]
11
+ **branch_code** | **String** | | [optional]
12
+ **bank_account** | **String** | | [optional]
13
+ **bank_account_type** | [**PayoutMethodBankAccountTypeEnum**](PayoutMethodBankAccountTypeEnum.md) | | [optional]
14
+ **pix_key_type** | [**PayoutMethodPixKeyTypeEnum**](PayoutMethodPixKeyTypeEnum.md) | | [optional]
15
+ **pix_key_value** | **String** | | [optional]
14
16
  **identity_card_type** | [**PayoutMethodIdentityCardTypeEnum**](PayoutMethodIdentityCardTypeEnum.md) | |
15
17
  **identity_card_id** | **String** | |
16
18
  **transfer_reason** | [**PayoutMethodTransferReasonEnum**](PayoutMethodTransferReasonEnum.md) | |
@@ -27,6 +29,8 @@ instance = TransferZero::PayoutMethodDetailsBRLBank.new(first_name: null,
27
29
  branch_code: null,
28
30
  bank_account: null,
29
31
  bank_account_type: null,
32
+ pix_key_type: null,
33
+ pix_key_value: null,
30
34
  identity_card_type: null,
31
35
  identity_card_id: null,
32
36
  transfer_reason: null)
@@ -0,0 +1,16 @@
1
+ # TransferZero::PayoutMethodPixKeyTypeEnum
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+
8
+ ## Code Sample
9
+
10
+ ```ruby
11
+ require 'TransferZero'
12
+
13
+ instance = TransferZero::PayoutMethodPixKeyTypeEnum.new()
14
+ ```
15
+
16
+
data/docs/Sender.md CHANGED
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
11
11
  **street** | **String** | Sender's street |
12
12
  **postal_code** | **String** | Zip code of sender |
13
13
  **city** | **String** | Sender's city |
14
- **phone_country** | **String** | Phone country of sender in 2-character alpha ISO 3166-2 country format |
14
+ **phone_country** | **String** | Phone country of sender in 2-character alpha ISO 3166-2 country format | [optional]
15
15
  **phone_number** | **String** | Phone number of sender (without country callcode) | [optional]
16
16
  **email** | **String** | Email of sender |
17
17
  **ip** | **String** | IP of sender |
@@ -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.23.3"
39
+ @user_agent = "TransferZero-SDK/Ruby/1.23.5"
40
40
  @default_headers = {
41
41
  'Content-Type' => 'application/json',
42
42
  'User-Agent' => @user_agent
@@ -23,7 +23,7 @@ class AccountValidationRequest
23
23
  # IBAN to query - BBAN format for XOF bank accounts
24
24
  attr_accessor :iban
25
25
 
26
- # Phone number to query
26
+ # Phone number to query in E.164 format
27
27
  attr_accessor :phone_number
28
28
 
29
29
  attr_accessor :mobile_provider
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.0.0-beta3
13
13
  require 'date'
14
14
 
15
15
  module TransferZero
16
- # ```JSON \"details\": { \"phone_number\": \"+2569999999\", } ```
16
+ # ```JSON \"details\": { \"phone_number\": \"+256129999999\", } ```
17
17
  class PayinMethodDetailsMobile
18
18
  # The phone number where the funds should be collected from
19
19
  attr_accessor :phone_number
@@ -90,6 +90,10 @@ class PayoutMethodDetails
90
90
 
91
91
  attr_accessor :swift_code
92
92
 
93
+ attr_accessor :pix_key_type
94
+
95
+ attr_accessor :pix_key_value
96
+
93
97
  # Attribute mapping from ruby-style variable name to JSON key.
94
98
  def self.attribute_map
95
99
  {
@@ -130,7 +134,9 @@ class PayoutMethodDetails
130
134
  :'nature_of_business' => :'nature_of_business',
131
135
  :'legal_entity_type' => :'legal_entity_type',
132
136
  :'branch_code' => :'branch_code',
133
- :'swift_code' => :'swift_code'
137
+ :'swift_code' => :'swift_code',
138
+ :'pix_key_type' => :'pix_key_type',
139
+ :'pix_key_value' => :'pix_key_value'
134
140
  }
135
141
  end
136
142
 
@@ -174,7 +180,9 @@ class PayoutMethodDetails
174
180
  :'nature_of_business' => :'PayoutMethodNatureOfBusinessEnum',
175
181
  :'legal_entity_type' => :'PayoutMethodLegalEntityTypeEnum',
176
182
  :'branch_code' => :'String',
177
- :'swift_code' => :'String'
183
+ :'swift_code' => :'String',
184
+ :'pix_key_type' => :'PayoutMethodPixKeyTypeEnum',
185
+ :'pix_key_value' => :'String'
178
186
  }
179
187
  end
180
188
 
@@ -371,6 +379,14 @@ class PayoutMethodDetails
371
379
  if attributes.key?(:'swift_code')
372
380
  self.swift_code = attributes[:'swift_code']
373
381
  end
382
+
383
+ if attributes.key?(:'pix_key_type')
384
+ self.pix_key_type = attributes[:'pix_key_type']
385
+ end
386
+
387
+ if attributes.key?(:'pix_key_value')
388
+ self.pix_key_value = attributes[:'pix_key_value']
389
+ end
374
390
  end
375
391
 
376
392
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -393,10 +409,6 @@ class PayoutMethodDetails
393
409
  invalid_properties.push('invalid value for "bank_account", bank_account cannot be nil.')
394
410
  end
395
411
 
396
- if @bank_account_type.nil?
397
- invalid_properties.push('invalid value for "bank_account_type", bank_account_type cannot be nil.')
398
- end
399
-
400
412
  if @phone_number.nil?
401
413
  invalid_properties.push('invalid value for "phone_number", phone_number cannot be nil.')
402
414
  end
@@ -461,10 +473,6 @@ class PayoutMethodDetails
461
473
  invalid_properties.push('invalid value for "city", city cannot be nil.')
462
474
  end
463
475
 
464
- if @branch_code.nil?
465
- invalid_properties.push('invalid value for "branch_code", branch_code cannot be nil.')
466
- end
467
-
468
476
  if @swift_code.nil?
469
477
  invalid_properties.push('invalid value for "swift_code", swift_code cannot be nil.')
470
478
  end
@@ -479,7 +487,6 @@ class PayoutMethodDetails
479
487
  return false if @last_name.nil?
480
488
  return false if @bank_code.nil?
481
489
  return false if @bank_account.nil?
482
- return false if @bank_account_type.nil?
483
490
  return false if @phone_number.nil?
484
491
  return false if @mobile_provider.nil?
485
492
  return false if @country.nil?
@@ -496,7 +503,6 @@ class PayoutMethodDetails
496
503
  return false if @street.nil?
497
504
  return false if @postal_code.nil?
498
505
  return false if @city.nil?
499
- return false if @branch_code.nil?
500
506
  return false if @swift_code.nil?
501
507
  _one_of_found = false
502
508
  openapi_one_of.each do |_class|
@@ -559,7 +565,9 @@ class PayoutMethodDetails
559
565
  nature_of_business == o.nature_of_business &&
560
566
  legal_entity_type == o.legal_entity_type &&
561
567
  branch_code == o.branch_code &&
562
- swift_code == o.swift_code
568
+ swift_code == o.swift_code &&
569
+ pix_key_type == o.pix_key_type &&
570
+ pix_key_value == o.pix_key_value
563
571
  end
564
572
 
565
573
  # @see the `==` method
@@ -571,7 +579,7 @@ class PayoutMethodDetails
571
579
  # Calculates hash code according to all attributes.
572
580
  # @return [Integer] Hash code
573
581
  def hash
574
- [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, branch_code, swift_code].hash
582
+ [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, branch_code, swift_code, pix_key_type, pix_key_value].hash
575
583
  end
576
584
 
577
585
  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\", \"last_name\": \"Last\", \"phone_number\": \"+552112345678\", \"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\", \"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\", \"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
17
17
  class PayoutMethodDetailsBRLBank
18
18
  attr_accessor :first_name
19
19
 
@@ -29,6 +29,10 @@ class PayoutMethodDetailsBRLBank
29
29
 
30
30
  attr_accessor :bank_account_type
31
31
 
32
+ attr_accessor :pix_key_type
33
+
34
+ attr_accessor :pix_key_value
35
+
32
36
  attr_accessor :identity_card_type
33
37
 
34
38
  attr_accessor :identity_card_id
@@ -45,6 +49,8 @@ class PayoutMethodDetailsBRLBank
45
49
  :'branch_code' => :'branch_code',
46
50
  :'bank_account' => :'bank_account',
47
51
  :'bank_account_type' => :'bank_account_type',
52
+ :'pix_key_type' => :'pix_key_type',
53
+ :'pix_key_value' => :'pix_key_value',
48
54
  :'identity_card_type' => :'identity_card_type',
49
55
  :'identity_card_id' => :'identity_card_id',
50
56
  :'transfer_reason' => :'transfer_reason'
@@ -61,6 +67,8 @@ class PayoutMethodDetailsBRLBank
61
67
  :'branch_code' => :'String',
62
68
  :'bank_account' => :'String',
63
69
  :'bank_account_type' => :'PayoutMethodBankAccountTypeEnum',
70
+ :'pix_key_type' => :'PayoutMethodPixKeyTypeEnum',
71
+ :'pix_key_value' => :'String',
64
72
  :'identity_card_type' => :'PayoutMethodIdentityCardTypeEnum',
65
73
  :'identity_card_id' => :'String',
66
74
  :'transfer_reason' => :'PayoutMethodTransferReasonEnum'
@@ -110,6 +118,14 @@ class PayoutMethodDetailsBRLBank
110
118
  self.bank_account_type = attributes[:'bank_account_type']
111
119
  end
112
120
 
121
+ if attributes.key?(:'pix_key_type')
122
+ self.pix_key_type = attributes[:'pix_key_type']
123
+ end
124
+
125
+ if attributes.key?(:'pix_key_value')
126
+ self.pix_key_value = attributes[:'pix_key_value']
127
+ end
128
+
113
129
  if attributes.key?(:'identity_card_type')
114
130
  self.identity_card_type = attributes[:'identity_card_type']
115
131
  end
@@ -135,22 +151,6 @@ class PayoutMethodDetailsBRLBank
135
151
  invalid_properties.push('invalid value for "last_name", last_name cannot be nil.')
136
152
  end
137
153
 
138
- if @bank_code.nil?
139
- invalid_properties.push('invalid value for "bank_code", bank_code cannot be nil.')
140
- end
141
-
142
- if @branch_code.nil?
143
- invalid_properties.push('invalid value for "branch_code", branch_code cannot be nil.')
144
- end
145
-
146
- if @bank_account.nil?
147
- invalid_properties.push('invalid value for "bank_account", bank_account cannot be nil.')
148
- end
149
-
150
- if @bank_account_type.nil?
151
- invalid_properties.push('invalid value for "bank_account_type", bank_account_type cannot be nil.')
152
- end
153
-
154
154
  if @identity_card_type.nil?
155
155
  invalid_properties.push('invalid value for "identity_card_type", identity_card_type cannot be nil.')
156
156
  end
@@ -171,10 +171,6 @@ class PayoutMethodDetailsBRLBank
171
171
  def valid?
172
172
  return false if @first_name.nil?
173
173
  return false if @last_name.nil?
174
- return false if @bank_code.nil?
175
- return false if @branch_code.nil?
176
- return false if @bank_account.nil?
177
- return false if @bank_account_type.nil?
178
174
  return false if @identity_card_type.nil?
179
175
  return false if @identity_card_id.nil?
180
176
  return false if @transfer_reason.nil?
@@ -193,6 +189,8 @@ class PayoutMethodDetailsBRLBank
193
189
  branch_code == o.branch_code &&
194
190
  bank_account == o.bank_account &&
195
191
  bank_account_type == o.bank_account_type &&
192
+ pix_key_type == o.pix_key_type &&
193
+ pix_key_value == o.pix_key_value &&
196
194
  identity_card_type == o.identity_card_type &&
197
195
  identity_card_id == o.identity_card_id &&
198
196
  transfer_reason == o.transfer_reason
@@ -207,7 +205,7 @@ class PayoutMethodDetailsBRLBank
207
205
  # Calculates hash code according to all attributes.
208
206
  # @return [Integer] Hash code
209
207
  def hash
210
- [first_name, last_name, phone_number, bank_code, branch_code, bank_account, bank_account_type, identity_card_type, identity_card_id, transfer_reason].hash
208
+ [first_name, last_name, 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
211
209
  end
212
210
 
213
211
  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\", \"last_name\": \"Last\", \"phone_number\": \"0322023144\" } ```
16
+ # ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"+233322023144\" } ```
17
17
  class PayoutMethodDetailsGHSCash
18
18
  attr_accessor :first_name
19
19
 
@@ -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\", \"last_name\": \"Last\", \"phone_number\": \"444044436\", // local or international Guinea format \"mobile_provider\": \"mtn\" } ```
16
+ # ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"+224444044436\", // E.164 international format \"mobile_provider\": \"mtn\" } ```
17
17
  class PayoutMethodDetailsGNFMobile
18
18
  attr_accessor :first_name
19
19
 
@@ -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\", \"last_name\": \"Last\", \"street\": \"Main Street\", \"phone_number\": \"+254997853134\", \"mobile_provider\": \"mpesa\", \"transfer_reason\": \"personal_account\", // New transfer reason field \"identity_card_type\": \"ID\", \"identity_card_id\": \"AB12345678\" } ``` See [KES Mobile](https://docs.transferzero.com/docs/payout-details/#kesmobile) documentation for transfer_reason lists
16
+ # ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"street\": \"Main Street\", \"phone_number\": \"+254997853134\", // E.164 international format \"mobile_provider\": \"mpesa\", \"transfer_reason\": \"personal_account\", // New transfer reason field \"identity_card_type\": \"ID\", \"identity_card_id\": \"AB12345678\" } ``` See [KES Mobile](https://docs.transferzero.com/docs/payout-details/#kesmobile) documentation for transfer_reason lists
17
17
  class PayoutMethodDetailsKESMobile
18
18
  attr_accessor :first_name
19
19
 
@@ -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\", \"last_name\": \"Last\", \"phone_number\": \"212537718685\" # Mandatory; International format preferred \"sender_identity_card_type\" => \"O\", # Mandatory; Values: \"O\": Other, \"PP\": Passport, \"ID\": National ID \"sender_identity_card_id\" => 'AB12345678', # Mandatory \"sender_city_of_birth\" => \"London\", # Optional \"sender_country_of_birth\" => \"GB\", # Optional; ISO 2-letter format \"sender_gender\" => \"M\", # Optional; Values: \"M\": Male, \"F\": Female \"reason\" => \"Remittance payment\", # Optional; Default value is 'Remittance payment' \"identity_card_type\" => \"ID\", # Optional; Values: \"PP\": Passport, \"ID\": National ID \"identity_card_id\" => 'AB12345678' # Optional } ``` Please note when sending MAD::Cash payments you should subscribe to the recipient.pending webhook, as that will broadcast the payment reference ID the customer need to use to obtain the funds. Example webhook response excerpt - ```JSON { (...) \"state\":\"pending\", \"metadata\": { \"payment_reference\":\"9M5GJRJUBCY\" }, (...) } ``` The reference can also be provided optionally for MAD::Cash, but if you want to use this functionality please contact us for more details.
16
+ # ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"+212537718685\" # Mandatory; E.164 international format \"sender_identity_card_type\" => \"O\", # Mandatory; Values: \"O\": Other, \"PP\": Passport, \"ID\": National ID \"sender_identity_card_id\" => 'AB12345678', # Mandatory \"sender_city_of_birth\" => \"London\", # Optional \"sender_country_of_birth\" => \"GB\", # Optional; ISO 2-letter format \"sender_gender\" => \"M\", # Optional; Values: \"M\": Male, \"F\": Female \"reason\" => \"Remittance payment\", # Optional; Default value is 'Remittance payment' \"identity_card_type\" => \"ID\", # Optional; Values: \"PP\": Passport, \"ID\": National ID \"identity_card_id\" => 'AB12345678' # Optional } ``` Please note when sending MAD::Cash payments you should subscribe to the recipient.pending webhook, as that will broadcast the payment reference ID the customer need to use to obtain the funds. Example webhook response excerpt - ```JSON { (...) \"state\":\"pending\", \"metadata\": { \"payment_reference\":\"9M5GJRJUBCY\" }, (...) } ``` The reference can also be provided optionally for MAD::Cash, but if you want to use this functionality please contact us for more details.
17
17
  class PayoutMethodDetailsMADCash
18
18
  attr_accessor :first_name
19
19
 
@@ -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\", \"last_name\": \"Last\", \"phone_number\": \"7087661234\" // local or international format } ``` Please note when sending XOF::Cash payments you should subscribe to the recipient.pending webhook, as that will broadcast the payment reference ID the customer need to use to obtain the funds. Example webhook response excerpt - ```JSON { (...) \"state\":\"pending\", \"metadata\": { \"payment_reference\":\"9M5GJRJUBCY\" }, (...) } ```
16
+ # ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"+221708766123\" // E.164 international format } ``` Please note when sending XOF::Cash payments you should subscribe to the recipient.pending webhook, as that will broadcast the payment reference ID the customer need to use to obtain the funds. Example webhook response excerpt - ```JSON { (...) \"state\":\"pending\", \"metadata\": { \"payment_reference\":\"9M5GJRJUBCY\" }, (...) } ```
17
17
  class PayoutMethodDetailsMobile
18
18
  attr_accessor :first_name
19
19
 
@@ -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\": \"Jane\", \"last_name\": \"Doe\", \"phone_number\": \"+2341234567\", \"bank_code\": \"057\", \"bank_account\": \"1234567890\", \"country\": \"NG\" } ``` See [USD Bank](https://docs.transferzero.com/docs/payout-details/#usdbank) documentation for the bank_code and country lists
16
+ # ```JSON \"details\": { \"first_name\": \"Jane\", \"last_name\": \"Doe\", \"phone_number\": \"+2341234567\", // E.164 international format \"bank_code\": \"057\", \"bank_account\": \"1234567890\", \"country\": \"NG\" } ``` See [USD Bank](https://docs.transferzero.com/docs/payout-details/#usdbank) documentation for the bank_code and country lists
17
17
  class PayoutMethodDetailsUSDBank
18
18
  attr_accessor :first_name
19
19
 
@@ -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\": \"Jane\", \"last_name\": \"Doe\", \"phone_number\": \"+2341234567\", \"country\": \"NG\" } ``` See [USD Cash](https://docs.transferzero.com/docs/payout-details/#usdcash) documentation for the country list
16
+ # ```JSON \"details\": { \"first_name\": \"Jane\", \"last_name\": \"Doe\", \"phone_number\": \"+2341234567\", // E.164 international format \"country\": \"NG\" } ``` See [USD Cash](https://docs.transferzero.com/docs/payout-details/#usdcash) documentation for the country list
17
17
  class PayoutMethodDetailsUSDCash
18
18
  attr_accessor :first_name
19
19
 
@@ -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\", \"last_name\": \"Last\", \"phone_number\": \"674044436\", // local or international cameroon format \"mobile_provider\": \"orange\", // or mtn\" \"country\" // Optional; Values: \"CM\" } ```
16
+ # ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"+237674044436\", // E.164 international format \"mobile_provider\": \"orange\", // or mtn\" \"country\" // Optional; Values: \"CM\" } ```
17
17
  class PayoutMethodDetailsXAFMobile
18
18
  attr_accessor :first_name
19
19
 
@@ -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\", \"last_name\": \"Last\", \"phone_number\": \"221774044436\", // local or international format \"cash_provider\": \"wizall\" // Mandatory; Values: \"wizall\"; \"country\": \"SN\" // Optional; Values: \"CI\", \"ML\" or \"SN\"; Default value is \"SN\"; } ``` Please note all senders trying to create Wizall cash pickup requests must have `identity_type` and `identity_number` present. The fields above are generally considered optional for senders for other payment corridors. If you wish to use an existing sender who has some of these fields missing you can provide them alongside the `id` or `external_id` field in the sender details. For example - ```JSON { \"transaction\": { \"sender\": { \"external_id\": \"<id of sender>\", \"identity_type\": \"ID\", \"identity_number\": \"AB12345678\", (...) }, (...) } } ```
16
+ # ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"+221774044436\", // E.164 international format \"cash_provider\": \"wizall\" // Mandatory; Values: \"wizall\"; \"country\": \"SN\" // Optional; Values: \"CI\", \"ML\" or \"SN\"; Default value is \"SN\"; } ``` Please note all senders trying to create Wizall cash pickup requests must have `identity_type` and `identity_number` present. The fields above are generally considered optional for senders for other payment corridors. If you wish to use an existing sender who has some of these fields missing you can provide them alongside the `id` or `external_id` field in the sender details. For example - ```JSON { \"transaction\": { \"sender\": { \"external_id\": \"<id of sender>\", \"identity_type\": \"ID\", \"identity_number\": \"AB12345678\", (...) }, (...) } } ```
17
17
  class PayoutMethodDetailsXOFCash
18
18
  attr_accessor :first_name
19
19
 
@@ -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\", \"last_name\": \"Last\", \"phone_number\": \"774044436\", // local or international Senegalese or Ivory Coast format \"mobile_provider\": \"orange\", // \"orange\", \"tigo\", \"emoney\", \"free\" or \"wave\" for Senegal; \"orange\", \"mtn\" or \"moov\" for Ivory Coast; \"orange\" or \"mobicash\" for Burkina Faso and Mali \"country\" // Optional; Values: \"SN\" for Senegal; \"CI\" for Ivory Coast; \"ML\" for Mali; \"BF\" for Burkina Faso; Default value is \"SN\" \"transfer_reason\": \"personal_account\" // mandatory for Mali payouts, optional otherwise } ```
16
+ # ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"+221708766123\", // E.164 international format \"mobile_provider\": \"orange\", // \"orange\", \"tigo\", \"emoney\", \"free\" or \"wave\" for Senegal; \"orange\", \"mtn\" or \"moov\" for Ivory Coast; \"orange\" or \"mobicash\" for Burkina Faso and Mali \"country\" // Optional; Values: \"SN\" for Senegal; \"CI\" for Ivory Coast; \"ML\" for Mali; \"BF\" for Burkina Faso; Default value is \"SN\" \"transfer_reason\": \"personal_account\" // mandatory for Mali payouts, optional otherwise } ```
17
17
  class PayoutMethodDetailsXOFMobile
18
18
  attr_accessor :first_name
19
19
 
@@ -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\", // Mandatory for business payouts; \"contact_last_name\" \"Contact\", // Mandatory for business payouts; \"street\": \"Main Street\", \"postal_code\": \"AB0001\", \"city\": \"Cape Town\", \"email\": \"recipient@email.com\", \"bank_name\" 'Bank Zero', // Optional \"bank_code\": \"334810\", \"bank_account\": \"12345678\", \"phone_number\": \"+27119785313\", \"transfer_reason\": \"personal_account\", // New transfer reason field \"legal_entity_type\": \"sole_proprietorship\", // Optional; Default value is \"person\"; Mandatory for business payouts; \"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
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\", // Mandatory for business payouts; \"contact_last_name\" \"Contact\", // Mandatory for business payouts; \"street\": \"Main Street\", \"postal_code\": \"AB0001\", \"city\": \"Cape Town\", \"email\": \"recipient@email.com\", \"bank_name\" 'Bank Zero', // Optional \"bank_code\": \"334810\", \"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\"; Mandatory for business payouts; \"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
 
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #TransferZero API
3
+
4
+ #Reference documentation for the TransferZero API V1
5
+
6
+ OpenAPI spec version: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.0.0-beta3
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module TransferZero
16
+ class PayoutMethodPixKeyTypeEnum
17
+
18
+ CPF = "cpf".freeze
19
+ CNPJ = "cnpj".freeze
20
+ PHONE = "phone".freeze
21
+ EMAIL = "email".freeze
22
+ EVP = "evp".freeze
23
+
24
+ # Builds the enum from string
25
+ # @param [String] The enum value in the form of the string
26
+ # @return [String] The enum value
27
+ def build_from_hash(value)
28
+ constantValues = PayoutMethodPixKeyTypeEnum.constants.select { |c| PayoutMethodPixKeyTypeEnum::const_get(c) == value }
29
+ raise "Invalid ENUM value #{value} for class #PayoutMethodPixKeyTypeEnum" if constantValues.empty? && !value.empty?
30
+ value
31
+ end
32
+ end
33
+
34
+ end
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.0.0-beta3
13
13
  require 'date'
14
14
 
15
15
  module TransferZero
16
- # This contains the details of the sender. The first time a specific sender is used the full details should be provided. Once a sender is created and is used, the next time you MUST only send the ID of the sender. This is so we can match the same sender across multiple transactions for KYC and audit purposes. Personal Sender Example: ```json { // name \"first_name\": \"Jane\", \"last_name\": \"Doe\", // address \"country\": \"US\", \"city\": \"New York\", \"street\": \"20 W 34th St\", \"postal_code\": \"10001\", \"address_description\": \"\", // DOB \"birth_date\": \"1974-12-24\", // Contact Details; You can usually use your company's contact details here \"phone_country\": \"US\", \"phone_number\": \"5555551234\", \"email\": \"info@transferzero.com\", // ID of the sender in your system \"external_id\": \"Sender:US:234523\", // these fields are mandatory, but you can usually leave them with the following default values: \"documents\": [ ], \"ip\": \"127.0.0.1\", \"metadata\": {} } ``` Business Sender Example: ```json { \"type\": \"business\", \"name\": \"Company name\", // Country of Incorporation \"country\": \"US\", // Trading address of the company \"trading_country\": \"US\", \"city\": \"New York\", \"street\": \"20 W 34th St\", \"postal_code\": \"10001\", \"address_description\": \"\", // Company Details \"legal_entity_type\": \"privately_owned_company\", \"registration_date\": \"2012-01-25\", \"registration_number\": \"VAT1234567\", \"nature_of_business\": \"retail_trade\", // Contact Details \"phone_country\": \"US\", \"phone_number\": \"5555551234\", \"email\": \"example@home.org\", // ID of the sender in your system \"external_id\": \"Sender:Business:US:234523\", // these fields are mandatory, but you can usually leave them with the following default values: \"documents\": [ ], \"ip\": \"127.0.0.1\", \"metadata\": {} } ``` [Sender in the API documentation](https://docs.transferzero.com/docs/transaction-flow/#sender)
16
+ # This contains the details of the sender. The first time a specific sender is used the full details should be provided. Once a sender is created and is used, the next time you MUST only send the ID of the sender. This is so we can match the same sender across multiple transactions for KYC and audit purposes. Personal Sender Example: ```json { // name \"first_name\": \"Jane\", \"last_name\": \"Doe\", // address \"country\": \"US\", \"city\": \"New York\", \"street\": \"20 W 34th St\", \"postal_code\": \"10001\", \"address_description\": \"\", // DOB \"birth_date\": \"1974-12-24\", // Contact Details; You can usually use your company's contact details here \"phone_number\": \"+15555551234\", \"email\": \"info@transferzero.com\", // ID of the sender in your system \"external_id\": \"Sender:US:234523\", // these fields are mandatory, but you can usually leave them with the following default values: \"documents\": [ ], \"ip\": \"127.0.0.1\", \"metadata\": {} } ``` Business Sender Example: ```json { \"type\": \"business\", \"name\": \"Company name\", // Country of Incorporation \"country\": \"US\", // Trading address of the company \"trading_country\": \"US\", \"city\": \"New York\", \"street\": \"20 W 34th St\", \"postal_code\": \"10001\", \"address_description\": \"\", // Company Details \"legal_entity_type\": \"privately_owned_company\", \"registration_date\": \"2012-01-25\", \"registration_number\": \"VAT1234567\", \"nature_of_business\": \"retail_trade\", // Contact Details \"phone_number\": \"+15555551234\", \"email\": \"example@home.org\", // ID of the sender in your system \"external_id\": \"Sender:Business:US:234523\", // these fields are mandatory, but you can usually leave them with the following default values: \"documents\": [ ], \"ip\": \"127.0.0.1\", \"metadata\": {} } ``` [Sender in the API documentation](https://docs.transferzero.com/docs/transaction-flow/#sender)
17
17
  class Sender
18
18
  attr_accessor :id
19
19
 
@@ -649,10 +649,6 @@ class Sender
649
649
  invalid_properties.push('invalid value for "city", city cannot be nil.')
650
650
  end
651
651
 
652
- if @phone_country.nil?
653
- invalid_properties.push('invalid value for "phone_country", phone_country cannot be nil.')
654
- end
655
-
656
652
  if @email.nil?
657
653
  invalid_properties.push('invalid value for "email", email cannot be nil.')
658
654
  end
@@ -677,7 +673,6 @@ class Sender
677
673
  return false if @street.nil?
678
674
  return false if @postal_code.nil?
679
675
  return false if @city.nil?
680
- return false if @phone_country.nil?
681
676
  return false if @email.nil?
682
677
  return false if @ip.nil?
683
678
  identification_type_validator = EnumAttributeValidator.new('String', ["DL", "PP", "ID", "OT"])
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.0.0-beta3
11
11
  =end
12
12
 
13
13
  module TransferZero
14
- VERSION = '1.23.3'
14
+ VERSION = '1.23.5'
15
15
  end
@@ -94,6 +94,7 @@ require 'transferzero-sdk/models/payout_method_legal_entity_type_enum'
94
94
  require 'transferzero-sdk/models/payout_method_list_response'
95
95
  require 'transferzero-sdk/models/payout_method_mobile_provider_enum'
96
96
  require 'transferzero-sdk/models/payout_method_nature_of_business_enum'
97
+ require 'transferzero-sdk/models/payout_method_pix_key_type_enum'
97
98
  require 'transferzero-sdk/models/payout_method_request'
98
99
  require 'transferzero-sdk/models/payout_method_response'
99
100
  require 'transferzero-sdk/models/payout_method_transfer_reason_enum'
@@ -0,0 +1,35 @@
1
+ =begin
2
+ #TransferZero API
3
+
4
+ #Reference documentation for the TransferZero API V1
5
+
6
+ OpenAPI spec version: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.0.0-beta3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TransferZero::PayoutMethodPixKeyTypeEnum
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PayoutMethodPixKeyTypeEnum' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::PayoutMethodPixKeyTypeEnum.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PayoutMethodPixKeyTypeEnum' do
31
+ it 'should create an instance of PayoutMethodPixKeyTypeEnum' do
32
+ expect(@instance).to be_instance_of(TransferZero::PayoutMethodPixKeyTypeEnum)
33
+ end
34
+ end
35
+ end
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.23.3
4
+ version: 1.23.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - TransferZero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-21 00:00:00.000000000 Z
11
+ date: 2023-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -182,6 +182,7 @@ files:
182
182
  - docs/PayoutMethodListResponse.md
183
183
  - docs/PayoutMethodMobileProviderEnum.md
184
184
  - docs/PayoutMethodNatureOfBusinessEnum.md
185
+ - docs/PayoutMethodPixKeyTypeEnum.md
185
186
  - docs/PayoutMethodRequest.md
186
187
  - docs/PayoutMethodResponse.md
187
188
  - docs/PayoutMethodTransferReasonEnum.md
@@ -329,6 +330,7 @@ files:
329
330
  - lib/transferzero-sdk/models/payout_method_list_response.rb
330
331
  - lib/transferzero-sdk/models/payout_method_mobile_provider_enum.rb
331
332
  - lib/transferzero-sdk/models/payout_method_nature_of_business_enum.rb
333
+ - lib/transferzero-sdk/models/payout_method_pix_key_type_enum.rb
332
334
  - lib/transferzero-sdk/models/payout_method_request.rb
333
335
  - lib/transferzero-sdk/models/payout_method_response.rb
334
336
  - lib/transferzero-sdk/models/payout_method_transfer_reason_enum.rb
@@ -466,6 +468,7 @@ files:
466
468
  - spec/models/payout_method_list_response_spec.rb
467
469
  - spec/models/payout_method_mobile_provider_enum_spec.rb
468
470
  - spec/models/payout_method_nature_of_business_enum_spec.rb
471
+ - spec/models/payout_method_pix_key_type_enum_spec.rb
469
472
  - spec/models/payout_method_request_spec.rb
470
473
  - spec/models/payout_method_response_spec.rb
471
474
  - spec/models/payout_method_spec.rb
@@ -522,6 +525,7 @@ files:
522
525
  - transferzero-sdk-1.21.0.gem
523
526
  - transferzero-sdk-1.22.0.gem
524
527
  - transferzero-sdk-1.23.0.gem
528
+ - transferzero-sdk-1.23.3.gem
525
529
  - transferzero-sdk.gemspec
526
530
  homepage: https://github.com/transferzero/transferzero-sdk-ruby
527
531
  licenses:
@@ -646,6 +650,7 @@ test_files:
646
650
  - spec/models/payout_method_details_spec.rb
647
651
  - spec/models/recipient_response_spec.rb
648
652
  - spec/models/recipient_list_response_spec.rb
653
+ - spec/models/payout_method_pix_key_type_enum_spec.rb
649
654
  - spec/models/account_response_spec.rb
650
655
  - spec/models/recipient_request_spec.rb
651
656
  - spec/models/recipient_state_reason_details_spec.rb