transferzero-sdk 1.36.3 → 1.36.5
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 +21 -17
- data/README.md +5 -4
- data/docs/PayoutMethodDetails.md +1 -1
- data/docs/PayoutMethodDetailsEGPCash.md +1 -1
- data/docs/PayoutMethodDetailsGHSBank.md +3 -1
- data/docs/PayoutMethodDetailsGHSMobile.md +25 -0
- data/lib/transferzero-sdk/api_client.rb +1 -1
- data/lib/transferzero-sdk/models/payout_method_details.rb +6 -0
- data/lib/transferzero-sdk/models/payout_method_details_egp_cash.rb +5 -0
- data/lib/transferzero-sdk/models/payout_method_details_ghs_bank.rb +14 -5
- data/lib/transferzero-sdk/models/payout_method_details_ghs_mobile.rb +254 -0
- data/lib/transferzero-sdk/version.rb +1 -1
- data/lib/transferzero-sdk.rb +1 -0
- data/spec/models/payout_method_details_ghs_mobile_spec.rb +65 -0
- metadata +135 -131
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6344e2ac168fbcfaf7f487bd24b03fa263213b7a07aa8c031a2bd088bedc379
|
4
|
+
data.tar.gz: bdcd5795581f610692cb15c47fadb0a1d364c7435c65ec2481d3cc1eacab51d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b1c0c6455865e578085819f4c6a3327c3b82be57e617b6b9b932ceb802db5b235c58523811b3d6f8c3865ccbfc1556632a8bc88def9bd36234076940d67ae6c
|
7
|
+
data.tar.gz: 7e1ac16cf3010aebd937d6069937627542144b4f5c1367c635e40c9e968d386c90e9fd026d6eac2607029451c7d08c7f962d532806128c49b8155abc03c1dfdb
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
transferzero-sdk (1.36.
|
4
|
+
transferzero-sdk (1.36.5)
|
5
5
|
activesupport (>= 4)
|
6
6
|
faraday (~> 1.0, >= 1.0.1)
|
7
7
|
json (>= 1.4)
|
@@ -10,8 +10,9 @@ GEM
|
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
12
|
ZenTest (4.12.2)
|
13
|
-
activesupport (
|
13
|
+
activesupport (8.0.1)
|
14
14
|
base64
|
15
|
+
benchmark (>= 0.3)
|
15
16
|
bigdecimal
|
16
17
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
17
18
|
connection_pool (>= 2.2.5)
|
@@ -21,15 +22,17 @@ GEM
|
|
21
22
|
minitest (>= 5.1)
|
22
23
|
securerandom (>= 0.3)
|
23
24
|
tzinfo (~> 2.0, >= 2.0.5)
|
25
|
+
uri (>= 0.13.1)
|
24
26
|
base64 (0.2.0)
|
25
|
-
|
27
|
+
benchmark (0.4.0)
|
28
|
+
bigdecimal (3.1.9)
|
26
29
|
byebug (11.1.3)
|
27
30
|
coderay (1.1.3)
|
28
|
-
concurrent-ruby (1.3.
|
29
|
-
connection_pool (2.
|
31
|
+
concurrent-ruby (1.3.5)
|
32
|
+
connection_pool (2.5.0)
|
30
33
|
diff-lcs (1.5.1)
|
31
34
|
drb (2.2.1)
|
32
|
-
faraday (1.10.
|
35
|
+
faraday (1.10.4)
|
33
36
|
faraday-em_http (~> 1.0)
|
34
37
|
faraday-em_synchrony (~> 1.0)
|
35
38
|
faraday-excon (~> 1.1)
|
@@ -45,19 +48,19 @@ GEM
|
|
45
48
|
faraday-em_synchrony (1.0.0)
|
46
49
|
faraday-excon (1.1.0)
|
47
50
|
faraday-httpclient (1.0.1)
|
48
|
-
faraday-multipart (1.0
|
49
|
-
multipart-post (~> 2)
|
51
|
+
faraday-multipart (1.1.0)
|
52
|
+
multipart-post (~> 2.0)
|
50
53
|
faraday-net_http (1.0.2)
|
51
54
|
faraday-net_http_persistent (1.2.0)
|
52
55
|
faraday-patron (1.0.0)
|
53
56
|
faraday-rack (1.0.0)
|
54
57
|
faraday-retry (1.0.3)
|
55
|
-
i18n (1.14.
|
58
|
+
i18n (1.14.7)
|
56
59
|
concurrent-ruby (~> 1.0)
|
57
|
-
json (2.
|
58
|
-
logger (1.6.
|
60
|
+
json (2.9.1)
|
61
|
+
logger (1.6.5)
|
59
62
|
method_source (1.1.0)
|
60
|
-
minitest (5.25.
|
63
|
+
minitest (5.25.4)
|
61
64
|
multipart-post (2.4.1)
|
62
65
|
pry (0.14.2)
|
63
66
|
coderay (~> 1.1)
|
@@ -70,19 +73,20 @@ GEM
|
|
70
73
|
rspec-core (~> 3.13.0)
|
71
74
|
rspec-expectations (~> 3.13.0)
|
72
75
|
rspec-mocks (~> 3.13.0)
|
73
|
-
rspec-core (3.13.
|
76
|
+
rspec-core (3.13.2)
|
74
77
|
rspec-support (~> 3.13.0)
|
75
|
-
rspec-expectations (3.13.
|
78
|
+
rspec-expectations (3.13.3)
|
76
79
|
diff-lcs (>= 1.2.0, < 2.0)
|
77
80
|
rspec-support (~> 3.13.0)
|
78
|
-
rspec-mocks (3.13.
|
81
|
+
rspec-mocks (3.13.2)
|
79
82
|
diff-lcs (>= 1.2.0, < 2.0)
|
80
83
|
rspec-support (~> 3.13.0)
|
81
|
-
rspec-support (3.13.
|
84
|
+
rspec-support (3.13.2)
|
82
85
|
ruby2_keywords (0.0.5)
|
83
|
-
securerandom (0.
|
86
|
+
securerandom (0.4.1)
|
84
87
|
tzinfo (2.0.6)
|
85
88
|
concurrent-ruby (~> 1.0)
|
89
|
+
uri (1.0.2)
|
86
90
|
|
87
91
|
PLATFORMS
|
88
92
|
x86_64-linux
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Reference documentation for the TransferZero API V1
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: 1.0
|
10
|
-
- Package version: 1.36.
|
10
|
+
- Package version: 1.36.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.36.
|
34
|
+
gem install ./transferzero-sdk-1.36.5.gem
|
35
35
|
```
|
36
|
-
(for development, run `gem install --dev ./transferzero-sdk-1.36.
|
36
|
+
(for development, run `gem install --dev ./transferzero-sdk-1.36.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.36.
|
42
|
+
gem 'transferzero-sdk', '~> 1.36.5'
|
43
43
|
|
44
44
|
### Install from Git
|
45
45
|
|
@@ -214,6 +214,7 @@ Class | Method | HTTP request | Description
|
|
214
214
|
- [TransferZero::PayoutMethodDetailsGBPBank](docs/PayoutMethodDetailsGBPBank.md)
|
215
215
|
- [TransferZero::PayoutMethodDetailsGHSBank](docs/PayoutMethodDetailsGHSBank.md)
|
216
216
|
- [TransferZero::PayoutMethodDetailsGHSCash](docs/PayoutMethodDetailsGHSCash.md)
|
217
|
+
- [TransferZero::PayoutMethodDetailsGHSMobile](docs/PayoutMethodDetailsGHSMobile.md)
|
217
218
|
- [TransferZero::PayoutMethodDetailsGNFMobile](docs/PayoutMethodDetailsGNFMobile.md)
|
218
219
|
- [TransferZero::PayoutMethodDetailsIBAN](docs/PayoutMethodDetailsIBAN.md)
|
219
220
|
- [TransferZero::PayoutMethodDetailsINRBank](docs/PayoutMethodDetailsINRBank.md)
|
data/docs/PayoutMethodDetails.md
CHANGED
@@ -43,7 +43,7 @@ Name | Type | Description | Notes
|
|
43
43
|
**registration_number** | **String** | | [optional]
|
44
44
|
**nature_of_business** | [**PayoutMethodNatureOfBusinessEnum**](PayoutMethodNatureOfBusinessEnum.md) | | [optional]
|
45
45
|
**legal_entity_type** | [**PayoutMethodLegalEntityTypeEnum**](PayoutMethodLegalEntityTypeEnum.md) | | [optional]
|
46
|
-
**middle_name** | **String** | |
|
46
|
+
**middle_name** | **String** | |
|
47
47
|
**routing_number** | **String** | | [optional]
|
48
48
|
**swift_code** | **String** | | [optional]
|
49
49
|
**relationship_to_sender** | **String** | | [optional]
|
@@ -5,7 +5,7 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**first_name** | **String** | |
|
8
|
-
**middle_name** | **String** | |
|
8
|
+
**middle_name** | **String** | |
|
9
9
|
**last_name** | **String** | |
|
10
10
|
**phone_number** | **String** | |
|
11
11
|
**street** | **String** | |
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**bank_code** | **String** | |
|
10
10
|
**bank_account** | **String** | |
|
11
11
|
**birth_date** | **Date** | Date of birth of recipient | [optional]
|
12
|
+
**transfer_reason** | [**PayoutMethodTransferReasonEnum**](PayoutMethodTransferReasonEnum.md) | | [optional]
|
12
13
|
|
13
14
|
## Code Sample
|
14
15
|
|
@@ -19,7 +20,8 @@ instance = TransferZero::PayoutMethodDetailsGHSBank.new(first_name: null,
|
|
19
20
|
last_name: null,
|
20
21
|
bank_code: null,
|
21
22
|
bank_account: null,
|
22
|
-
birth_date: null
|
23
|
+
birth_date: null,
|
24
|
+
transfer_reason: null)
|
23
25
|
```
|
24
26
|
|
25
27
|
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# TransferZero::PayoutMethodDetailsGHSMobile
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**first_name** | **String** | |
|
8
|
+
**last_name** | **String** | |
|
9
|
+
**phone_number** | **String** | |
|
10
|
+
**mobile_provider** | [**PayoutMethodMobileProviderEnum**](PayoutMethodMobileProviderEnum.md) | | [optional]
|
11
|
+
**transfer_reason** | [**PayoutMethodTransferReasonEnum**](PayoutMethodTransferReasonEnum.md) | | [optional]
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'TransferZero'
|
17
|
+
|
18
|
+
instance = TransferZero::PayoutMethodDetailsGHSMobile.new(first_name: null,
|
19
|
+
last_name: null,
|
20
|
+
phone_number: null,
|
21
|
+
mobile_provider: null,
|
22
|
+
transfer_reason: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
@@ -36,7 +36,7 @@ module TransferZero
|
|
36
36
|
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
|
37
37
|
def initialize(config = Configuration.default)
|
38
38
|
@config = config
|
39
|
-
@user_agent = "TransferZero-SDK/Ruby/1.36.
|
39
|
+
@user_agent = "TransferZero-SDK/Ruby/1.36.5"
|
40
40
|
@default_headers = {
|
41
41
|
'Content-Type' => 'application/json',
|
42
42
|
'User-Agent' => @user_agent
|
@@ -224,6 +224,7 @@ class PayoutMethodDetails
|
|
224
224
|
:'PayoutMethodDetailsGBPBank',
|
225
225
|
:'PayoutMethodDetailsGHSBank',
|
226
226
|
:'PayoutMethodDetailsGHSCash',
|
227
|
+
:'PayoutMethodDetailsGHSMobile',
|
227
228
|
:'PayoutMethodDetailsGNFMobile',
|
228
229
|
:'PayoutMethodDetailsIBAN',
|
229
230
|
:'PayoutMethodDetailsINRBank',
|
@@ -534,6 +535,10 @@ class PayoutMethodDetails
|
|
534
535
|
invalid_properties.push('invalid value for "branch_code", branch_code cannot be nil.')
|
535
536
|
end
|
536
537
|
|
538
|
+
if @middle_name.nil?
|
539
|
+
invalid_properties.push('invalid value for "middle_name", middle_name cannot be nil.')
|
540
|
+
end
|
541
|
+
|
537
542
|
if @ifsc_code.nil?
|
538
543
|
invalid_properties.push('invalid value for "ifsc_code", ifsc_code cannot be nil.')
|
539
544
|
end
|
@@ -565,6 +570,7 @@ class PayoutMethodDetails
|
|
565
570
|
return false if @postal_code.nil?
|
566
571
|
return false if @city.nil?
|
567
572
|
return false if @branch_code.nil?
|
573
|
+
return false if @middle_name.nil?
|
568
574
|
return false if @ifsc_code.nil?
|
569
575
|
_one_of_found = false
|
570
576
|
openapi_one_of.each do |_class|
|
@@ -115,6 +115,10 @@ class PayoutMethodDetailsEGPCash
|
|
115
115
|
invalid_properties.push('invalid value for "first_name", first_name cannot be nil.')
|
116
116
|
end
|
117
117
|
|
118
|
+
if @middle_name.nil?
|
119
|
+
invalid_properties.push('invalid value for "middle_name", middle_name cannot be nil.')
|
120
|
+
end
|
121
|
+
|
118
122
|
if @last_name.nil?
|
119
123
|
invalid_properties.push('invalid value for "last_name", last_name cannot be nil.')
|
120
124
|
end
|
@@ -138,6 +142,7 @@ class PayoutMethodDetailsEGPCash
|
|
138
142
|
# @return true if the model is valid
|
139
143
|
def valid?
|
140
144
|
return false if @first_name.nil?
|
145
|
+
return false if @middle_name.nil?
|
141
146
|
return false if @last_name.nil?
|
142
147
|
return false if @phone_number.nil?
|
143
148
|
return false if @street.nil?
|
@@ -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\", \"bank_code\": \"030100\", \"bank_account\": \"123456789\" } ``` The current banks supported and their bank_codes values are: - Access Bank: 280100 - Barclays Bank: 030100 - GCB Bank: 040100 - Ecobank: 130100 - First National Bank: 330100 - Heritage Bank: 370100 - Prudential Bank: 180100 - Stanbic Bank: 190100 - Standard Chartered Bank: 020100 - United Bank for Africa: 060100 - Zenith Bank: 120100
|
16
|
+
# ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"bank_code\": \"030100\", \"bank_account\": \"123456789\", \"transfer_reason\": \"third_party_person_account\" } ``` The current banks supported and their bank_codes values are: - Access Bank: 280100 - Barclays Bank: 030100 - GCB Bank: 040100 - Ecobank: 130100 - First National Bank: 330100 - Heritage Bank: 370100 - Prudential Bank: 180100 - Stanbic Bank: 190100 - Standard Chartered Bank: 020100 - United Bank for Africa: 060100 - Zenith Bank: 120100
|
17
17
|
class PayoutMethodDetailsGHSBank
|
18
18
|
attr_accessor :first_name
|
19
19
|
|
@@ -26,6 +26,8 @@ class PayoutMethodDetailsGHSBank
|
|
26
26
|
# Date of birth of recipient
|
27
27
|
attr_accessor :birth_date
|
28
28
|
|
29
|
+
attr_accessor :transfer_reason
|
30
|
+
|
29
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
32
|
def self.attribute_map
|
31
33
|
{
|
@@ -33,7 +35,8 @@ class PayoutMethodDetailsGHSBank
|
|
33
35
|
:'last_name' => :'last_name',
|
34
36
|
:'bank_code' => :'bank_code',
|
35
37
|
:'bank_account' => :'bank_account',
|
36
|
-
:'birth_date' => :'birth_date'
|
38
|
+
:'birth_date' => :'birth_date',
|
39
|
+
:'transfer_reason' => :'transfer_reason'
|
37
40
|
}
|
38
41
|
end
|
39
42
|
|
@@ -44,7 +47,8 @@ class PayoutMethodDetailsGHSBank
|
|
44
47
|
:'last_name' => :'String',
|
45
48
|
:'bank_code' => :'String',
|
46
49
|
:'bank_account' => :'String',
|
47
|
-
:'birth_date' => :'Date'
|
50
|
+
:'birth_date' => :'Date',
|
51
|
+
:'transfer_reason' => :'PayoutMethodTransferReasonEnum'
|
48
52
|
}
|
49
53
|
end
|
50
54
|
|
@@ -82,6 +86,10 @@ class PayoutMethodDetailsGHSBank
|
|
82
86
|
if attributes.key?(:'birth_date')
|
83
87
|
self.birth_date = attributes[:'birth_date']
|
84
88
|
end
|
89
|
+
|
90
|
+
if attributes.key?(:'transfer_reason')
|
91
|
+
self.transfer_reason = attributes[:'transfer_reason']
|
92
|
+
end
|
85
93
|
end
|
86
94
|
|
87
95
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -126,7 +134,8 @@ class PayoutMethodDetailsGHSBank
|
|
126
134
|
last_name == o.last_name &&
|
127
135
|
bank_code == o.bank_code &&
|
128
136
|
bank_account == o.bank_account &&
|
129
|
-
birth_date == o.birth_date
|
137
|
+
birth_date == o.birth_date &&
|
138
|
+
transfer_reason == o.transfer_reason
|
130
139
|
end
|
131
140
|
|
132
141
|
# @see the `==` method
|
@@ -138,7 +147,7 @@ class PayoutMethodDetailsGHSBank
|
|
138
147
|
# Calculates hash code according to all attributes.
|
139
148
|
# @return [Integer] Hash code
|
140
149
|
def hash
|
141
|
-
[first_name, last_name, bank_code, bank_account, birth_date].hash
|
150
|
+
[first_name, last_name, bank_code, bank_account, birth_date, transfer_reason].hash
|
142
151
|
end
|
143
152
|
|
144
153
|
require 'active_support/core_ext/hash'
|
@@ -0,0 +1,254 @@
|
|
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
|
+
# ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"phone_number\": \"+233302123456\", // E.164 international format \"mobile_provider\": \"vodafone\", \"transfer_reason\": \"third_party_person_account\" } ```
|
17
|
+
class PayoutMethodDetailsGHSMobile
|
18
|
+
attr_accessor :first_name
|
19
|
+
|
20
|
+
attr_accessor :last_name
|
21
|
+
|
22
|
+
attr_accessor :phone_number
|
23
|
+
|
24
|
+
attr_accessor :mobile_provider
|
25
|
+
|
26
|
+
attr_accessor :transfer_reason
|
27
|
+
|
28
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
29
|
+
def self.attribute_map
|
30
|
+
{
|
31
|
+
:'first_name' => :'first_name',
|
32
|
+
:'last_name' => :'last_name',
|
33
|
+
:'phone_number' => :'phone_number',
|
34
|
+
:'mobile_provider' => :'mobile_provider',
|
35
|
+
:'transfer_reason' => :'transfer_reason'
|
36
|
+
}
|
37
|
+
end
|
38
|
+
|
39
|
+
# Attribute type mapping.
|
40
|
+
def self.openapi_types
|
41
|
+
{
|
42
|
+
:'first_name' => :'String',
|
43
|
+
:'last_name' => :'String',
|
44
|
+
:'phone_number' => :'String',
|
45
|
+
:'mobile_provider' => :'PayoutMethodMobileProviderEnum',
|
46
|
+
:'transfer_reason' => :'PayoutMethodTransferReasonEnum'
|
47
|
+
}
|
48
|
+
end
|
49
|
+
|
50
|
+
# Initializes the object
|
51
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
52
|
+
def initialize(attributes = {})
|
53
|
+
if (!attributes.is_a?(Hash))
|
54
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TransferZero::PayoutMethodDetailsGHSMobile` initialize method"
|
55
|
+
end
|
56
|
+
|
57
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
58
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
59
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
60
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TransferZero::PayoutMethodDetailsGHSMobile`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
61
|
+
end
|
62
|
+
h[k.to_sym] = v
|
63
|
+
}
|
64
|
+
|
65
|
+
if attributes.key?(:'first_name')
|
66
|
+
self.first_name = attributes[:'first_name']
|
67
|
+
end
|
68
|
+
|
69
|
+
if attributes.key?(:'last_name')
|
70
|
+
self.last_name = attributes[:'last_name']
|
71
|
+
end
|
72
|
+
|
73
|
+
if attributes.key?(:'phone_number')
|
74
|
+
self.phone_number = attributes[:'phone_number']
|
75
|
+
end
|
76
|
+
|
77
|
+
if attributes.key?(:'mobile_provider')
|
78
|
+
self.mobile_provider = attributes[:'mobile_provider']
|
79
|
+
end
|
80
|
+
|
81
|
+
if attributes.key?(:'transfer_reason')
|
82
|
+
self.transfer_reason = attributes[:'transfer_reason']
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
87
|
+
# @return Array for valid properties with the reasons
|
88
|
+
def list_invalid_properties
|
89
|
+
invalid_properties = Array.new
|
90
|
+
if @first_name.nil?
|
91
|
+
invalid_properties.push('invalid value for "first_name", first_name cannot be nil.')
|
92
|
+
end
|
93
|
+
|
94
|
+
if @last_name.nil?
|
95
|
+
invalid_properties.push('invalid value for "last_name", last_name cannot be nil.')
|
96
|
+
end
|
97
|
+
|
98
|
+
if @phone_number.nil?
|
99
|
+
invalid_properties.push('invalid value for "phone_number", phone_number cannot be nil.')
|
100
|
+
end
|
101
|
+
|
102
|
+
invalid_properties
|
103
|
+
end
|
104
|
+
|
105
|
+
# Check to see if the all the properties in the model are valid
|
106
|
+
# @return true if the model is valid
|
107
|
+
def valid?
|
108
|
+
return false if @first_name.nil?
|
109
|
+
return false if @last_name.nil?
|
110
|
+
return false if @phone_number.nil?
|
111
|
+
true
|
112
|
+
end
|
113
|
+
|
114
|
+
# Checks equality by comparing each attribute.
|
115
|
+
# @param [Object] Object to be compared
|
116
|
+
def ==(o)
|
117
|
+
return true if self.equal?(o)
|
118
|
+
self.class == o.class &&
|
119
|
+
first_name == o.first_name &&
|
120
|
+
last_name == o.last_name &&
|
121
|
+
phone_number == o.phone_number &&
|
122
|
+
mobile_provider == o.mobile_provider &&
|
123
|
+
transfer_reason == o.transfer_reason
|
124
|
+
end
|
125
|
+
|
126
|
+
# @see the `==` method
|
127
|
+
# @param [Object] Object to be compared
|
128
|
+
def eql?(o)
|
129
|
+
self == o
|
130
|
+
end
|
131
|
+
|
132
|
+
# Calculates hash code according to all attributes.
|
133
|
+
# @return [Integer] Hash code
|
134
|
+
def hash
|
135
|
+
[first_name, last_name, phone_number, mobile_provider, transfer_reason].hash
|
136
|
+
end
|
137
|
+
|
138
|
+
require 'active_support/core_ext/hash'
|
139
|
+
require 'active_support/hash_with_indifferent_access.rb'
|
140
|
+
# Builds the object from hash
|
141
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
142
|
+
# @return [Object] Returns the model itself
|
143
|
+
def build_from_hash(attributes)
|
144
|
+
return nil unless attributes.is_a?(Hash)
|
145
|
+
self.class.openapi_types.each_pair do |key, type|
|
146
|
+
if type =~ /\AArray<(.*)>/i
|
147
|
+
# check to ensure the input is an array given that the the attribute
|
148
|
+
# is documented as an array but the input is not
|
149
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
150
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
151
|
+
end
|
152
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
153
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
154
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
155
|
+
end
|
156
|
+
|
157
|
+
self
|
158
|
+
end
|
159
|
+
|
160
|
+
# Deserializes the data based on type
|
161
|
+
# @param string type Data type
|
162
|
+
# @param string value Value to be deserialized
|
163
|
+
# @return [Object] Deserialized data
|
164
|
+
def _deserialize(type, value)
|
165
|
+
case type.to_sym
|
166
|
+
when :DateTime
|
167
|
+
DateTime.parse(value)
|
168
|
+
when :Date
|
169
|
+
Date.parse(value)
|
170
|
+
when :String
|
171
|
+
value.to_s
|
172
|
+
when :Integer
|
173
|
+
value.to_i
|
174
|
+
when :Float
|
175
|
+
value.to_f
|
176
|
+
when :Boolean
|
177
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
178
|
+
true
|
179
|
+
else
|
180
|
+
false
|
181
|
+
end
|
182
|
+
when :Object
|
183
|
+
# generic object (usually a Hash), return directly
|
184
|
+
value
|
185
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
186
|
+
inner_type = Regexp.last_match[:inner_type]
|
187
|
+
value.map { |v| _deserialize(inner_type, v) }
|
188
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
189
|
+
k_type = Regexp.last_match[:k_type]
|
190
|
+
v_type = Regexp.last_match[:v_type]
|
191
|
+
{}.tap do |hash|
|
192
|
+
value.each do |k, v|
|
193
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
194
|
+
end
|
195
|
+
end
|
196
|
+
else # model
|
197
|
+
temp_model = TransferZero.const_get(type).new
|
198
|
+
temp_model.build_from_hash(value)
|
199
|
+
end
|
200
|
+
end
|
201
|
+
|
202
|
+
# Returns the string representation of the object
|
203
|
+
# @return [String] String presentation of the object
|
204
|
+
def to_s
|
205
|
+
to_hash.to_s
|
206
|
+
end
|
207
|
+
|
208
|
+
# to_body is an alias to to_hash (backward compatibility)
|
209
|
+
# @return [Hash] Returns the object in the form of hash
|
210
|
+
def to_body
|
211
|
+
to_hash
|
212
|
+
end
|
213
|
+
|
214
|
+
# Returns the object in the form of hash
|
215
|
+
# @return [Hash] Returns the object in the form of hash
|
216
|
+
def to_hash
|
217
|
+
hash = {}
|
218
|
+
self.class.attribute_map.each_pair do |attr, param|
|
219
|
+
value = self.send(attr)
|
220
|
+
next if value.nil?
|
221
|
+
hash[param] = _to_hash(value)
|
222
|
+
end
|
223
|
+
::ActiveSupport::HashWithIndifferentAccess.new(hash)
|
224
|
+
end
|
225
|
+
|
226
|
+
def [](key)
|
227
|
+
to_hash[key]
|
228
|
+
end
|
229
|
+
|
230
|
+
def dig(*args)
|
231
|
+
to_hash.dig(*args)
|
232
|
+
end
|
233
|
+
|
234
|
+
# Outputs non-array value in the form of hash
|
235
|
+
# For object, use to_hash. Otherwise, just return the value
|
236
|
+
# @param [Object] value Any valid value
|
237
|
+
# @return [Hash] Returns the value in the form of hash
|
238
|
+
def _to_hash(value)
|
239
|
+
if value.is_a?(Array)
|
240
|
+
value.compact.map { |v| _to_hash(v) }
|
241
|
+
elsif value.is_a?(Hash)
|
242
|
+
{}.tap do |hash|
|
243
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
244
|
+
end
|
245
|
+
elsif value.respond_to? :to_hash
|
246
|
+
value.to_hash
|
247
|
+
else
|
248
|
+
value
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
252
|
+
end
|
253
|
+
|
254
|
+
end
|
data/lib/transferzero-sdk.rb
CHANGED
@@ -76,6 +76,7 @@ require 'transferzero-sdk/models/payout_method_details_egp_cash'
|
|
76
76
|
require 'transferzero-sdk/models/payout_method_details_gbp_bank'
|
77
77
|
require 'transferzero-sdk/models/payout_method_details_ghs_bank'
|
78
78
|
require 'transferzero-sdk/models/payout_method_details_ghs_cash'
|
79
|
+
require 'transferzero-sdk/models/payout_method_details_ghs_mobile'
|
79
80
|
require 'transferzero-sdk/models/payout_method_details_gnf_mobile'
|
80
81
|
require 'transferzero-sdk/models/payout_method_details_iban'
|
81
82
|
require 'transferzero-sdk/models/payout_method_details_inr_bank'
|
@@ -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::PayoutMethodDetailsGHSMobile
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'PayoutMethodDetailsGHSMobile' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = TransferZero::PayoutMethodDetailsGHSMobile.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of PayoutMethodDetailsGHSMobile' do
|
31
|
+
it 'should create an instance of PayoutMethodDetailsGHSMobile' do
|
32
|
+
expect(@instance).to be_instance_of(TransferZero::PayoutMethodDetailsGHSMobile)
|
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 "transfer_reason"' 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
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: transferzero-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.36.
|
4
|
+
version: 1.36.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TransferZero
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -163,6 +163,7 @@ files:
|
|
163
163
|
- docs/PayoutMethodDetailsGBPBank.md
|
164
164
|
- docs/PayoutMethodDetailsGHSBank.md
|
165
165
|
- docs/PayoutMethodDetailsGHSCash.md
|
166
|
+
- docs/PayoutMethodDetailsGHSMobile.md
|
166
167
|
- docs/PayoutMethodDetailsGNFMobile.md
|
167
168
|
- docs/PayoutMethodDetailsIBAN.md
|
168
169
|
- docs/PayoutMethodDetailsINRBank.md
|
@@ -327,6 +328,7 @@ files:
|
|
327
328
|
- lib/transferzero-sdk/models/payout_method_details_gbp_bank.rb
|
328
329
|
- lib/transferzero-sdk/models/payout_method_details_ghs_bank.rb
|
329
330
|
- lib/transferzero-sdk/models/payout_method_details_ghs_cash.rb
|
331
|
+
- lib/transferzero-sdk/models/payout_method_details_ghs_mobile.rb
|
330
332
|
- lib/transferzero-sdk/models/payout_method_details_gnf_mobile.rb
|
331
333
|
- lib/transferzero-sdk/models/payout_method_details_iban.rb
|
332
334
|
- lib/transferzero-sdk/models/payout_method_details_inr_bank.rb
|
@@ -480,6 +482,7 @@ files:
|
|
480
482
|
- spec/models/payout_method_details_gbp_bank_spec.rb
|
481
483
|
- spec/models/payout_method_details_ghs_bank_spec.rb
|
482
484
|
- spec/models/payout_method_details_ghs_cash_spec.rb
|
485
|
+
- spec/models/payout_method_details_ghs_mobile_spec.rb
|
483
486
|
- spec/models/payout_method_details_gnf_mobile_spec.rb
|
484
487
|
- spec/models/payout_method_details_iban_spec.rb
|
485
488
|
- spec/models/payout_method_details_inr_bank_spec.rb
|
@@ -563,7 +566,7 @@ homepage: https://github.com/transferzero/transferzero-sdk-ruby
|
|
563
566
|
licenses:
|
564
567
|
- MIT
|
565
568
|
metadata: {}
|
566
|
-
post_install_message:
|
569
|
+
post_install_message:
|
567
570
|
rdoc_options: []
|
568
571
|
require_paths:
|
569
572
|
- lib
|
@@ -579,162 +582,163 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
579
582
|
version: '0'
|
580
583
|
requirements: []
|
581
584
|
rubygems_version: 3.4.10
|
582
|
-
signing_key:
|
585
|
+
signing_key:
|
583
586
|
specification_version: 4
|
584
587
|
summary: TransferZero API Ruby Gem
|
585
588
|
test_files:
|
589
|
+
- spec/api/transactions_api_spec.rb
|
590
|
+
- spec/api/senders_api_spec.rb
|
591
|
+
- spec/api/payout_methods_api_spec.rb
|
592
|
+
- spec/api/account_debits_api_spec.rb
|
593
|
+
- spec/api/currency_info_api_spec.rb
|
586
594
|
- spec/api/account_validation_api_spec.rb
|
595
|
+
- spec/api/accounts_api_spec.rb
|
596
|
+
- spec/api/payin_methods_api_spec.rb
|
597
|
+
- spec/api/documents_api_spec.rb
|
587
598
|
- spec/api/recipients_api_spec.rb
|
588
599
|
- spec/api/payment_methods_api_spec.rb
|
589
600
|
- spec/api/api_logs_api_spec.rb
|
590
601
|
- spec/api/webhooks_api_spec.rb
|
591
|
-
- spec/api/account_debits_api_spec.rb
|
592
602
|
- spec/api/logs_api_spec.rb
|
593
|
-
- spec/api/documents_api_spec.rb
|
594
|
-
- spec/api/currency_info_api_spec.rb
|
595
|
-
- spec/api/payin_methods_api_spec.rb
|
596
|
-
- spec/api/senders_api_spec.rb
|
597
|
-
- spec/api/accounts_api_spec.rb
|
598
|
-
- spec/api/transactions_api_spec.rb
|
599
|
-
- spec/api/payout_methods_api_spec.rb
|
600
603
|
- spec/configuration_spec.rb
|
601
|
-
- spec/models/
|
602
|
-
- spec/models/
|
603
|
-
- spec/models/payout_method_gender_enum_spec.rb
|
604
|
+
- spec/models/payment_method_spec.rb
|
605
|
+
- spec/models/recipient_webhook_spec.rb
|
604
606
|
- spec/models/proof_of_payment_spec.rb
|
605
|
-
- spec/models/
|
606
|
-
- spec/models/
|
607
|
-
- spec/models/payout_method_details_inr_bank_spec.rb
|
608
|
-
- spec/models/payout_method_pix_key_type_enum_spec.rb
|
609
|
-
- spec/models/webhook_log_list_response_spec.rb
|
610
|
-
- spec/models/payout_method_bank_account_type_enum_spec.rb
|
611
|
-
- spec/models/payin_method_details_btc_spec.rb
|
612
|
-
- spec/models/api_log_list_response_spec.rb
|
613
|
-
- spec/models/webhook_log_response_spec.rb
|
614
|
-
- spec/models/payout_method_details_gnf_mobile_spec.rb
|
615
|
-
- spec/models/transaction_webhook_spec.rb
|
616
|
-
- spec/models/document_spec.rb
|
617
|
-
- spec/models/field_validation_spec.rb
|
607
|
+
- spec/models/payout_method_details_egp_cash_spec.rb
|
608
|
+
- spec/models/debit_list_request_spec.rb
|
618
609
|
- spec/models/payout_method_details_spec.rb
|
619
|
-
- spec/models/payout_method_details_zar_bank_spec.rb
|
620
|
-
- spec/models/payout_method_details_xof_bank_spec.rb
|
621
|
-
- spec/models/payout_method_details_kes_mobile_spec.rb
|
622
610
|
- spec/models/transaction_traits_spec.rb
|
623
|
-
- spec/models/
|
624
|
-
- spec/models/payin_method_request_spec.rb
|
625
|
-
- spec/models/transaction_webhook_all_of_spec.rb
|
626
|
-
- spec/models/webhook_definition_spec.rb
|
627
|
-
- spec/models/debit_request_spec.rb
|
628
|
-
- spec/models/recipient_webhook_spec.rb
|
629
|
-
- spec/models/error_status_spec.rb
|
630
|
-
- spec/models/api_log_response_spec.rb
|
631
|
-
- spec/models/payment_method_spec.rb
|
632
|
-
- spec/models/payout_method_request_spec.rb
|
633
|
-
- spec/models/payout_method_nature_of_business_enum_spec.rb
|
634
|
-
- spec/models/document_webhook_spec.rb
|
635
|
-
- spec/models/webhook_spec.rb
|
636
|
-
- spec/models/transaction_request_spec.rb
|
637
|
-
- spec/models/webhook_log_spec.rb
|
638
|
-
- spec/models/currency_exchange_list_response_spec.rb
|
639
|
-
- spec/models/debit_list_request_spec.rb
|
640
|
-
- spec/models/recipient_list_response_spec.rb
|
641
|
-
- spec/models/sender_response_meta_spec.rb
|
642
|
-
- spec/models/proof_of_payment_list_response_spec.rb
|
643
|
-
- spec/models/payment_method_list_response_spec.rb
|
644
|
-
- spec/models/document_list_response_spec.rb
|
645
|
-
- spec/models/account_validation_result_spec.rb
|
646
|
-
- spec/models/payout_method_details_usd_bank_spec.rb
|
647
|
-
- spec/models/sender_webhook_all_of_spec.rb
|
648
|
-
- spec/models/field_description_spec.rb
|
649
|
-
- spec/models/api_log_spec.rb
|
650
|
-
- spec/models/sender_list_response_spec.rb
|
651
|
-
- spec/models/currency_list_response_spec.rb
|
652
|
-
- spec/models/payout_method_details_bwp_bank_spec.rb
|
611
|
+
- spec/models/payout_method_details_xaf_mobile_spec.rb
|
653
612
|
- spec/models/payout_method_details_usd_cash_spec.rb
|
654
|
-
- spec/models/
|
655
|
-
- spec/models/
|
656
|
-
- spec/models/currency_spec.rb
|
657
|
-
- spec/models/sender_webhook_spec.rb
|
658
|
-
- spec/models/payment_method_opposite_all_of_spec.rb
|
659
|
-
- spec/models/webhook_definition_request_spec.rb
|
660
|
-
- spec/models/sender_state_spec.rb
|
613
|
+
- spec/models/field_validation_spec.rb
|
614
|
+
- spec/models/payout_method_cash_provider_enum_spec.rb
|
661
615
|
- spec/models/currency_exchange_spec.rb
|
662
|
-
- spec/models/
|
663
|
-
- spec/models/
|
664
|
-
- spec/models/
|
665
|
-
- spec/models/payin_method_details_mobile_spec.rb
|
666
|
-
- spec/models/webhook_log_metadata_request_spec.rb
|
616
|
+
- spec/models/pagination_spec.rb
|
617
|
+
- spec/models/sender_response_spec.rb
|
618
|
+
- spec/models/payout_method_details_balance_spec.rb
|
667
619
|
- spec/models/field_select_validation_spec.rb
|
668
|
-
- spec/models/
|
620
|
+
- spec/models/payout_method_details_egp_bank_spec.rb
|
621
|
+
- spec/models/payout_method_details_cad_bank_spec.rb
|
622
|
+
- spec/models/account_validation_error_spec.rb
|
623
|
+
- spec/models/document_webhook_all_of_spec.rb
|
624
|
+
- spec/models/payout_method_list_response_spec.rb
|
625
|
+
- spec/models/currency_exchange_list_response_spec.rb
|
626
|
+
- spec/models/sender_response_existing_spec.rb
|
627
|
+
- spec/models/payment_method_list_response_spec.rb
|
669
628
|
- spec/models/payout_method_mobile_provider_enum_spec.rb
|
670
|
-
- spec/models/account_validation_response_spec.rb
|
671
|
-
- spec/models/recipient_state_reason_details_spec.rb
|
672
|
-
- spec/models/payout_method_country_enum_spec.rb
|
673
629
|
- spec/models/payout_method_spec.rb
|
674
|
-
- spec/models/
|
675
|
-
- spec/models/
|
676
|
-
- spec/models/
|
677
|
-
- spec/models/
|
678
|
-
- spec/models/webhook_definition_list_response_spec.rb
|
679
|
-
- spec/models/validation_error_description_spec.rb
|
680
|
-
- spec/models/payment_method_opposite_spec.rb
|
681
|
-
- spec/models/recipient_response_spec.rb
|
682
|
-
- spec/models/payout_method_response_spec.rb
|
683
|
-
- spec/models/payin_method_details_spec.rb
|
684
|
-
- spec/models/currency_opposite_spec.rb
|
685
|
-
- spec/models/payout_method_details_ghs_bank_spec.rb
|
686
|
-
- spec/models/sender_spec.rb
|
687
|
-
- spec/models/payin_method_response_spec.rb
|
688
|
-
- spec/models/politically_exposed_person_spec.rb
|
689
|
-
- spec/models/pagination_spec.rb
|
690
|
-
- spec/models/payout_method_details_btc_spec.rb
|
691
|
-
- spec/models/recipient_webhook_all_of_spec.rb
|
692
|
-
- spec/models/webhook_log_metadata_response_spec.rb
|
693
|
-
- spec/models/sender_request_spec.rb
|
694
|
-
- spec/models/payout_method_details_egp_cash_spec.rb
|
695
|
-
- spec/models/payout_method_details_kes_bank_spec.rb
|
696
|
-
- spec/models/payout_method_details_gbp_bank_spec.rb
|
697
|
-
- spec/models/transaction_state_spec.rb
|
698
|
-
- spec/models/account_response_spec.rb
|
630
|
+
- spec/models/payout_method_gender_enum_spec.rb
|
631
|
+
- spec/models/document_request_spec.rb
|
632
|
+
- spec/models/transaction_webhook_spec.rb
|
633
|
+
- spec/models/account_validation_response_spec.rb
|
699
634
|
- spec/models/payout_method_identity_card_type_enum_spec.rb
|
700
635
|
- spec/models/payin_method_ux_flow_spec.rb
|
636
|
+
- spec/models/payout_method_details_ugx_bank_spec.rb
|
637
|
+
- spec/models/payin_method_state_spec.rb
|
638
|
+
- spec/models/error_status_spec.rb
|
639
|
+
- spec/models/webhook_definition_request_spec.rb
|
701
640
|
- spec/models/payout_method_details_mad_cash_spec.rb
|
641
|
+
- spec/models/transaction_list_response_spec.rb
|
642
|
+
- spec/models/currency_opposite_all_of_spec.rb
|
643
|
+
- spec/models/payout_method_response_spec.rb
|
644
|
+
- spec/models/document_webhook_spec.rb
|
645
|
+
- spec/models/webhook_spec.rb
|
646
|
+
- spec/models/webhook_log_response_spec.rb
|
647
|
+
- spec/models/payin_method_details_btc_spec.rb
|
648
|
+
- spec/models/debit_spec.rb
|
649
|
+
- spec/models/debit_request_wrapper_spec.rb
|
650
|
+
- spec/models/payout_method_details_iban_spec.rb
|
651
|
+
- spec/models/api_log_spec.rb
|
652
|
+
- spec/models/sender_webhook_all_of_spec.rb
|
702
653
|
- spec/models/payout_method_details_ngn_bank_spec.rb
|
703
|
-
- spec/models/
|
654
|
+
- spec/models/transaction_request_spec.rb
|
655
|
+
- spec/models/recipient_state_spec.rb
|
656
|
+
- spec/models/payout_method_webhook_all_of_spec.rb
|
704
657
|
- spec/models/payout_method_details_ghs_cash_spec.rb
|
705
|
-
- spec/models/
|
706
|
-
- spec/models/state_reason_details_spec.rb
|
707
|
-
- spec/models/account_meta_spec.rb
|
708
|
-
- spec/models/document_webhook_all_of_spec.rb
|
709
|
-
- spec/models/pagination_meta_spec.rb
|
710
|
-
- spec/models/document_request_spec.rb
|
711
|
-
- spec/models/transaction_response_existing_spec.rb
|
658
|
+
- spec/models/document_spec.rb
|
712
659
|
- spec/models/transaction_response_meta_spec.rb
|
660
|
+
- spec/models/api_log_response_spec.rb
|
661
|
+
- spec/models/state_reason_details_spec.rb
|
662
|
+
- spec/models/webhook_log_metadata_spec.rb
|
663
|
+
- spec/models/sender_list_response_spec.rb
|
664
|
+
- spec/models/recipient_state_reason_details_spec.rb
|
665
|
+
- spec/models/webhook_definition_event_list_response_spec.rb
|
666
|
+
- spec/models/payment_method_opposite_spec.rb
|
667
|
+
- spec/models/payout_method_details_usd_bank_spec.rb
|
668
|
+
- spec/models/transaction_webhook_all_of_spec.rb
|
669
|
+
- spec/models/sender_spec.rb
|
670
|
+
- spec/models/debit_response_spec.rb
|
671
|
+
- spec/models/payin_method_request_spec.rb
|
672
|
+
- spec/models/payout_method_transfer_reason_enum_spec.rb
|
673
|
+
- spec/models/payout_method_country_enum_spec.rb
|
674
|
+
- spec/models/currency_exchange_all_of_spec.rb
|
675
|
+
- spec/models/payout_method_details_bwp_bank_spec.rb
|
676
|
+
- spec/models/payout_method_details_ghs_mobile_spec.rb
|
713
677
|
- spec/models/payout_method_details_xof_cash_spec.rb
|
678
|
+
- spec/models/field_description_spec.rb
|
679
|
+
- spec/models/validation_error_description_spec.rb
|
680
|
+
- spec/models/payout_method_details_gnf_mobile_spec.rb
|
681
|
+
- spec/models/payout_method_bank_account_type_enum_spec.rb
|
682
|
+
- spec/models/payment_method_opposite_all_of_spec.rb
|
683
|
+
- spec/models/recipient_request_spec.rb
|
684
|
+
- spec/models/account_validation_result_spec.rb
|
685
|
+
- spec/models/currency_list_response_spec.rb
|
686
|
+
- spec/models/currency_spec.rb
|
687
|
+
- spec/models/payout_method_pix_key_type_enum_spec.rb
|
688
|
+
- spec/models/payout_method_details_ghs_bank_spec.rb
|
689
|
+
- spec/models/recipient_spec.rb
|
690
|
+
- spec/models/sender_state_spec.rb
|
691
|
+
- spec/models/account_spec.rb
|
692
|
+
- spec/models/account_list_response_spec.rb
|
714
693
|
- spec/models/payout_method_details_xaf_bank_spec.rb
|
715
|
-
- spec/models/
|
694
|
+
- spec/models/payout_method_details_kes_mobile_spec.rb
|
695
|
+
- spec/models/payin_method_details_spec.rb
|
696
|
+
- spec/models/sender_webhook_spec.rb
|
697
|
+
- spec/models/payout_method_details_mobile_spec.rb
|
698
|
+
- spec/models/payin_method_response_spec.rb
|
699
|
+
- spec/models/api_log_list_response_spec.rb
|
716
700
|
- spec/models/payout_method_details_brl_bank_spec.rb
|
717
701
|
- spec/models/payout_method_details_nzd_bank_spec.rb
|
718
|
-
- spec/models/
|
719
|
-
- spec/models/
|
702
|
+
- spec/models/recipient_response_spec.rb
|
703
|
+
- spec/models/payout_method_details_gbp_bank_spec.rb
|
704
|
+
- spec/models/webhook_definition_list_response_spec.rb
|
705
|
+
- spec/models/account_response_spec.rb
|
706
|
+
- spec/models/payout_method_request_spec.rb
|
707
|
+
- spec/models/webhook_log_spec.rb
|
708
|
+
- spec/models/transaction_state_spec.rb
|
709
|
+
- spec/models/webhook_definition_response_spec.rb
|
710
|
+
- spec/models/payout_method_details_btc_spec.rb
|
720
711
|
- spec/models/account_validation_request_spec.rb
|
721
|
-
- spec/models/
|
722
|
-
- spec/models/payout_method_details_xaf_mobile_spec.rb
|
723
|
-
- spec/models/payout_method_details_cad_bank_spec.rb
|
724
|
-
- spec/models/payout_method_details_zmw_bank_spec.rb
|
725
|
-
- spec/models/recipient_state_spec.rb
|
726
|
-
- spec/models/payout_method_details_mobile_spec.rb
|
727
|
-
- spec/models/payin_method_details_ngn_bank_spec.rb
|
728
|
-
- spec/models/sender_response_existing_spec.rb
|
712
|
+
- spec/models/payout_method_details_xof_mobile_spec.rb
|
729
713
|
- spec/models/debit_list_response_spec.rb
|
730
|
-
- spec/models/
|
731
|
-
- spec/models/
|
732
|
-
- spec/models/payout_method_cash_provider_enum_spec.rb
|
733
|
-
- spec/models/payout_method_transfer_reason_enum_spec.rb
|
734
|
-
- spec/models/recipient_spec.rb
|
735
|
-
- spec/models/transaction_spec.rb
|
736
|
-
- spec/models/webhook_log_metadata_spec.rb
|
737
|
-
- spec/models/account_validation_error_spec.rb
|
714
|
+
- spec/models/payout_method_details_kes_bank_spec.rb
|
715
|
+
- spec/models/document_list_response_spec.rb
|
738
716
|
- spec/models/payout_method_legal_entity_type_enum_spec.rb
|
739
|
-
- spec/models/
|
717
|
+
- spec/models/payout_method_details_inr_bank_spec.rb
|
718
|
+
- spec/models/webhook_definition_spec.rb
|
719
|
+
- spec/models/webhook_log_list_response_spec.rb
|
720
|
+
- spec/models/payout_method_nature_of_business_enum_spec.rb
|
721
|
+
- spec/models/debit_request_spec.rb
|
722
|
+
- spec/models/currency_opposite_spec.rb
|
723
|
+
- spec/models/transaction_response_existing_spec.rb
|
724
|
+
- spec/models/account_meta_spec.rb
|
725
|
+
- spec/models/webhook_log_metadata_response_spec.rb
|
726
|
+
- spec/models/document_response_spec.rb
|
727
|
+
- spec/models/payout_method_details_xof_bank_spec.rb
|
728
|
+
- spec/models/sender_request_spec.rb
|
729
|
+
- spec/models/recipient_webhook_all_of_spec.rb
|
730
|
+
- spec/models/sender_response_meta_spec.rb
|
731
|
+
- spec/models/payin_method_spec.rb
|
732
|
+
- spec/models/proof_of_payment_list_response_spec.rb
|
733
|
+
- spec/models/payout_method_details_zar_bank_spec.rb
|
734
|
+
- spec/models/recipient_list_response_spec.rb
|
735
|
+
- spec/models/payout_method_webhook_spec.rb
|
736
|
+
- spec/models/webhook_log_metadata_request_spec.rb
|
737
|
+
- spec/models/politically_exposed_person_spec.rb
|
738
|
+
- spec/models/pagination_meta_spec.rb
|
739
|
+
- spec/models/transaction_spec.rb
|
740
|
+
- spec/models/payout_method_details_zmw_bank_spec.rb
|
741
|
+
- spec/models/payin_method_details_ngn_bank_spec.rb
|
742
|
+
- spec/models/payin_method_details_mobile_spec.rb
|
743
|
+
- spec/models/transaction_response_spec.rb
|
740
744
|
- spec/spec_helper.rb
|