transferzero-sdk 1.15.1 → 1.18.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 +4 -4
- data/Gemfile.lock +89 -0
- data/README.md +8 -5
- data/docs/PayoutMethod.md +1 -1
- data/docs/PayoutMethodDetails.md +4 -2
- data/docs/PayoutMethodDetailsGNFMobile.md +23 -0
- data/docs/PayoutMethodDetailsKESBank.md +3 -1
- data/docs/PayoutMethodDetailsKESMobile.md +3 -1
- data/docs/PayoutMethodDetailsUSDBank.md +1 -1
- data/docs/PayoutMethodDetailsUSDCash.md +23 -0
- data/docs/PayoutMethodDetailsXAFMobile.md +25 -0
- data/docs/PayoutMethodDetailsXOFBank.md +3 -1
- data/docs/PayoutMethodDetailsXOFMobile.md +3 -1
- data/docs/PayoutMethodDetailsZARBank.md +2 -0
- data/docs/{PayoutMethodCountryEnumUSDBank.md → PayoutMethodTransferReasonEnum.md} +2 -2
- data/docs/Recipient.md +2 -0
- data/docs/Sender.md +2 -0
- data/lib/transferzero-sdk/api_client.rb +1 -1
- data/lib/transferzero-sdk/models/payout_method.rb +1 -1
- data/lib/transferzero-sdk/models/payout_method_details.rb +14 -7
- data/lib/transferzero-sdk/models/payout_method_details_gnf_mobile.rb +250 -0
- data/lib/transferzero-sdk/models/payout_method_details_kes_bank.rb +11 -7
- data/lib/transferzero-sdk/models/payout_method_details_kes_mobile.rb +11 -7
- data/lib/transferzero-sdk/models/payout_method_details_mobile.rb +1 -1
- data/lib/transferzero-sdk/models/payout_method_details_usd_bank.rb +2 -2
- data/lib/transferzero-sdk/models/payout_method_details_usd_cash.rb +250 -0
- data/lib/transferzero-sdk/models/payout_method_details_xaf_mobile.rb +259 -0
- data/lib/transferzero-sdk/models/payout_method_details_xof_bank.rb +14 -5
- data/lib/transferzero-sdk/models/payout_method_details_xof_mobile.rb +14 -5
- data/lib/transferzero-sdk/models/payout_method_details_zar_bank.rb +11 -2
- data/lib/transferzero-sdk/models/payout_method_mobile_provider_enum.rb +3 -0
- data/lib/transferzero-sdk/models/payout_method_transfer_reason_enum.rb +137 -0
- data/lib/transferzero-sdk/models/recipient.rb +45 -1
- data/lib/transferzero-sdk/models/sender.rb +11 -1
- data/lib/transferzero-sdk/version.rb +1 -1
- data/lib/transferzero-sdk.rb +4 -1
- data/spec/models/payout_method_details_gnf_mobile_spec.rb +59 -0
- data/spec/models/payout_method_details_usd_cash_spec.rb +59 -0
- data/spec/models/payout_method_details_xaf_mobile_spec.rb +65 -0
- data/spec/models/{payout_method_country_enum_usd_bank_spec.rb → payout_method_transfer_reason_enum_spec.rb} +6 -6
- data/transferzero-sdk-1.16.1.gem +0 -0
- metadata +21 -7
- data/lib/transferzero-sdk/models/payout_method_country_enum_usd_bank.rb +0 -269
@@ -76,9 +76,34 @@ class Recipient
|
|
76
76
|
|
77
77
|
attr_accessor :id
|
78
78
|
|
79
|
+
# Type of recipient to create - either person or business (defaults to person)
|
80
|
+
attr_accessor :type
|
81
|
+
|
79
82
|
# The fields that have some problems and don't pass validation
|
80
83
|
attr_accessor :errors
|
81
84
|
|
85
|
+
class EnumAttributeValidator
|
86
|
+
attr_reader :datatype
|
87
|
+
attr_reader :allowable_values
|
88
|
+
|
89
|
+
def initialize(datatype, allowable_values)
|
90
|
+
@allowable_values = allowable_values.map do |value|
|
91
|
+
case datatype.to_s
|
92
|
+
when /Integer/i
|
93
|
+
value.to_i
|
94
|
+
when /Float/i
|
95
|
+
value.to_f
|
96
|
+
else
|
97
|
+
value
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
def valid?(value)
|
103
|
+
!value || allowable_values.include?(value)
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
82
107
|
# Attribute mapping from ruby-style variable name to JSON key.
|
83
108
|
def self.attribute_map
|
84
109
|
{
|
@@ -104,6 +129,7 @@ class Recipient
|
|
104
129
|
:'output_amount' => :'output_amount',
|
105
130
|
:'output_currency' => :'output_currency',
|
106
131
|
:'id' => :'id',
|
132
|
+
:'type' => :'type',
|
107
133
|
:'errors' => :'errors'
|
108
134
|
}
|
109
135
|
end
|
@@ -133,6 +159,7 @@ class Recipient
|
|
133
159
|
:'output_amount' => :'Float',
|
134
160
|
:'output_currency' => :'String',
|
135
161
|
:'id' => :'String',
|
162
|
+
:'type' => :'String',
|
136
163
|
:'errors' => :'Hash<String, Array<ValidationErrorDescription>>'
|
137
164
|
}
|
138
165
|
end
|
@@ -240,6 +267,10 @@ class Recipient
|
|
240
267
|
self.id = attributes[:'id']
|
241
268
|
end
|
242
269
|
|
270
|
+
if attributes.key?(:'type')
|
271
|
+
self.type = attributes[:'type']
|
272
|
+
end
|
273
|
+
|
243
274
|
if attributes.key?(:'errors')
|
244
275
|
if (value = attributes[:'errors']).is_a?(Hash)
|
245
276
|
self.errors = value
|
@@ -272,9 +303,21 @@ class Recipient
|
|
272
303
|
return false if @requested_amount.nil?
|
273
304
|
return false if @requested_currency.nil?
|
274
305
|
return false if @payout_method.nil?
|
306
|
+
type_validator = EnumAttributeValidator.new('String', ["person", "business"])
|
307
|
+
return false unless type_validator.valid?(@type)
|
275
308
|
true
|
276
309
|
end
|
277
310
|
|
311
|
+
# Custom attribute writer method checking allowed values (enum).
|
312
|
+
# @param [Object] type Object to be assigned
|
313
|
+
def type=(type)
|
314
|
+
validator = EnumAttributeValidator.new('String', ["person", "business"])
|
315
|
+
unless validator.valid?(type) || type.empty?
|
316
|
+
fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
|
317
|
+
end
|
318
|
+
@type = type
|
319
|
+
end
|
320
|
+
|
278
321
|
# Checks equality by comparing each attribute.
|
279
322
|
# @param [Object] Object to be compared
|
280
323
|
def ==(o)
|
@@ -302,6 +345,7 @@ class Recipient
|
|
302
345
|
output_amount == o.output_amount &&
|
303
346
|
output_currency == o.output_currency &&
|
304
347
|
id == o.id &&
|
348
|
+
type == o.type &&
|
305
349
|
errors == o.errors
|
306
350
|
end
|
307
351
|
|
@@ -314,7 +358,7 @@ class Recipient
|
|
314
358
|
# Calculates hash code according to all attributes.
|
315
359
|
# @return [Integer] Hash code
|
316
360
|
def hash
|
317
|
-
[requested_amount, requested_currency, payout_method, metadata, created_at, editable, retriable, input_usd_amount, may_cancel, state_reason, state_reason_details, state, transaction_id, transaction_external_id, transaction_state, exchange_rate, fee_fractional, input_amount, input_currency, output_amount, output_currency, id, errors].hash
|
361
|
+
[requested_amount, requested_currency, payout_method, metadata, created_at, editable, retriable, input_usd_amount, may_cancel, state_reason, state_reason_details, state, transaction_id, transaction_external_id, transaction_state, exchange_rate, fee_fractional, input_amount, input_currency, output_amount, output_currency, id, type, errors].hash
|
318
362
|
end
|
319
363
|
|
320
364
|
require 'active_support/core_ext/hash'
|
@@ -157,6 +157,9 @@ class Sender
|
|
157
157
|
# The gender of the sender: - `M`: Male - `F`: Female - `O`: Other
|
158
158
|
attr_accessor :gender
|
159
159
|
|
160
|
+
# Sales Lead ID for tracking (optional)
|
161
|
+
attr_accessor :sales_lead_id
|
162
|
+
|
160
163
|
# Date and time of sender was created
|
161
164
|
attr_accessor :created_at
|
162
165
|
|
@@ -233,6 +236,7 @@ class Sender
|
|
233
236
|
:'city_of_birth' => :'city_of_birth',
|
234
237
|
:'country_of_birth' => :'country_of_birth',
|
235
238
|
:'gender' => :'gender',
|
239
|
+
:'sales_lead_id' => :'sales_lead_id',
|
236
240
|
:'created_at' => :'created_at'
|
237
241
|
}
|
238
242
|
end
|
@@ -288,6 +292,7 @@ class Sender
|
|
288
292
|
:'city_of_birth' => :'String',
|
289
293
|
:'country_of_birth' => :'String',
|
290
294
|
:'gender' => :'String',
|
295
|
+
:'sales_lead_id' => :'String',
|
291
296
|
:'created_at' => :'String'
|
292
297
|
}
|
293
298
|
end
|
@@ -505,6 +510,10 @@ class Sender
|
|
505
510
|
self.gender = attributes[:'gender']
|
506
511
|
end
|
507
512
|
|
513
|
+
if attributes.key?(:'sales_lead_id')
|
514
|
+
self.sales_lead_id = attributes[:'sales_lead_id']
|
515
|
+
end
|
516
|
+
|
508
517
|
if attributes.key?(:'created_at')
|
509
518
|
self.created_at = attributes[:'created_at']
|
510
519
|
end
|
@@ -676,6 +685,7 @@ class Sender
|
|
676
685
|
city_of_birth == o.city_of_birth &&
|
677
686
|
country_of_birth == o.country_of_birth &&
|
678
687
|
gender == o.gender &&
|
688
|
+
sales_lead_id == o.sales_lead_id &&
|
679
689
|
created_at == o.created_at
|
680
690
|
end
|
681
691
|
|
@@ -688,7 +698,7 @@ class Sender
|
|
688
698
|
# Calculates hash code according to all attributes.
|
689
699
|
# @return [Integer] Hash code
|
690
700
|
def hash
|
691
|
-
[id, type, state, country, street, postal_code, city, phone_country, phone_number, email, ip, address_description, identification_number, identification_type, lang, name, first_name, middle_name, last_name, birth_date, occupation, nationality, legal_entity_type, registration_date, registration_number, nature_of_business, source_of_funds, custom_source_of_funds, core_business_activity, purpose_of_opening_account, office_phone, vat_registration_number, financial_regulator, regulatory_licence_number, contact_person_email, trading_country, trading_address, number_monthly_transactions, amount_monthly_transactions, documents, metadata, errors, onboarding_status, politically_exposed_people, external_id, city_of_birth, country_of_birth, gender, created_at].hash
|
701
|
+
[id, type, state, country, street, postal_code, city, phone_country, phone_number, email, ip, address_description, identification_number, identification_type, lang, name, first_name, middle_name, last_name, birth_date, occupation, nationality, legal_entity_type, registration_date, registration_number, nature_of_business, source_of_funds, custom_source_of_funds, core_business_activity, purpose_of_opening_account, office_phone, vat_registration_number, financial_regulator, regulatory_licence_number, contact_person_email, trading_country, trading_address, number_monthly_transactions, amount_monthly_transactions, documents, metadata, errors, onboarding_status, politically_exposed_people, external_id, city_of_birth, country_of_birth, gender, sales_lead_id, created_at].hash
|
692
702
|
end
|
693
703
|
|
694
704
|
require 'active_support/core_ext/hash'
|
data/lib/transferzero-sdk.rb
CHANGED
@@ -63,13 +63,13 @@ require 'transferzero-sdk/models/payout_method'
|
|
63
63
|
require 'transferzero-sdk/models/payout_method_bank_account_type_enum'
|
64
64
|
require 'transferzero-sdk/models/payout_method_cash_provider_enum'
|
65
65
|
require 'transferzero-sdk/models/payout_method_country_enum'
|
66
|
-
require 'transferzero-sdk/models/payout_method_country_enum_usd_bank'
|
67
66
|
require 'transferzero-sdk/models/payout_method_details'
|
68
67
|
require 'transferzero-sdk/models/payout_method_details_btc'
|
69
68
|
require 'transferzero-sdk/models/payout_method_details_balance'
|
70
69
|
require 'transferzero-sdk/models/payout_method_details_gbp_bank'
|
71
70
|
require 'transferzero-sdk/models/payout_method_details_ghs_bank'
|
72
71
|
require 'transferzero-sdk/models/payout_method_details_ghs_cash'
|
72
|
+
require 'transferzero-sdk/models/payout_method_details_gnf_mobile'
|
73
73
|
require 'transferzero-sdk/models/payout_method_details_iban'
|
74
74
|
require 'transferzero-sdk/models/payout_method_details_kes_bank'
|
75
75
|
require 'transferzero-sdk/models/payout_method_details_kes_mobile'
|
@@ -77,6 +77,8 @@ require 'transferzero-sdk/models/payout_method_details_mad_cash'
|
|
77
77
|
require 'transferzero-sdk/models/payout_method_details_mobile'
|
78
78
|
require 'transferzero-sdk/models/payout_method_details_ngn_bank'
|
79
79
|
require 'transferzero-sdk/models/payout_method_details_usd_bank'
|
80
|
+
require 'transferzero-sdk/models/payout_method_details_usd_cash'
|
81
|
+
require 'transferzero-sdk/models/payout_method_details_xaf_mobile'
|
80
82
|
require 'transferzero-sdk/models/payout_method_details_xof_bank'
|
81
83
|
require 'transferzero-sdk/models/payout_method_details_xof_cash'
|
82
84
|
require 'transferzero-sdk/models/payout_method_details_xof_mobile'
|
@@ -89,6 +91,7 @@ require 'transferzero-sdk/models/payout_method_mobile_provider_enum'
|
|
89
91
|
require 'transferzero-sdk/models/payout_method_nature_of_business_enum'
|
90
92
|
require 'transferzero-sdk/models/payout_method_request'
|
91
93
|
require 'transferzero-sdk/models/payout_method_response'
|
94
|
+
require 'transferzero-sdk/models/payout_method_transfer_reason_enum'
|
92
95
|
require 'transferzero-sdk/models/payout_method_webhook'
|
93
96
|
require 'transferzero-sdk/models/politically_exposed_person'
|
94
97
|
require 'transferzero-sdk/models/proof_of_payment'
|
@@ -0,0 +1,59 @@
|
|
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::PayoutMethodDetailsGNFMobile
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'PayoutMethodDetailsGNFMobile' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = TransferZero::PayoutMethodDetailsGNFMobile.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of PayoutMethodDetailsGNFMobile' do
|
31
|
+
it 'should create an instance of PayoutMethodDetailsGNFMobile' do
|
32
|
+
expect(@instance).to be_instance_of(TransferZero::PayoutMethodDetailsGNFMobile)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "first_name"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "last_name"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "phone_number"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "mobile_provider"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
@@ -0,0 +1,59 @@
|
|
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::PayoutMethodDetailsUSDCash
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'PayoutMethodDetailsUSDCash' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = TransferZero::PayoutMethodDetailsUSDCash.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of PayoutMethodDetailsUSDCash' do
|
31
|
+
it 'should create an instance of PayoutMethodDetailsUSDCash' do
|
32
|
+
expect(@instance).to be_instance_of(TransferZero::PayoutMethodDetailsUSDCash)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "first_name"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "last_name"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "phone_number"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "country"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
@@ -0,0 +1,65 @@
|
|
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::PayoutMethodDetailsXAFMobile
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'PayoutMethodDetailsXAFMobile' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = TransferZero::PayoutMethodDetailsXAFMobile.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of PayoutMethodDetailsXAFMobile' do
|
31
|
+
it 'should create an instance of PayoutMethodDetailsXAFMobile' do
|
32
|
+
expect(@instance).to be_instance_of(TransferZero::PayoutMethodDetailsXAFMobile)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "first_name"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "last_name"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "phone_number"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "mobile_provider"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "country"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for TransferZero::
|
17
|
+
# Unit tests for TransferZero::PayoutMethodTransferReasonEnum
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'PayoutMethodTransferReasonEnum' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = TransferZero::
|
23
|
+
@instance = TransferZero::PayoutMethodTransferReasonEnum.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(TransferZero::
|
30
|
+
describe 'test an instance of PayoutMethodTransferReasonEnum' do
|
31
|
+
it 'should create an instance of PayoutMethodTransferReasonEnum' do
|
32
|
+
expect(@instance).to be_instance_of(TransferZero::PayoutMethodTransferReasonEnum)
|
33
33
|
end
|
34
34
|
end
|
35
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.
|
4
|
+
version: 1.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TransferZero
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -206,6 +206,7 @@ extensions: []
|
|
206
206
|
extra_rdoc_files: []
|
207
207
|
files:
|
208
208
|
- Gemfile
|
209
|
+
- Gemfile.lock
|
209
210
|
- LICENSE
|
210
211
|
- README.md
|
211
212
|
- Rakefile
|
@@ -263,13 +264,13 @@ files:
|
|
263
264
|
- docs/PayoutMethodBankAccountTypeEnum.md
|
264
265
|
- docs/PayoutMethodCashProviderEnum.md
|
265
266
|
- docs/PayoutMethodCountryEnum.md
|
266
|
-
- docs/PayoutMethodCountryEnumUSDBank.md
|
267
267
|
- docs/PayoutMethodDetails.md
|
268
268
|
- docs/PayoutMethodDetailsBTC.md
|
269
269
|
- docs/PayoutMethodDetailsBalance.md
|
270
270
|
- docs/PayoutMethodDetailsGBPBank.md
|
271
271
|
- docs/PayoutMethodDetailsGHSBank.md
|
272
272
|
- docs/PayoutMethodDetailsGHSCash.md
|
273
|
+
- docs/PayoutMethodDetailsGNFMobile.md
|
273
274
|
- docs/PayoutMethodDetailsIBAN.md
|
274
275
|
- docs/PayoutMethodDetailsKESBank.md
|
275
276
|
- docs/PayoutMethodDetailsKESMobile.md
|
@@ -277,6 +278,8 @@ files:
|
|
277
278
|
- docs/PayoutMethodDetailsMobile.md
|
278
279
|
- docs/PayoutMethodDetailsNGNBank.md
|
279
280
|
- docs/PayoutMethodDetailsUSDBank.md
|
281
|
+
- docs/PayoutMethodDetailsUSDCash.md
|
282
|
+
- docs/PayoutMethodDetailsXAFMobile.md
|
280
283
|
- docs/PayoutMethodDetailsXOFBank.md
|
281
284
|
- docs/PayoutMethodDetailsXOFCash.md
|
282
285
|
- docs/PayoutMethodDetailsXOFMobile.md
|
@@ -289,6 +292,7 @@ files:
|
|
289
292
|
- docs/PayoutMethodNatureOfBusinessEnum.md
|
290
293
|
- docs/PayoutMethodRequest.md
|
291
294
|
- docs/PayoutMethodResponse.md
|
295
|
+
- docs/PayoutMethodTransferReasonEnum.md
|
292
296
|
- docs/PayoutMethodWebhook.md
|
293
297
|
- docs/PayoutMethodsApi.md
|
294
298
|
- docs/PoliticallyExposedPerson.md
|
@@ -400,13 +404,13 @@ files:
|
|
400
404
|
- lib/transferzero-sdk/models/payout_method_bank_account_type_enum.rb
|
401
405
|
- lib/transferzero-sdk/models/payout_method_cash_provider_enum.rb
|
402
406
|
- lib/transferzero-sdk/models/payout_method_country_enum.rb
|
403
|
-
- lib/transferzero-sdk/models/payout_method_country_enum_usd_bank.rb
|
404
407
|
- lib/transferzero-sdk/models/payout_method_details.rb
|
405
408
|
- lib/transferzero-sdk/models/payout_method_details_balance.rb
|
406
409
|
- lib/transferzero-sdk/models/payout_method_details_btc.rb
|
407
410
|
- lib/transferzero-sdk/models/payout_method_details_gbp_bank.rb
|
408
411
|
- lib/transferzero-sdk/models/payout_method_details_ghs_bank.rb
|
409
412
|
- lib/transferzero-sdk/models/payout_method_details_ghs_cash.rb
|
413
|
+
- lib/transferzero-sdk/models/payout_method_details_gnf_mobile.rb
|
410
414
|
- lib/transferzero-sdk/models/payout_method_details_iban.rb
|
411
415
|
- lib/transferzero-sdk/models/payout_method_details_kes_bank.rb
|
412
416
|
- lib/transferzero-sdk/models/payout_method_details_kes_mobile.rb
|
@@ -414,6 +418,8 @@ files:
|
|
414
418
|
- lib/transferzero-sdk/models/payout_method_details_mobile.rb
|
415
419
|
- lib/transferzero-sdk/models/payout_method_details_ngn_bank.rb
|
416
420
|
- lib/transferzero-sdk/models/payout_method_details_usd_bank.rb
|
421
|
+
- lib/transferzero-sdk/models/payout_method_details_usd_cash.rb
|
422
|
+
- lib/transferzero-sdk/models/payout_method_details_xaf_mobile.rb
|
417
423
|
- lib/transferzero-sdk/models/payout_method_details_xof_bank.rb
|
418
424
|
- lib/transferzero-sdk/models/payout_method_details_xof_cash.rb
|
419
425
|
- lib/transferzero-sdk/models/payout_method_details_xof_mobile.rb
|
@@ -426,6 +432,7 @@ files:
|
|
426
432
|
- lib/transferzero-sdk/models/payout_method_nature_of_business_enum.rb
|
427
433
|
- lib/transferzero-sdk/models/payout_method_request.rb
|
428
434
|
- lib/transferzero-sdk/models/payout_method_response.rb
|
435
|
+
- lib/transferzero-sdk/models/payout_method_transfer_reason_enum.rb
|
429
436
|
- lib/transferzero-sdk/models/payout_method_webhook.rb
|
430
437
|
- lib/transferzero-sdk/models/politically_exposed_person.rb
|
431
438
|
- lib/transferzero-sdk/models/proof_of_payment.rb
|
@@ -527,12 +534,12 @@ files:
|
|
527
534
|
- spec/models/payout_method_bank_account_type_enum_spec.rb
|
528
535
|
- spec/models/payout_method_cash_provider_enum_spec.rb
|
529
536
|
- spec/models/payout_method_country_enum_spec.rb
|
530
|
-
- spec/models/payout_method_country_enum_usd_bank_spec.rb
|
531
537
|
- spec/models/payout_method_details_balance_spec.rb
|
532
538
|
- spec/models/payout_method_details_btc_spec.rb
|
533
539
|
- spec/models/payout_method_details_gbp_bank_spec.rb
|
534
540
|
- spec/models/payout_method_details_ghs_bank_spec.rb
|
535
541
|
- spec/models/payout_method_details_ghs_cash_spec.rb
|
542
|
+
- spec/models/payout_method_details_gnf_mobile_spec.rb
|
536
543
|
- spec/models/payout_method_details_iban_spec.rb
|
537
544
|
- spec/models/payout_method_details_kes_bank_spec.rb
|
538
545
|
- spec/models/payout_method_details_kes_mobile_spec.rb
|
@@ -541,6 +548,8 @@ files:
|
|
541
548
|
- spec/models/payout_method_details_ngn_bank_spec.rb
|
542
549
|
- spec/models/payout_method_details_spec.rb
|
543
550
|
- spec/models/payout_method_details_usd_bank_spec.rb
|
551
|
+
- spec/models/payout_method_details_usd_cash_spec.rb
|
552
|
+
- spec/models/payout_method_details_xaf_mobile_spec.rb
|
544
553
|
- spec/models/payout_method_details_xof_bank_spec.rb
|
545
554
|
- spec/models/payout_method_details_xof_cash_spec.rb
|
546
555
|
- spec/models/payout_method_details_xof_mobile_spec.rb
|
@@ -554,6 +563,7 @@ files:
|
|
554
563
|
- spec/models/payout_method_request_spec.rb
|
555
564
|
- spec/models/payout_method_response_spec.rb
|
556
565
|
- spec/models/payout_method_spec.rb
|
566
|
+
- spec/models/payout_method_transfer_reason_enum_spec.rb
|
557
567
|
- spec/models/payout_method_webhook_spec.rb
|
558
568
|
- spec/models/politically_exposed_person_spec.rb
|
559
569
|
- spec/models/proof_of_payment_list_response_spec.rb
|
@@ -596,6 +606,7 @@ files:
|
|
596
606
|
- spec/models/webhook_log_spec.rb
|
597
607
|
- spec/models/webhook_spec.rb
|
598
608
|
- spec/spec_helper.rb
|
609
|
+
- transferzero-sdk-1.16.1.gem
|
599
610
|
- transferzero-sdk.gemspec
|
600
611
|
homepage: https://github.com/transferzero/transferzero-sdk-ruby
|
601
612
|
licenses:
|
@@ -616,7 +627,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
616
627
|
- !ruby/object:Gem::Version
|
617
628
|
version: '0'
|
618
629
|
requirements: []
|
619
|
-
rubygems_version: 3.1.
|
630
|
+
rubygems_version: 3.1.4
|
620
631
|
signing_key:
|
621
632
|
specification_version: 4
|
622
633
|
summary: TransferZero API Ruby Gem
|
@@ -676,7 +687,6 @@ test_files:
|
|
676
687
|
- spec/models/payin_method_details_mobile_spec.rb
|
677
688
|
- spec/models/payout_method_details_mad_cash_spec.rb
|
678
689
|
- spec/models/account_validation_response_spec.rb
|
679
|
-
- spec/models/payout_method_country_enum_usd_bank_spec.rb
|
680
690
|
- spec/models/payout_method_details_btc_spec.rb
|
681
691
|
- spec/models/api_log_spec.rb
|
682
692
|
- spec/models/document_response_spec.rb
|
@@ -697,7 +707,9 @@ test_files:
|
|
697
707
|
- spec/models/sender_response_existing_spec.rb
|
698
708
|
- spec/models/sender_request_spec.rb
|
699
709
|
- spec/models/webhook_log_spec.rb
|
710
|
+
- spec/models/payout_method_details_gnf_mobile_spec.rb
|
700
711
|
- spec/models/payout_method_details_ghs_bank_spec.rb
|
712
|
+
- spec/models/payout_method_details_xaf_mobile_spec.rb
|
701
713
|
- spec/models/payout_method_details_mobile_spec.rb
|
702
714
|
- spec/models/transaction_response_spec.rb
|
703
715
|
- spec/models/transaction_state_spec.rb
|
@@ -732,6 +744,7 @@ test_files:
|
|
732
744
|
- spec/models/payment_method_list_response_spec.rb
|
733
745
|
- spec/models/recipient_state_spec.rb
|
734
746
|
- spec/models/field_validation_spec.rb
|
747
|
+
- spec/models/payout_method_details_usd_cash_spec.rb
|
735
748
|
- spec/models/payout_method_list_response_spec.rb
|
736
749
|
- spec/models/error_status_spec.rb
|
737
750
|
- spec/models/payout_method_mobile_provider_enum_spec.rb
|
@@ -741,6 +754,7 @@ test_files:
|
|
741
754
|
- spec/models/payout_method_details_xof_mobile_spec.rb
|
742
755
|
- spec/models/sender_list_response_spec.rb
|
743
756
|
- spec/models/payout_method_details_ghs_cash_spec.rb
|
757
|
+
- spec/models/payout_method_transfer_reason_enum_spec.rb
|
744
758
|
- spec/models/payout_method_cash_provider_enum_spec.rb
|
745
759
|
- spec/models/field_description_spec.rb
|
746
760
|
- spec/models/currency_exchange_spec.rb
|