transferzero-sdk 1.29.0 → 1.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/README.md +5 -4
- data/docs/PayoutMethod.md +1 -1
- data/docs/PayoutMethodDetailsEGPBank.md +29 -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 +1 -0
- data/lib/transferzero-sdk/models/payout_method_details_egp_bank.rb +292 -0
- data/lib/transferzero-sdk/models/payout_method_details_ngn_bank.rb +1 -1
- data/lib/transferzero-sdk/version.rb +1 -1
- data/lib/transferzero-sdk.rb +1 -0
- data/spec/models/payout_method_details_egp_bank_spec.rb +77 -0
- metadata +127 -123
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 441f0dbd53ff601202a74252a86adc4a8d5bbb284c2f7a59ec50f0828089207d
|
4
|
+
data.tar.gz: e29dfa064c59333896e2f970b94423cc211bbe11a111d121d05a7eb6933a19ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06ddcbe5b162dca05e08821acfe7a9739ffe2ca4d3e3afde3a4e9af5e034f154bcae18c3dd100b0c2339301456becd0421f1df250f916230b28417afb37ece63
|
7
|
+
data.tar.gz: ae328c09fc658145a4685d38822147b41fa01e3176a4f8d2a36a3eb7d8ea73027fadff87b768b420114267b85a78e36c308d807be5a4b8099625582422095b6f
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
transferzero-sdk (1.
|
4
|
+
transferzero-sdk (1.30.0)
|
5
5
|
activesupport (>= 4, < 7)
|
6
6
|
faraday (~> 1.0, >= 1.0.1)
|
7
7
|
json (>= 1.4)
|
@@ -10,7 +10,7 @@ GEM
|
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
12
|
ZenTest (4.12.1)
|
13
|
-
activesupport (6.1.7.
|
13
|
+
activesupport (6.1.7.6)
|
14
14
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
15
15
|
i18n (>= 1.6, < 2)
|
16
16
|
minitest (>= 5.1)
|
@@ -47,7 +47,7 @@ GEM
|
|
47
47
|
concurrent-ruby (~> 1.0)
|
48
48
|
json (2.6.3)
|
49
49
|
method_source (1.0.0)
|
50
|
-
minitest (5.
|
50
|
+
minitest (5.20.0)
|
51
51
|
multipart-post (2.3.0)
|
52
52
|
pry (0.14.2)
|
53
53
|
coderay (~> 1.1)
|
@@ -72,7 +72,7 @@ GEM
|
|
72
72
|
ruby2_keywords (0.0.5)
|
73
73
|
tzinfo (2.0.6)
|
74
74
|
concurrent-ruby (~> 1.0)
|
75
|
-
zeitwerk (2.6.
|
75
|
+
zeitwerk (2.6.12)
|
76
76
|
|
77
77
|
PLATFORMS
|
78
78
|
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.
|
10
|
+
- Package version: 1.30.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
For more information, please visit:
|
@@ -31,15 +31,15 @@ gem build transferzero-sdk.gemspec
|
|
31
31
|
Then either install the gem locally:
|
32
32
|
|
33
33
|
```shell
|
34
|
-
gem install ./transferzero-sdk-1.
|
34
|
+
gem install ./transferzero-sdk-1.30.0.gem
|
35
35
|
```
|
36
|
-
(for development, run `gem install --dev ./transferzero-sdk-1.
|
36
|
+
(for development, run `gem install --dev ./transferzero-sdk-1.30.0.gem` to install the development dependencies)
|
37
37
|
|
38
38
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
39
39
|
|
40
40
|
Finally add this to the Gemfile:
|
41
41
|
|
42
|
-
gem 'transferzero-sdk', '~> 1.
|
42
|
+
gem 'transferzero-sdk', '~> 1.30.0'
|
43
43
|
|
44
44
|
### Install from Git
|
45
45
|
|
@@ -212,6 +212,7 @@ Class | Method | HTTP request | Description
|
|
212
212
|
- [TransferZero::PayoutMethodDetailsBWPBank](docs/PayoutMethodDetailsBWPBank.md)
|
213
213
|
- [TransferZero::PayoutMethodDetailsBalance](docs/PayoutMethodDetailsBalance.md)
|
214
214
|
- [TransferZero::PayoutMethodDetailsCADBank](docs/PayoutMethodDetailsCADBank.md)
|
215
|
+
- [TransferZero::PayoutMethodDetailsEGPBank](docs/PayoutMethodDetailsEGPBank.md)
|
215
216
|
- [TransferZero::PayoutMethodDetailsGBPBank](docs/PayoutMethodDetailsGBPBank.md)
|
216
217
|
- [TransferZero::PayoutMethodDetailsGHSBank](docs/PayoutMethodDetailsGHSBank.md)
|
217
218
|
- [TransferZero::PayoutMethodDetailsGHSCash](docs/PayoutMethodDetailsGHSCash.md)
|
data/docs/PayoutMethod.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**type** | **String** | Contains the currency to send the money to, and the type of the money movement Commonly used payout types are: - `NGN::Bank` - for Nigerian bank account payments. - `GHS::Bank` - for Ghanaian bank account payments. - `GHS::Mobile` - for Ghanaian mobile money payments. - `GHS::Cash` - for Ghanaian cash remittance payments. - `UGX::Mobile` - for Ugandan mobile money payments. - `XOF::Mobile` - for mobile money payments to West-Africa. - `XOF::Bank` - for Senegalese bank account payments. - `XOF::Cash` - for Senegalese cash remittance payments. - `MAD::Cash` - for Moroccan cash remittance payments. - `EUR::Bank` - for IBAN bank transfers in EUR. - `GBP::Bank` - for IBAN bank and FP accounts transfers in GBP. - `ZAR::Bank` - for South Africa bank account payments. - `USD::Bank` - for USD account payments. *** Currently Nigeria & United States only and in Beta phase *** - `USD::Cash` - for USD cash remittance payments. *** Currently Nigeria only and in Beta phase *** - `KES::Bank` - for Kenyan bank account payments. - `KES::Mobile` - for Kenyan mobile money payments. - `XAF::Mobile` - for mobile money payments to Cameroon. - `XAF::Bank` - for Cameroon bank account payments.. - `GNF::Mobile` - for mobile money payments to Guinea. - `BRL::Bank` - for Brazilian bank account payments. - `NZD::Bank` - for New Zealand bank account payments. - `INR::Bank` - for Indian bank account payments. - `BWP::Bank` - for Botswana bank account payments. - `ZMW::Bank` - for Zambian bank account payments. - `CAD::Bank` - for Canadian bank account payments. - `UGX::Bank` - for Ugandan bank account payments. You can also send funds to the internal balance using `CCY::Balance`, where `CCY` is the appropriate currency. See [Collection from senders](https://docs.transferzero.com/docs/additional-features/#collections-from-senders) for more info on how to collect money into internal balance | [optional]
|
7
|
+
**type** | **String** | Contains the currency to send the money to, and the type of the money movement Commonly used payout types are: - `NGN::Bank` - for Nigerian bank account payments. - `GHS::Bank` - for Ghanaian bank account payments. - `GHS::Mobile` - for Ghanaian mobile money payments. - `GHS::Cash` - for Ghanaian cash remittance payments. - `UGX::Mobile` - for Ugandan mobile money payments. - `XOF::Mobile` - for mobile money payments to West-Africa. - `XOF::Bank` - for Senegalese bank account payments. - `XOF::Cash` - for Senegalese cash remittance payments. - `MAD::Cash` - for Moroccan cash remittance payments. - `EUR::Bank` - for IBAN bank transfers in EUR. - `GBP::Bank` - for IBAN bank and FP accounts transfers in GBP. - `ZAR::Bank` - for South Africa bank account payments. - `USD::Bank` - for USD account payments. *** Currently Nigeria & United States only and in Beta phase *** - `USD::Cash` - for USD cash remittance payments. *** Currently Nigeria only and in Beta phase *** - `KES::Bank` - for Kenyan bank account payments. - `KES::Mobile` - for Kenyan mobile money payments. - `XAF::Mobile` - for mobile money payments to Cameroon. - `XAF::Bank` - for Cameroon bank account payments.. - `GNF::Mobile` - for mobile money payments to Guinea. - `BRL::Bank` - for Brazilian bank account payments. - `NZD::Bank` - for New Zealand bank account payments. - `INR::Bank` - for Indian bank account payments. - `BWP::Bank` - for Botswana bank account payments. - `ZMW::Bank` - for Zambian bank account payments. - `CAD::Bank` - for Canadian bank account payments. - `UGX::Bank` - for Ugandan bank account payments. - `EGP::Bank` - for Egyptian bank account payments. You can also send funds to the internal balance using `CCY::Balance`, where `CCY` is the appropriate currency. See [Collection from senders](https://docs.transferzero.com/docs/additional-features/#collections-from-senders) for more info on how to collect money into internal balance | [optional]
|
8
8
|
**details** | [**PayoutMethodDetails**](PayoutMethodDetails.md) | | [optional]
|
9
9
|
**metadata** | [**Object**](.md) | Metadata of payout method. You can store any kind of information in this field. | [optional]
|
10
10
|
**id** | **String** | | [optional]
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# TransferZero::PayoutMethodDetailsEGPBank
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**first_name** | **String** | |
|
8
|
+
**last_name** | **String** | |
|
9
|
+
**street** | **String** | |
|
10
|
+
**phone_number** | **String** | |
|
11
|
+
**bank_account** | **String** | |
|
12
|
+
**bank_code** | **String** | |
|
13
|
+
**transfer_reason** | **String** | |
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'TransferZero'
|
19
|
+
|
20
|
+
instance = TransferZero::PayoutMethodDetailsEGPBank.new(first_name: null,
|
21
|
+
last_name: null,
|
22
|
+
street: null,
|
23
|
+
phone_number: null,
|
24
|
+
bank_account: null,
|
25
|
+
bank_code: null,
|
26
|
+
transfer_reason: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
@@ -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.
|
39
|
+
@user_agent = "TransferZero-SDK/Ruby/1.30.0"
|
40
40
|
@default_headers = {
|
41
41
|
'Content-Type' => 'application/json',
|
42
42
|
'User-Agent' => @user_agent
|
@@ -15,7 +15,7 @@ require 'date'
|
|
15
15
|
module TransferZero
|
16
16
|
# This describes the specific details on how the payment has to be routed to the recipient.
|
17
17
|
class PayoutMethod
|
18
|
-
# Contains the currency to send the money to, and the type of the money movement Commonly used payout types are: - `NGN::Bank` - for Nigerian bank account payments. - `GHS::Bank` - for Ghanaian bank account payments. - `GHS::Mobile` - for Ghanaian mobile money payments. - `GHS::Cash` - for Ghanaian cash remittance payments. - `UGX::Mobile` - for Ugandan mobile money payments. - `XOF::Mobile` - for mobile money payments to West-Africa. - `XOF::Bank` - for Senegalese bank account payments. - `XOF::Cash` - for Senegalese cash remittance payments. - `MAD::Cash` - for Moroccan cash remittance payments. - `EUR::Bank` - for IBAN bank transfers in EUR. - `GBP::Bank` - for IBAN bank and FP accounts transfers in GBP. - `ZAR::Bank` - for South Africa bank account payments. - `USD::Bank` - for USD account payments. *** Currently Nigeria & United States only and in Beta phase *** - `USD::Cash` - for USD cash remittance payments. *** Currently Nigeria only and in Beta phase *** - `KES::Bank` - for Kenyan bank account payments. - `KES::Mobile` - for Kenyan mobile money payments. - `XAF::Mobile` - for mobile money payments to Cameroon. - `XAF::Bank` - for Cameroon bank account payments.. - `GNF::Mobile` - for mobile money payments to Guinea. - `BRL::Bank` - for Brazilian bank account payments. - `NZD::Bank` - for New Zealand bank account payments. - `INR::Bank` - for Indian bank account payments. - `BWP::Bank` - for Botswana bank account payments. - `ZMW::Bank` - for Zambian bank account payments. - `CAD::Bank` - for Canadian bank account payments. - `UGX::Bank` - for Ugandan bank account payments. You can also send funds to the internal balance using `CCY::Balance`, where `CCY` is the appropriate currency. See [Collection from senders](https://docs.transferzero.com/docs/additional-features/#collections-from-senders) for more info on how to collect money into internal balance
|
18
|
+
# Contains the currency to send the money to, and the type of the money movement Commonly used payout types are: - `NGN::Bank` - for Nigerian bank account payments. - `GHS::Bank` - for Ghanaian bank account payments. - `GHS::Mobile` - for Ghanaian mobile money payments. - `GHS::Cash` - for Ghanaian cash remittance payments. - `UGX::Mobile` - for Ugandan mobile money payments. - `XOF::Mobile` - for mobile money payments to West-Africa. - `XOF::Bank` - for Senegalese bank account payments. - `XOF::Cash` - for Senegalese cash remittance payments. - `MAD::Cash` - for Moroccan cash remittance payments. - `EUR::Bank` - for IBAN bank transfers in EUR. - `GBP::Bank` - for IBAN bank and FP accounts transfers in GBP. - `ZAR::Bank` - for South Africa bank account payments. - `USD::Bank` - for USD account payments. *** Currently Nigeria & United States only and in Beta phase *** - `USD::Cash` - for USD cash remittance payments. *** Currently Nigeria only and in Beta phase *** - `KES::Bank` - for Kenyan bank account payments. - `KES::Mobile` - for Kenyan mobile money payments. - `XAF::Mobile` - for mobile money payments to Cameroon. - `XAF::Bank` - for Cameroon bank account payments.. - `GNF::Mobile` - for mobile money payments to Guinea. - `BRL::Bank` - for Brazilian bank account payments. - `NZD::Bank` - for New Zealand bank account payments. - `INR::Bank` - for Indian bank account payments. - `BWP::Bank` - for Botswana bank account payments. - `ZMW::Bank` - for Zambian bank account payments. - `CAD::Bank` - for Canadian bank account payments. - `UGX::Bank` - for Ugandan bank account payments. - `EGP::Bank` - for Egyptian bank account payments. You can also send funds to the internal balance using `CCY::Balance`, where `CCY` is the appropriate currency. See [Collection from senders](https://docs.transferzero.com/docs/additional-features/#collections-from-senders) for more info on how to collect money into internal balance
|
19
19
|
attr_accessor :type
|
20
20
|
|
21
21
|
attr_accessor :details
|
@@ -206,6 +206,7 @@ class PayoutMethodDetails
|
|
206
206
|
:'PayoutMethodDetailsBWPBank',
|
207
207
|
:'PayoutMethodDetailsBalance',
|
208
208
|
:'PayoutMethodDetailsCADBank',
|
209
|
+
:'PayoutMethodDetailsEGPBank',
|
209
210
|
:'PayoutMethodDetailsGBPBank',
|
210
211
|
:'PayoutMethodDetailsGHSBank',
|
211
212
|
:'PayoutMethodDetailsGHSCash',
|
@@ -0,0 +1,292 @@
|
|
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\", \"street\": \"1 Main Street\", \"phone_number\": \"+201023456789\", \"bank_account\": \"1234567890\", \"bank_code\": \"0030\", \"transfer_reason\": \"personal_account\" } ``` See [EGP Bank](https://docs.transferzero.com/docs/payout-details/#egpbank) documentation for the bank_code list
|
17
|
+
class PayoutMethodDetailsEGPBank
|
18
|
+
attr_accessor :first_name
|
19
|
+
|
20
|
+
attr_accessor :last_name
|
21
|
+
|
22
|
+
attr_accessor :street
|
23
|
+
|
24
|
+
attr_accessor :phone_number
|
25
|
+
|
26
|
+
attr_accessor :bank_account
|
27
|
+
|
28
|
+
attr_accessor :bank_code
|
29
|
+
|
30
|
+
attr_accessor :transfer_reason
|
31
|
+
|
32
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
33
|
+
def self.attribute_map
|
34
|
+
{
|
35
|
+
:'first_name' => :'first_name',
|
36
|
+
:'last_name' => :'last_name',
|
37
|
+
:'street' => :'street',
|
38
|
+
:'phone_number' => :'phone_number',
|
39
|
+
:'bank_account' => :'bank_account',
|
40
|
+
:'bank_code' => :'bank_code',
|
41
|
+
:'transfer_reason' => :'transfer_reason'
|
42
|
+
}
|
43
|
+
end
|
44
|
+
|
45
|
+
# Attribute type mapping.
|
46
|
+
def self.openapi_types
|
47
|
+
{
|
48
|
+
:'first_name' => :'String',
|
49
|
+
:'last_name' => :'String',
|
50
|
+
:'street' => :'String',
|
51
|
+
:'phone_number' => :'String',
|
52
|
+
:'bank_account' => :'String',
|
53
|
+
:'bank_code' => :'String',
|
54
|
+
:'transfer_reason' => :'String'
|
55
|
+
}
|
56
|
+
end
|
57
|
+
|
58
|
+
# Initializes the object
|
59
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
60
|
+
def initialize(attributes = {})
|
61
|
+
if (!attributes.is_a?(Hash))
|
62
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TransferZero::PayoutMethodDetailsEGPBank` initialize method"
|
63
|
+
end
|
64
|
+
|
65
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
66
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
67
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
68
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TransferZero::PayoutMethodDetailsEGPBank`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
69
|
+
end
|
70
|
+
h[k.to_sym] = v
|
71
|
+
}
|
72
|
+
|
73
|
+
if attributes.key?(:'first_name')
|
74
|
+
self.first_name = attributes[:'first_name']
|
75
|
+
end
|
76
|
+
|
77
|
+
if attributes.key?(:'last_name')
|
78
|
+
self.last_name = attributes[:'last_name']
|
79
|
+
end
|
80
|
+
|
81
|
+
if attributes.key?(:'street')
|
82
|
+
self.street = attributes[:'street']
|
83
|
+
end
|
84
|
+
|
85
|
+
if attributes.key?(:'phone_number')
|
86
|
+
self.phone_number = attributes[:'phone_number']
|
87
|
+
end
|
88
|
+
|
89
|
+
if attributes.key?(:'bank_account')
|
90
|
+
self.bank_account = attributes[:'bank_account']
|
91
|
+
end
|
92
|
+
|
93
|
+
if attributes.key?(:'bank_code')
|
94
|
+
self.bank_code = attributes[:'bank_code']
|
95
|
+
end
|
96
|
+
|
97
|
+
if attributes.key?(:'transfer_reason')
|
98
|
+
self.transfer_reason = attributes[:'transfer_reason']
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
103
|
+
# @return Array for valid properties with the reasons
|
104
|
+
def list_invalid_properties
|
105
|
+
invalid_properties = Array.new
|
106
|
+
if @first_name.nil?
|
107
|
+
invalid_properties.push('invalid value for "first_name", first_name cannot be nil.')
|
108
|
+
end
|
109
|
+
|
110
|
+
if @last_name.nil?
|
111
|
+
invalid_properties.push('invalid value for "last_name", last_name cannot be nil.')
|
112
|
+
end
|
113
|
+
|
114
|
+
if @street.nil?
|
115
|
+
invalid_properties.push('invalid value for "street", street cannot be nil.')
|
116
|
+
end
|
117
|
+
|
118
|
+
if @phone_number.nil?
|
119
|
+
invalid_properties.push('invalid value for "phone_number", phone_number cannot be nil.')
|
120
|
+
end
|
121
|
+
|
122
|
+
if @bank_account.nil?
|
123
|
+
invalid_properties.push('invalid value for "bank_account", bank_account cannot be nil.')
|
124
|
+
end
|
125
|
+
|
126
|
+
if @bank_code.nil?
|
127
|
+
invalid_properties.push('invalid value for "bank_code", bank_code cannot be nil.')
|
128
|
+
end
|
129
|
+
|
130
|
+
if @transfer_reason.nil?
|
131
|
+
invalid_properties.push('invalid value for "transfer_reason", transfer_reason cannot be nil.')
|
132
|
+
end
|
133
|
+
|
134
|
+
invalid_properties
|
135
|
+
end
|
136
|
+
|
137
|
+
# Check to see if the all the properties in the model are valid
|
138
|
+
# @return true if the model is valid
|
139
|
+
def valid?
|
140
|
+
return false if @first_name.nil?
|
141
|
+
return false if @last_name.nil?
|
142
|
+
return false if @street.nil?
|
143
|
+
return false if @phone_number.nil?
|
144
|
+
return false if @bank_account.nil?
|
145
|
+
return false if @bank_code.nil?
|
146
|
+
return false if @transfer_reason.nil?
|
147
|
+
true
|
148
|
+
end
|
149
|
+
|
150
|
+
# Checks equality by comparing each attribute.
|
151
|
+
# @param [Object] Object to be compared
|
152
|
+
def ==(o)
|
153
|
+
return true if self.equal?(o)
|
154
|
+
self.class == o.class &&
|
155
|
+
first_name == o.first_name &&
|
156
|
+
last_name == o.last_name &&
|
157
|
+
street == o.street &&
|
158
|
+
phone_number == o.phone_number &&
|
159
|
+
bank_account == o.bank_account &&
|
160
|
+
bank_code == o.bank_code &&
|
161
|
+
transfer_reason == o.transfer_reason
|
162
|
+
end
|
163
|
+
|
164
|
+
# @see the `==` method
|
165
|
+
# @param [Object] Object to be compared
|
166
|
+
def eql?(o)
|
167
|
+
self == o
|
168
|
+
end
|
169
|
+
|
170
|
+
# Calculates hash code according to all attributes.
|
171
|
+
# @return [Integer] Hash code
|
172
|
+
def hash
|
173
|
+
[first_name, last_name, street, phone_number, bank_account, bank_code, transfer_reason].hash
|
174
|
+
end
|
175
|
+
|
176
|
+
require 'active_support/core_ext/hash'
|
177
|
+
require 'active_support/hash_with_indifferent_access.rb'
|
178
|
+
# Builds the object from hash
|
179
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
180
|
+
# @return [Object] Returns the model itself
|
181
|
+
def build_from_hash(attributes)
|
182
|
+
return nil unless attributes.is_a?(Hash)
|
183
|
+
self.class.openapi_types.each_pair do |key, type|
|
184
|
+
if type =~ /\AArray<(.*)>/i
|
185
|
+
# check to ensure the input is an array given that the the attribute
|
186
|
+
# is documented as an array but the input is not
|
187
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
188
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
189
|
+
end
|
190
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
191
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
192
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
193
|
+
end
|
194
|
+
|
195
|
+
self
|
196
|
+
end
|
197
|
+
|
198
|
+
# Deserializes the data based on type
|
199
|
+
# @param string type Data type
|
200
|
+
# @param string value Value to be deserialized
|
201
|
+
# @return [Object] Deserialized data
|
202
|
+
def _deserialize(type, value)
|
203
|
+
case type.to_sym
|
204
|
+
when :DateTime
|
205
|
+
DateTime.parse(value)
|
206
|
+
when :Date
|
207
|
+
Date.parse(value)
|
208
|
+
when :String
|
209
|
+
value.to_s
|
210
|
+
when :Integer
|
211
|
+
value.to_i
|
212
|
+
when :Float
|
213
|
+
value.to_f
|
214
|
+
when :Boolean
|
215
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
216
|
+
true
|
217
|
+
else
|
218
|
+
false
|
219
|
+
end
|
220
|
+
when :Object
|
221
|
+
# generic object (usually a Hash), return directly
|
222
|
+
value
|
223
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
224
|
+
inner_type = Regexp.last_match[:inner_type]
|
225
|
+
value.map { |v| _deserialize(inner_type, v) }
|
226
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
227
|
+
k_type = Regexp.last_match[:k_type]
|
228
|
+
v_type = Regexp.last_match[:v_type]
|
229
|
+
{}.tap do |hash|
|
230
|
+
value.each do |k, v|
|
231
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
232
|
+
end
|
233
|
+
end
|
234
|
+
else # model
|
235
|
+
temp_model = TransferZero.const_get(type).new
|
236
|
+
temp_model.build_from_hash(value)
|
237
|
+
end
|
238
|
+
end
|
239
|
+
|
240
|
+
# Returns the string representation of the object
|
241
|
+
# @return [String] String presentation of the object
|
242
|
+
def to_s
|
243
|
+
to_hash.to_s
|
244
|
+
end
|
245
|
+
|
246
|
+
# to_body is an alias to to_hash (backward compatibility)
|
247
|
+
# @return [Hash] Returns the object in the form of hash
|
248
|
+
def to_body
|
249
|
+
to_hash
|
250
|
+
end
|
251
|
+
|
252
|
+
# Returns the object in the form of hash
|
253
|
+
# @return [Hash] Returns the object in the form of hash
|
254
|
+
def to_hash
|
255
|
+
hash = {}
|
256
|
+
self.class.attribute_map.each_pair do |attr, param|
|
257
|
+
value = self.send(attr)
|
258
|
+
next if value.nil?
|
259
|
+
hash[param] = _to_hash(value)
|
260
|
+
end
|
261
|
+
::ActiveSupport::HashWithIndifferentAccess.new(hash)
|
262
|
+
end
|
263
|
+
|
264
|
+
def [](key)
|
265
|
+
to_hash[key]
|
266
|
+
end
|
267
|
+
|
268
|
+
def dig(*args)
|
269
|
+
to_hash.dig(*args)
|
270
|
+
end
|
271
|
+
|
272
|
+
# Outputs non-array value in the form of hash
|
273
|
+
# For object, use to_hash. Otherwise, just return the value
|
274
|
+
# @param [Object] value Any valid value
|
275
|
+
# @return [Hash] Returns the value in the form of hash
|
276
|
+
def _to_hash(value)
|
277
|
+
if value.is_a?(Array)
|
278
|
+
value.compact.map { |v| _to_hash(v) }
|
279
|
+
elsif value.is_a?(Hash)
|
280
|
+
{}.tap do |hash|
|
281
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
282
|
+
end
|
283
|
+
elsif value.respond_to? :to_hash
|
284
|
+
value.to_hash
|
285
|
+
else
|
286
|
+
value
|
287
|
+
end
|
288
|
+
end
|
289
|
+
|
290
|
+
end
|
291
|
+
|
292
|
+
end
|
@@ -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\": \"058\", \"bank_account\": \"123456789\", \"bank_account_type\": \"10\" # 10 for saving # 20 for current accounts } ``` The valid bank_code values are: - Access Bank: 044 - Citi Bank Group: 023 - Diamond Bank: 063 - EcoBank: 050 - FCMB Bank: 214 - Fidelity Bank: 070 - First Bank of Nigeria: 011 - Guaranty Trust Bank : 058 - Heritage Bank: 030 - Jaiz Bank: 301 - Keystone: 082 - Mainstreet: 014 - Polaris Bank: 076 - Stanbic IBTC Bank: 039 - Sterling bank: 232 - Union Bank: 032 - United Bank for Africa: 033 - Unity Bank: 215 - Wema Bank: 035 - Zenith International: 057
|
16
|
+
# ```JSON \"details\": { \"first_name\": \"First\", \"last_name\": \"Last\", \"bank_code\": \"058\", \"bank_account\": \"123456789\", \"bank_account_type\": \"10\" # 10 for saving # 20 for current accounts } ``` The valid bank_code values are: - Access Bank: 044 - Carbon / One Finance: 565 - Citi Bank Group: 023 - Diamond Bank: 063 - EcoBank: 050 - Fairmoney Microfinance Bank LTD: E30 - FCMB Bank: 214 - Fidelity Bank: 070 - First Bank of Nigeria: 011 - Go Money: 326 - Guaranty Trust Bank : 058 - Heritage Bank: 030 - Jaiz Bank: 301 - Keystone: 082 - Kuda Microfinance Bank: 611 - Mainstreet: 014 - Moniepoint Microfinance Bank: 993 - Opay: 305 - Palmpay: B54 - Polaris Bank: 076 - Stanbic IBTC Bank: 039 - Sterling bank: 232 - Union Bank: 032 - United Bank for Africa: 033 - Unity Bank: 215 - VFD Microfinance Bank: 566 - Wema Bank: 035 - Zenith International: 057 - Carbon / One Finance: 100026 - Fairmoney Microfinance Bank LTD: 090551 - Go Money: 100022 - Kuda Microfinance Bank: 090267 - Moniepoint Microfinance Bank: 090405 - Opay: 100004 - Palmpay: 100033 - Providus Bank: 000023 - VFD Microfinance Bank: 090110
|
17
17
|
class PayoutMethodDetailsNGNBank
|
18
18
|
attr_accessor :first_name
|
19
19
|
|
data/lib/transferzero-sdk.rb
CHANGED
@@ -72,6 +72,7 @@ require 'transferzero-sdk/models/payout_method_details_btc'
|
|
72
72
|
require 'transferzero-sdk/models/payout_method_details_bwp_bank'
|
73
73
|
require 'transferzero-sdk/models/payout_method_details_balance'
|
74
74
|
require 'transferzero-sdk/models/payout_method_details_cad_bank'
|
75
|
+
require 'transferzero-sdk/models/payout_method_details_egp_bank'
|
75
76
|
require 'transferzero-sdk/models/payout_method_details_gbp_bank'
|
76
77
|
require 'transferzero-sdk/models/payout_method_details_ghs_bank'
|
77
78
|
require 'transferzero-sdk/models/payout_method_details_ghs_cash'
|
@@ -0,0 +1,77 @@
|
|
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::PayoutMethodDetailsEGPBank
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'PayoutMethodDetailsEGPBank' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = TransferZero::PayoutMethodDetailsEGPBank.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of PayoutMethodDetailsEGPBank' do
|
31
|
+
it 'should create an instance of PayoutMethodDetailsEGPBank' do
|
32
|
+
expect(@instance).to be_instance_of(TransferZero::PayoutMethodDetailsEGPBank)
|
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 "street"' 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 "phone_number"' 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 "bank_account"' 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
|
+
describe 'test attribute "bank_code"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "transfer_reason"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
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.
|
4
|
+
version: 1.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TransferZero
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -164,6 +164,7 @@ files:
|
|
164
164
|
- docs/PayoutMethodDetailsBWPBank.md
|
165
165
|
- docs/PayoutMethodDetailsBalance.md
|
166
166
|
- docs/PayoutMethodDetailsCADBank.md
|
167
|
+
- docs/PayoutMethodDetailsEGPBank.md
|
167
168
|
- docs/PayoutMethodDetailsGBPBank.md
|
168
169
|
- docs/PayoutMethodDetailsGHSBank.md
|
169
170
|
- docs/PayoutMethodDetailsGHSCash.md
|
@@ -326,6 +327,7 @@ files:
|
|
326
327
|
- lib/transferzero-sdk/models/payout_method_details_btc.rb
|
327
328
|
- lib/transferzero-sdk/models/payout_method_details_bwp_bank.rb
|
328
329
|
- lib/transferzero-sdk/models/payout_method_details_cad_bank.rb
|
330
|
+
- lib/transferzero-sdk/models/payout_method_details_egp_bank.rb
|
329
331
|
- lib/transferzero-sdk/models/payout_method_details_gbp_bank.rb
|
330
332
|
- lib/transferzero-sdk/models/payout_method_details_ghs_bank.rb
|
331
333
|
- lib/transferzero-sdk/models/payout_method_details_ghs_cash.rb
|
@@ -477,6 +479,7 @@ files:
|
|
477
479
|
- spec/models/payout_method_details_btc_spec.rb
|
478
480
|
- spec/models/payout_method_details_bwp_bank_spec.rb
|
479
481
|
- spec/models/payout_method_details_cad_bank_spec.rb
|
482
|
+
- spec/models/payout_method_details_egp_bank_spec.rb
|
480
483
|
- spec/models/payout_method_details_gbp_bank_spec.rb
|
481
484
|
- spec/models/payout_method_details_ghs_bank_spec.rb
|
482
485
|
- spec/models/payout_method_details_ghs_cash_spec.rb
|
@@ -583,156 +586,157 @@ signing_key:
|
|
583
586
|
specification_version: 4
|
584
587
|
summary: TransferZero API Ruby Gem
|
585
588
|
test_files:
|
586
|
-
- spec/api/
|
589
|
+
- spec/api/recipients_api_spec.rb
|
587
590
|
- spec/api/transactions_api_spec.rb
|
591
|
+
- spec/api/accounts_api_spec.rb
|
588
592
|
- spec/api/account_debits_api_spec.rb
|
589
|
-
- spec/api/payin_methods_api_spec.rb
|
590
593
|
- spec/api/currency_info_api_spec.rb
|
594
|
+
- spec/api/payin_methods_api_spec.rb
|
595
|
+
- spec/api/payout_methods_api_spec.rb
|
591
596
|
- spec/api/account_validation_api_spec.rb
|
597
|
+
- spec/api/api_logs_api_spec.rb
|
598
|
+
- spec/api/documents_api_spec.rb
|
592
599
|
- spec/api/senders_api_spec.rb
|
593
|
-
- spec/api/payout_methods_api_spec.rb
|
594
|
-
- spec/api/recipients_api_spec.rb
|
595
600
|
- spec/api/logs_api_spec.rb
|
596
601
|
- spec/api/payment_methods_api_spec.rb
|
597
|
-
- spec/api/accounts_api_spec.rb
|
598
|
-
- spec/api/api_logs_api_spec.rb
|
599
602
|
- spec/api/webhooks_api_spec.rb
|
600
603
|
- spec/configuration_spec.rb
|
601
|
-
- spec/models/
|
602
|
-
- spec/models/
|
603
|
-
- spec/models/
|
604
|
-
- spec/models/
|
605
|
-
- spec/models/
|
606
|
-
- spec/models/sender_state_spec.rb
|
607
|
-
- spec/models/document_webhook_all_of_spec.rb
|
608
|
-
- spec/models/payout_method_pix_key_type_enum_spec.rb
|
609
|
-
- spec/models/account_response_spec.rb
|
610
|
-
- spec/models/recipient_request_spec.rb
|
611
|
-
- spec/models/document_list_response_spec.rb
|
612
|
-
- spec/models/payin_method_state_spec.rb
|
613
|
-
- spec/models/recipient_state_reason_details_spec.rb
|
604
|
+
- spec/models/payment_method_opposite_all_of_spec.rb
|
605
|
+
- spec/models/transaction_response_existing_spec.rb
|
606
|
+
- spec/models/payout_method_details_nzd_bank_spec.rb
|
607
|
+
- spec/models/transaction_webhook_all_of_spec.rb
|
608
|
+
- spec/models/recipient_list_response_spec.rb
|
614
609
|
- spec/models/validation_error_description_spec.rb
|
615
|
-
- spec/models/
|
610
|
+
- spec/models/account_validation_result_spec.rb
|
611
|
+
- spec/models/payin_method_details_mobile_spec.rb
|
612
|
+
- spec/models/proof_of_payment_list_response_spec.rb
|
613
|
+
- spec/models/payout_method_transfer_reason_enum_spec.rb
|
614
|
+
- spec/models/currency_opposite_spec.rb
|
616
615
|
- spec/models/payout_method_details_xof_mobile_spec.rb
|
617
|
-
- spec/models/
|
618
|
-
- spec/models/
|
616
|
+
- spec/models/payout_method_details_spec.rb
|
617
|
+
- spec/models/account_validation_request_spec.rb
|
618
|
+
- spec/models/debit_request_wrapper_spec.rb
|
619
|
+
- spec/models/payout_method_details_ugx_bank_spec.rb
|
619
620
|
- spec/models/currency_opposite_all_of_spec.rb
|
620
|
-
- spec/models/
|
621
|
-
- spec/models/
|
622
|
-
- spec/models/
|
623
|
-
- spec/models/
|
624
|
-
- spec/models/
|
625
|
-
- spec/models/
|
626
|
-
- spec/models/
|
627
|
-
- spec/models/
|
628
|
-
- spec/models/debit_list_response_spec.rb
|
629
|
-
- spec/models/payout_method_request_spec.rb
|
630
|
-
- spec/models/transaction_list_response_spec.rb
|
621
|
+
- spec/models/recipient_request_spec.rb
|
622
|
+
- spec/models/payout_method_details_usd_bank_spec.rb
|
623
|
+
- spec/models/webhook_definition_spec.rb
|
624
|
+
- spec/models/document_webhook_all_of_spec.rb
|
625
|
+
- spec/models/webhook_definition_event_list_response_spec.rb
|
626
|
+
- spec/models/recipient_response_spec.rb
|
627
|
+
- spec/models/currency_exchange_spec.rb
|
628
|
+
- spec/models/api_log_response_spec.rb
|
631
629
|
- spec/models/webhook_log_metadata_spec.rb
|
632
|
-
- spec/models/
|
630
|
+
- spec/models/state_reason_details_spec.rb
|
631
|
+
- spec/models/payin_method_response_spec.rb
|
632
|
+
- spec/models/currency_spec.rb
|
633
|
+
- spec/models/account_validation_response_spec.rb
|
633
634
|
- spec/models/payout_method_details_xof_bank_spec.rb
|
634
|
-
- spec/models/
|
635
|
-
- spec/models/
|
636
|
-
- spec/models/
|
635
|
+
- spec/models/payout_method_webhook_spec.rb
|
636
|
+
- spec/models/payout_method_details_gbp_bank_spec.rb
|
637
|
+
- spec/models/payout_method_legal_entity_type_enum_spec.rb
|
638
|
+
- spec/models/api_log_spec.rb
|
639
|
+
- spec/models/recipient_state_reason_details_spec.rb
|
640
|
+
- spec/models/payout_method_cash_provider_enum_spec.rb
|
641
|
+
- spec/models/account_list_response_spec.rb
|
637
642
|
- spec/models/field_select_validation_spec.rb
|
638
|
-
- spec/models/payment_method_list_response_spec.rb
|
639
|
-
- spec/models/recipient_spec.rb
|
640
|
-
- spec/models/webhook_spec.rb
|
641
|
-
- spec/models/payin_method_request_spec.rb
|
642
|
-
- spec/models/payout_method_identity_card_type_enum_spec.rb
|
643
|
-
- spec/models/proof_of_payment_list_response_spec.rb
|
644
|
-
- spec/models/document_spec.rb
|
645
|
-
- spec/models/account_validation_result_spec.rb
|
646
643
|
- spec/models/account_validation_error_spec.rb
|
647
|
-
- spec/models/
|
648
|
-
- spec/models/
|
649
|
-
- spec/models/
|
650
|
-
- spec/models/
|
651
|
-
- spec/models/
|
652
|
-
- spec/models/
|
653
|
-
- spec/models/
|
644
|
+
- spec/models/document_webhook_spec.rb
|
645
|
+
- spec/models/payout_method_pix_key_type_enum_spec.rb
|
646
|
+
- spec/models/payout_method_details_ghs_cash_spec.rb
|
647
|
+
- spec/models/payin_method_details_btc_spec.rb
|
648
|
+
- spec/models/payment_method_opposite_spec.rb
|
649
|
+
- spec/models/transaction_response_spec.rb
|
650
|
+
- spec/models/payout_method_details_btc_spec.rb
|
651
|
+
- spec/models/payout_method_identity_card_type_enum_spec.rb
|
652
|
+
- spec/models/payout_method_details_balance_spec.rb
|
653
|
+
- spec/models/payout_method_details_mobile_spec.rb
|
654
654
|
- spec/models/field_description_spec.rb
|
655
|
-
- spec/models/sender_response_meta_spec.rb
|
656
|
-
- spec/models/webhook_definition_spec.rb
|
657
|
-
- spec/models/payout_method_details_usd_cash_spec.rb
|
658
|
-
- spec/models/sender_list_response_spec.rb
|
659
|
-
- spec/models/payin_method_response_spec.rb
|
660
|
-
- spec/models/payout_method_details_kes_bank_spec.rb
|
661
655
|
- spec/models/payout_method_details_mad_cash_spec.rb
|
662
|
-
- spec/models/
|
663
|
-
- spec/models/
|
664
|
-
- spec/models/
|
656
|
+
- spec/models/payout_method_details_brl_bank_spec.rb
|
657
|
+
- spec/models/debit_list_response_spec.rb
|
658
|
+
- spec/models/webhook_spec.rb
|
659
|
+
- spec/models/payin_method_request_spec.rb
|
660
|
+
- spec/models/payout_method_details_usd_cash_spec.rb
|
661
|
+
- spec/models/api_log_list_response_spec.rb
|
665
662
|
- spec/models/currency_exchange_list_response_spec.rb
|
666
|
-
- spec/models/
|
667
|
-
- spec/models/
|
663
|
+
- spec/models/payout_method_request_spec.rb
|
664
|
+
- spec/models/payout_method_details_zmw_bank_spec.rb
|
665
|
+
- spec/models/transaction_webhook_spec.rb
|
666
|
+
- spec/models/account_response_spec.rb
|
667
|
+
- spec/models/error_status_spec.rb
|
668
|
+
- spec/models/recipient_spec.rb
|
669
|
+
- spec/models/sender_spec.rb
|
668
670
|
- spec/models/transaction_traits_spec.rb
|
669
|
-
- spec/models/payout_method_nature_of_business_enum_spec.rb
|
670
|
-
- spec/models/currency_spec.rb
|
671
671
|
- spec/models/webhook_log_response_spec.rb
|
672
672
|
- spec/models/recipient_webhook_all_of_spec.rb
|
673
|
-
- spec/models/
|
674
|
-
- spec/models/
|
675
|
-
- spec/models/
|
676
|
-
- spec/models/
|
677
|
-
- spec/models/webhook_definition_event_list_response_spec.rb
|
678
|
-
- spec/models/state_reason_details_spec.rb
|
679
|
-
- spec/models/transaction_response_existing_spec.rb
|
680
|
-
- spec/models/payout_method_details_zmw_bank_spec.rb
|
673
|
+
- spec/models/recipient_state_spec.rb
|
674
|
+
- spec/models/payout_method_details_cad_bank_spec.rb
|
675
|
+
- spec/models/pagination_meta_spec.rb
|
676
|
+
- spec/models/debit_list_request_spec.rb
|
681
677
|
- spec/models/transaction_state_spec.rb
|
682
|
-
- spec/models/
|
683
|
-
- spec/models/
|
684
|
-
- spec/models/
|
685
|
-
- spec/models/
|
686
|
-
- spec/models/
|
687
|
-
- spec/models/payout_method_cash_provider_enum_spec.rb
|
688
|
-
- spec/models/recipient_response_spec.rb
|
678
|
+
- spec/models/proof_of_payment_spec.rb
|
679
|
+
- spec/models/sender_webhook_spec.rb
|
680
|
+
- spec/models/debit_response_spec.rb
|
681
|
+
- spec/models/sender_state_spec.rb
|
682
|
+
- spec/models/payout_method_nature_of_business_enum_spec.rb
|
689
683
|
- spec/models/payout_method_details_xaf_mobile_spec.rb
|
690
|
-
- spec/models/
|
684
|
+
- spec/models/transaction_list_response_spec.rb
|
685
|
+
- spec/models/webhook_definition_request_spec.rb
|
686
|
+
- spec/models/document_response_spec.rb
|
691
687
|
- spec/models/webhook_log_list_response_spec.rb
|
692
|
-
- spec/models/
|
693
|
-
- spec/models/
|
688
|
+
- spec/models/currency_exchange_all_of_spec.rb
|
689
|
+
- spec/models/account_meta_spec.rb
|
690
|
+
- spec/models/payout_method_details_egp_bank_spec.rb
|
691
|
+
- spec/models/payout_method_details_xof_cash_spec.rb
|
692
|
+
- spec/models/debit_request_spec.rb
|
693
|
+
- spec/models/payout_method_details_zar_bank_spec.rb
|
694
|
+
- spec/models/payout_method_details_kes_mobile_spec.rb
|
695
|
+
- spec/models/document_spec.rb
|
696
|
+
- spec/models/payout_method_details_gnf_mobile_spec.rb
|
697
|
+
- spec/models/field_validation_spec.rb
|
698
|
+
- spec/models/payin_method_details_ngn_bank_spec.rb
|
699
|
+
- spec/models/payout_method_spec.rb
|
700
|
+
- spec/models/payment_method_spec.rb
|
701
|
+
- spec/models/account_spec.rb
|
702
|
+
- spec/models/pagination_spec.rb
|
703
|
+
- spec/models/sender_response_existing_spec.rb
|
694
704
|
- spec/models/payin_method_ux_flow_spec.rb
|
695
705
|
- spec/models/payout_method_details_ngn_bank_spec.rb
|
696
|
-
- spec/models/
|
697
|
-
- spec/models/
|
698
|
-
- spec/models/
|
699
|
-
- spec/models/
|
700
|
-
- spec/models/
|
701
|
-
- spec/models/
|
702
|
-
- spec/models/
|
706
|
+
- spec/models/payout_method_bank_account_type_enum_spec.rb
|
707
|
+
- spec/models/payout_method_webhook_all_of_spec.rb
|
708
|
+
- spec/models/payout_method_details_ghs_bank_spec.rb
|
709
|
+
- spec/models/payout_method_details_xaf_bank_spec.rb
|
710
|
+
- spec/models/payout_method_details_bwp_bank_spec.rb
|
711
|
+
- spec/models/payout_method_details_kes_bank_spec.rb
|
712
|
+
- spec/models/document_request_spec.rb
|
703
713
|
- spec/models/payout_method_country_enum_spec.rb
|
704
|
-
- spec/models/
|
705
|
-
- spec/models/webhook_definition_list_response_spec.rb
|
714
|
+
- spec/models/sender_list_response_spec.rb
|
706
715
|
- spec/models/transaction_spec.rb
|
707
|
-
- spec/models/
|
708
|
-
- spec/models/currency_list_response_spec.rb
|
709
|
-
- spec/models/payout_method_details_cad_bank_spec.rb
|
710
|
-
- spec/models/recipient_webhook_spec.rb
|
711
|
-
- spec/models/webhook_definition_request_spec.rb
|
712
|
-
- spec/models/account_list_response_spec.rb
|
713
|
-
- spec/models/payout_method_gender_enum_spec.rb
|
714
|
-
- spec/models/debit_response_spec.rb
|
715
|
-
- spec/models/payout_method_details_nzd_bank_spec.rb
|
716
|
-
- spec/models/payout_method_details_balance_spec.rb
|
717
|
-
- spec/models/payout_method_webhook_spec.rb
|
718
|
-
- spec/models/payment_method_opposite_spec.rb
|
719
|
-
- spec/models/payout_method_details_bwp_bank_spec.rb
|
720
|
-
- spec/models/webhook_log_spec.rb
|
716
|
+
- spec/models/sender_response_spec.rb
|
721
717
|
- spec/models/payout_method_list_response_spec.rb
|
722
|
-
- spec/models/
|
723
|
-
- spec/models/
|
724
|
-
- spec/models/
|
725
|
-
- spec/models/
|
718
|
+
- spec/models/payout_method_mobile_provider_enum_spec.rb
|
719
|
+
- spec/models/payout_method_response_spec.rb
|
720
|
+
- spec/models/payout_method_gender_enum_spec.rb
|
721
|
+
- spec/models/webhook_log_metadata_response_spec.rb
|
722
|
+
- spec/models/payout_method_details_iban_spec.rb
|
723
|
+
- spec/models/payin_method_state_spec.rb
|
724
|
+
- spec/models/payin_method_spec.rb
|
725
|
+
- spec/models/debit_spec.rb
|
726
|
+
- spec/models/document_list_response_spec.rb
|
727
|
+
- spec/models/webhook_definition_list_response_spec.rb
|
728
|
+
- spec/models/recipient_webhook_spec.rb
|
726
729
|
- spec/models/payout_method_details_inr_bank_spec.rb
|
727
|
-
- spec/models/
|
728
|
-
- spec/models/
|
729
|
-
- spec/models/
|
730
|
-
- spec/models/
|
731
|
-
- spec/models/
|
732
|
-
- spec/models/
|
733
|
-
- spec/models/
|
734
|
-
- spec/models/
|
735
|
-
- spec/models/
|
736
|
-
- spec/models/
|
737
|
-
- spec/models/
|
730
|
+
- spec/models/transaction_request_spec.rb
|
731
|
+
- spec/models/webhook_log_metadata_request_spec.rb
|
732
|
+
- spec/models/sender_request_spec.rb
|
733
|
+
- spec/models/webhook_log_spec.rb
|
734
|
+
- spec/models/payment_method_list_response_spec.rb
|
735
|
+
- spec/models/payin_method_details_spec.rb
|
736
|
+
- spec/models/sender_webhook_all_of_spec.rb
|
737
|
+
- spec/models/currency_list_response_spec.rb
|
738
|
+
- spec/models/transaction_response_meta_spec.rb
|
739
|
+
- spec/models/sender_response_meta_spec.rb
|
740
|
+
- spec/models/politically_exposed_person_spec.rb
|
741
|
+
- spec/models/webhook_definition_response_spec.rb
|
738
742
|
- spec/spec_helper.rb
|