transferzero-sdk 1.34.1 → 1.34.3
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 +9 -8
- data/README.md +4 -4
- data/docs/AccountValidationResult.md +3 -1
- data/docs/PayoutMethodDetails.md +2 -0
- data/docs/PayoutMethodDetailsBRLBank.md +3 -1
- data/docs/PayoutMethodDetailsBTC.md +3 -1
- data/docs/PayoutMethodDetailsBWPBank.md +3 -1
- data/docs/PayoutMethodDetailsCADBank.md +3 -1
- data/docs/PayoutMethodDetailsEGPBank.md +4 -2
- data/docs/PayoutMethodDetailsGBPBank.md +3 -1
- data/docs/PayoutMethodDetailsGHSBank.md +3 -1
- data/docs/PayoutMethodDetailsGHSCash.md +3 -1
- data/docs/PayoutMethodDetailsGNFMobile.md +3 -1
- data/docs/PayoutMethodDetailsIBAN.md +3 -1
- data/docs/PayoutMethodDetailsINRBank.md +3 -1
- data/docs/PayoutMethodDetailsKESBank.md +3 -1
- data/docs/PayoutMethodDetailsKESMobile.md +3 -1
- data/docs/PayoutMethodDetailsMADCash.md +3 -1
- data/docs/PayoutMethodDetailsMobile.md +3 -1
- data/docs/PayoutMethodDetailsNGNBank.md +3 -1
- data/docs/PayoutMethodDetailsNZDBank.md +3 -1
- data/docs/PayoutMethodDetailsUGXBank.md +3 -1
- data/docs/PayoutMethodDetailsUSDBank.md +3 -1
- data/docs/PayoutMethodDetailsUSDCash.md +3 -1
- data/docs/PayoutMethodDetailsXAFBank.md +3 -1
- data/docs/PayoutMethodDetailsXAFMobile.md +3 -1
- data/docs/PayoutMethodDetailsXOFBank.md +3 -1
- data/docs/PayoutMethodDetailsXOFCash.md +3 -1
- data/docs/PayoutMethodDetailsXOFMobile.md +3 -1
- data/docs/PayoutMethodDetailsZARBank.md +3 -1
- data/docs/PayoutMethodDetailsZMWBank.md +3 -1
- data/lib/transferzero-sdk/api_client.rb +1 -1
- data/lib/transferzero-sdk/models/account_validation_request.rb +4 -4
- data/lib/transferzero-sdk/models/account_validation_result.rb +13 -4
- data/lib/transferzero-sdk/models/payout_method_details.rb +11 -1
- data/lib/transferzero-sdk/models/payout_method_details_brl_bank.rb +14 -4
- data/lib/transferzero-sdk/models/payout_method_details_btc.rb +14 -4
- data/lib/transferzero-sdk/models/payout_method_details_bwp_bank.rb +14 -4
- data/lib/transferzero-sdk/models/payout_method_details_cad_bank.rb +14 -4
- data/lib/transferzero-sdk/models/payout_method_details_egp_bank.rb +14 -9
- data/lib/transferzero-sdk/models/payout_method_details_gbp_bank.rb +14 -4
- data/lib/transferzero-sdk/models/payout_method_details_ghs_bank.rb +14 -4
- data/lib/transferzero-sdk/models/payout_method_details_ghs_cash.rb +14 -4
- data/lib/transferzero-sdk/models/payout_method_details_gnf_mobile.rb +14 -4
- data/lib/transferzero-sdk/models/payout_method_details_iban.rb +14 -4
- data/lib/transferzero-sdk/models/payout_method_details_inr_bank.rb +14 -4
- data/lib/transferzero-sdk/models/payout_method_details_kes_bank.rb +14 -4
- data/lib/transferzero-sdk/models/payout_method_details_kes_mobile.rb +14 -4
- data/lib/transferzero-sdk/models/payout_method_details_mad_cash.rb +14 -4
- data/lib/transferzero-sdk/models/payout_method_details_mobile.rb +14 -4
- data/lib/transferzero-sdk/models/payout_method_details_ngn_bank.rb +14 -4
- data/lib/transferzero-sdk/models/payout_method_details_nzd_bank.rb +14 -4
- data/lib/transferzero-sdk/models/payout_method_details_ugx_bank.rb +14 -4
- data/lib/transferzero-sdk/models/payout_method_details_usd_bank.rb +14 -4
- data/lib/transferzero-sdk/models/payout_method_details_usd_cash.rb +14 -4
- data/lib/transferzero-sdk/models/payout_method_details_xaf_bank.rb +14 -4
- data/lib/transferzero-sdk/models/payout_method_details_xaf_mobile.rb +14 -4
- data/lib/transferzero-sdk/models/payout_method_details_xof_bank.rb +14 -4
- data/lib/transferzero-sdk/models/payout_method_details_xof_cash.rb +14 -4
- data/lib/transferzero-sdk/models/payout_method_details_xof_mobile.rb +14 -4
- data/lib/transferzero-sdk/models/payout_method_details_zar_bank.rb +14 -4
- data/lib/transferzero-sdk/models/payout_method_details_zmw_bank.rb +14 -4
- data/lib/transferzero-sdk/version.rb +1 -1
- metadata +132 -132
|
@@ -158,10 +158,10 @@ class AccountValidationRequest
|
|
|
158
158
|
# @return true if the model is valid
|
|
159
159
|
def valid?
|
|
160
160
|
return false if @country.nil?
|
|
161
|
-
country_validator = EnumAttributeValidator.new('String', ["NG", "GH", "SN", "CI", "UG"])
|
|
161
|
+
country_validator = EnumAttributeValidator.new('String', ["BJ", "BF", "NG", "GH", "SN", "CI", "CM", "UG", "TG"])
|
|
162
162
|
return false unless country_validator.valid?(@country)
|
|
163
163
|
return false if @currency.nil?
|
|
164
|
-
currency_validator = EnumAttributeValidator.new('String', ["NGN", "GHS", "XOF", "UGX"])
|
|
164
|
+
currency_validator = EnumAttributeValidator.new('String', ["NGN", "GHS", "XOF", "UGX", "XAF"])
|
|
165
165
|
return false unless currency_validator.valid?(@currency)
|
|
166
166
|
return false if @method.nil?
|
|
167
167
|
method_validator = EnumAttributeValidator.new('String', ["bank", "mobile"])
|
|
@@ -172,7 +172,7 @@ class AccountValidationRequest
|
|
|
172
172
|
# Custom attribute writer method checking allowed values (enum).
|
|
173
173
|
# @param [Object] country Object to be assigned
|
|
174
174
|
def country=(country)
|
|
175
|
-
validator = EnumAttributeValidator.new('String', ["NG", "GH", "SN", "CI", "UG"])
|
|
175
|
+
validator = EnumAttributeValidator.new('String', ["BJ", "BF", "NG", "GH", "SN", "CI", "CM", "UG", "TG"])
|
|
176
176
|
unless validator.valid?(country) || country.empty?
|
|
177
177
|
fail ArgumentError, "invalid value for \"country\", must be one of #{validator.allowable_values}."
|
|
178
178
|
end
|
|
@@ -182,7 +182,7 @@ class AccountValidationRequest
|
|
|
182
182
|
# Custom attribute writer method checking allowed values (enum).
|
|
183
183
|
# @param [Object] currency Object to be assigned
|
|
184
184
|
def currency=(currency)
|
|
185
|
-
validator = EnumAttributeValidator.new('String', ["NGN", "GHS", "XOF", "UGX"])
|
|
185
|
+
validator = EnumAttributeValidator.new('String', ["NGN", "GHS", "XOF", "UGX", "XAF"])
|
|
186
186
|
unless validator.valid?(currency) || currency.empty?
|
|
187
187
|
fail ArgumentError, "invalid value for \"currency\", must be one of #{validator.allowable_values}."
|
|
188
188
|
end
|
|
@@ -17,17 +17,21 @@ module TransferZero
|
|
|
17
17
|
class AccountValidationResult
|
|
18
18
|
attr_accessor :account_name
|
|
19
19
|
|
|
20
|
+
attr_accessor :mapped_mobile_provider
|
|
21
|
+
|
|
20
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
21
23
|
def self.attribute_map
|
|
22
24
|
{
|
|
23
|
-
:'account_name' => :'account_name'
|
|
25
|
+
:'account_name' => :'account_name',
|
|
26
|
+
:'mapped_mobile_provider' => :'mapped_mobile_provider'
|
|
24
27
|
}
|
|
25
28
|
end
|
|
26
29
|
|
|
27
30
|
# Attribute type mapping.
|
|
28
31
|
def self.openapi_types
|
|
29
32
|
{
|
|
30
|
-
:'account_name' => :'String'
|
|
33
|
+
:'account_name' => :'String',
|
|
34
|
+
:'mapped_mobile_provider' => :'String'
|
|
31
35
|
}
|
|
32
36
|
end
|
|
33
37
|
|
|
@@ -49,6 +53,10 @@ class AccountValidationResult
|
|
|
49
53
|
if attributes.key?(:'account_name')
|
|
50
54
|
self.account_name = attributes[:'account_name']
|
|
51
55
|
end
|
|
56
|
+
|
|
57
|
+
if attributes.key?(:'mapped_mobile_provider')
|
|
58
|
+
self.mapped_mobile_provider = attributes[:'mapped_mobile_provider']
|
|
59
|
+
end
|
|
52
60
|
end
|
|
53
61
|
|
|
54
62
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -69,7 +77,8 @@ class AccountValidationResult
|
|
|
69
77
|
def ==(o)
|
|
70
78
|
return true if self.equal?(o)
|
|
71
79
|
self.class == o.class &&
|
|
72
|
-
account_name == o.account_name
|
|
80
|
+
account_name == o.account_name &&
|
|
81
|
+
mapped_mobile_provider == o.mapped_mobile_provider
|
|
73
82
|
end
|
|
74
83
|
|
|
75
84
|
# @see the `==` method
|
|
@@ -81,7 +90,7 @@ class AccountValidationResult
|
|
|
81
90
|
# Calculates hash code according to all attributes.
|
|
82
91
|
# @return [Integer] Hash code
|
|
83
92
|
def hash
|
|
84
|
-
[account_name].hash
|
|
93
|
+
[account_name, mapped_mobile_provider].hash
|
|
85
94
|
end
|
|
86
95
|
|
|
87
96
|
require 'active_support/core_ext/hash'
|
|
@@ -24,6 +24,9 @@ class PayoutMethodDetails
|
|
|
24
24
|
|
|
25
25
|
attr_accessor :bank_account_type
|
|
26
26
|
|
|
27
|
+
# Date of birth of recipient
|
|
28
|
+
attr_accessor :birth_date
|
|
29
|
+
|
|
27
30
|
attr_accessor :phone_number
|
|
28
31
|
|
|
29
32
|
attr_accessor :mobile_provider
|
|
@@ -112,6 +115,7 @@ class PayoutMethodDetails
|
|
|
112
115
|
:'bank_code' => :'bank_code',
|
|
113
116
|
:'bank_account' => :'bank_account',
|
|
114
117
|
:'bank_account_type' => :'bank_account_type',
|
|
118
|
+
:'birth_date' => :'birth_date',
|
|
115
119
|
:'phone_number' => :'phone_number',
|
|
116
120
|
:'mobile_provider' => :'mobile_provider',
|
|
117
121
|
:'country' => :'country',
|
|
@@ -163,6 +167,7 @@ class PayoutMethodDetails
|
|
|
163
167
|
:'bank_code' => :'String',
|
|
164
168
|
:'bank_account' => :'String',
|
|
165
169
|
:'bank_account_type' => :'PayoutMethodBankAccountTypeEnum',
|
|
170
|
+
:'birth_date' => :'Date',
|
|
166
171
|
:'phone_number' => :'String',
|
|
167
172
|
:'mobile_provider' => :'PayoutMethodMobileProviderEnum',
|
|
168
173
|
:'country' => :'PayoutMethodCountryEnum',
|
|
@@ -275,6 +280,10 @@ class PayoutMethodDetails
|
|
|
275
280
|
self.bank_account_type = attributes[:'bank_account_type']
|
|
276
281
|
end
|
|
277
282
|
|
|
283
|
+
if attributes.key?(:'birth_date')
|
|
284
|
+
self.birth_date = attributes[:'birth_date']
|
|
285
|
+
end
|
|
286
|
+
|
|
278
287
|
if attributes.key?(:'phone_number')
|
|
279
288
|
self.phone_number = attributes[:'phone_number']
|
|
280
289
|
end
|
|
@@ -585,6 +594,7 @@ class PayoutMethodDetails
|
|
|
585
594
|
bank_code == o.bank_code &&
|
|
586
595
|
bank_account == o.bank_account &&
|
|
587
596
|
bank_account_type == o.bank_account_type &&
|
|
597
|
+
birth_date == o.birth_date &&
|
|
588
598
|
phone_number == o.phone_number &&
|
|
589
599
|
mobile_provider == o.mobile_provider &&
|
|
590
600
|
country == o.country &&
|
|
@@ -636,7 +646,7 @@ class PayoutMethodDetails
|
|
|
636
646
|
# Calculates hash code according to all attributes.
|
|
637
647
|
# @return [Integer] Hash code
|
|
638
648
|
def hash
|
|
639
|
-
[first_name, last_name, bank_code, bank_account, bank_account_type, phone_number, mobile_provider, country, transfer_reason, iban, bank_name, bank_country, cash_provider, sort_code, bic, narration, sender_identity_card_type, sender_identity_card_id, sender_city_of_birth, sender_country_of_birth, sender_gender, reason, identity_card_type, identity_card_id, reference, name, address, street, postal_code, city, email, branch_code, transfer_reason_code, contact_first_name, contact_last_name, registration_number, nature_of_business, legal_entity_type, middle_name, routing_number, swift_code, relationship_to_sender, pix_key_type, pix_key_value, ifsc_code].hash
|
|
649
|
+
[first_name, last_name, bank_code, bank_account, bank_account_type, birth_date, phone_number, mobile_provider, country, transfer_reason, iban, bank_name, bank_country, cash_provider, sort_code, bic, narration, sender_identity_card_type, sender_identity_card_id, sender_city_of_birth, sender_country_of_birth, sender_gender, reason, identity_card_type, identity_card_id, reference, name, address, street, postal_code, city, email, branch_code, transfer_reason_code, contact_first_name, contact_last_name, registration_number, nature_of_business, legal_entity_type, middle_name, routing_number, swift_code, relationship_to_sender, pix_key_type, pix_key_value, ifsc_code].hash
|
|
640
650
|
end
|
|
641
651
|
|
|
642
652
|
require 'active_support/core_ext/hash'
|
|
@@ -41,6 +41,9 @@ class PayoutMethodDetailsBRLBank
|
|
|
41
41
|
|
|
42
42
|
attr_accessor :transfer_reason
|
|
43
43
|
|
|
44
|
+
# Date of birth of recipient
|
|
45
|
+
attr_accessor :birth_date
|
|
46
|
+
|
|
44
47
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
45
48
|
def self.attribute_map
|
|
46
49
|
{
|
|
@@ -56,7 +59,8 @@ class PayoutMethodDetailsBRLBank
|
|
|
56
59
|
:'pix_key_type' => :'pix_key_type',
|
|
57
60
|
:'pix_key_value' => :'pix_key_value',
|
|
58
61
|
:'identity_card_id' => :'identity_card_id',
|
|
59
|
-
:'transfer_reason' => :'transfer_reason'
|
|
62
|
+
:'transfer_reason' => :'transfer_reason',
|
|
63
|
+
:'birth_date' => :'birth_date'
|
|
60
64
|
}
|
|
61
65
|
end
|
|
62
66
|
|
|
@@ -75,7 +79,8 @@ class PayoutMethodDetailsBRLBank
|
|
|
75
79
|
:'pix_key_type' => :'PayoutMethodPixKeyTypeEnum',
|
|
76
80
|
:'pix_key_value' => :'String',
|
|
77
81
|
:'identity_card_id' => :'String',
|
|
78
|
-
:'transfer_reason' => :'PayoutMethodTransferReasonEnum'
|
|
82
|
+
:'transfer_reason' => :'PayoutMethodTransferReasonEnum',
|
|
83
|
+
:'birth_date' => :'Date'
|
|
79
84
|
}
|
|
80
85
|
end
|
|
81
86
|
|
|
@@ -145,6 +150,10 @@ class PayoutMethodDetailsBRLBank
|
|
|
145
150
|
if attributes.key?(:'transfer_reason')
|
|
146
151
|
self.transfer_reason = attributes[:'transfer_reason']
|
|
147
152
|
end
|
|
153
|
+
|
|
154
|
+
if attributes.key?(:'birth_date')
|
|
155
|
+
self.birth_date = attributes[:'birth_date']
|
|
156
|
+
end
|
|
148
157
|
end
|
|
149
158
|
|
|
150
159
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -207,7 +216,8 @@ class PayoutMethodDetailsBRLBank
|
|
|
207
216
|
pix_key_type == o.pix_key_type &&
|
|
208
217
|
pix_key_value == o.pix_key_value &&
|
|
209
218
|
identity_card_id == o.identity_card_id &&
|
|
210
|
-
transfer_reason == o.transfer_reason
|
|
219
|
+
transfer_reason == o.transfer_reason &&
|
|
220
|
+
birth_date == o.birth_date
|
|
211
221
|
end
|
|
212
222
|
|
|
213
223
|
# @see the `==` method
|
|
@@ -219,7 +229,7 @@ class PayoutMethodDetailsBRLBank
|
|
|
219
229
|
# Calculates hash code according to all attributes.
|
|
220
230
|
# @return [Integer] Hash code
|
|
221
231
|
def hash
|
|
222
|
-
[first_name, last_name, city, postal_code, phone_number, bank_code, branch_code, bank_account, bank_account_type, pix_key_type, pix_key_value, identity_card_id, transfer_reason].hash
|
|
232
|
+
[first_name, last_name, city, postal_code, phone_number, bank_code, branch_code, bank_account, bank_account_type, pix_key_type, pix_key_value, identity_card_id, transfer_reason, birth_date].hash
|
|
223
233
|
end
|
|
224
234
|
|
|
225
235
|
require 'active_support/core_ext/hash'
|
|
@@ -23,13 +23,17 @@ class PayoutMethodDetailsBTC
|
|
|
23
23
|
|
|
24
24
|
attr_accessor :address
|
|
25
25
|
|
|
26
|
+
# Date of birth of recipient
|
|
27
|
+
attr_accessor :birth_date
|
|
28
|
+
|
|
26
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
27
30
|
def self.attribute_map
|
|
28
31
|
{
|
|
29
32
|
:'first_name' => :'first_name',
|
|
30
33
|
:'last_name' => :'last_name',
|
|
31
34
|
:'name' => :'name',
|
|
32
|
-
:'address' => :'address'
|
|
35
|
+
:'address' => :'address',
|
|
36
|
+
:'birth_date' => :'birth_date'
|
|
33
37
|
}
|
|
34
38
|
end
|
|
35
39
|
|
|
@@ -39,7 +43,8 @@ class PayoutMethodDetailsBTC
|
|
|
39
43
|
:'first_name' => :'String',
|
|
40
44
|
:'last_name' => :'String',
|
|
41
45
|
:'name' => :'String',
|
|
42
|
-
:'address' => :'String'
|
|
46
|
+
:'address' => :'String',
|
|
47
|
+
:'birth_date' => :'Date'
|
|
43
48
|
}
|
|
44
49
|
end
|
|
45
50
|
|
|
@@ -73,6 +78,10 @@ class PayoutMethodDetailsBTC
|
|
|
73
78
|
if attributes.key?(:'address')
|
|
74
79
|
self.address = attributes[:'address']
|
|
75
80
|
end
|
|
81
|
+
|
|
82
|
+
if attributes.key?(:'birth_date')
|
|
83
|
+
self.birth_date = attributes[:'birth_date']
|
|
84
|
+
end
|
|
76
85
|
end
|
|
77
86
|
|
|
78
87
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -116,7 +125,8 @@ class PayoutMethodDetailsBTC
|
|
|
116
125
|
first_name == o.first_name &&
|
|
117
126
|
last_name == o.last_name &&
|
|
118
127
|
name == o.name &&
|
|
119
|
-
address == o.address
|
|
128
|
+
address == o.address &&
|
|
129
|
+
birth_date == o.birth_date
|
|
120
130
|
end
|
|
121
131
|
|
|
122
132
|
# @see the `==` method
|
|
@@ -128,7 +138,7 @@ class PayoutMethodDetailsBTC
|
|
|
128
138
|
# Calculates hash code according to all attributes.
|
|
129
139
|
# @return [Integer] Hash code
|
|
130
140
|
def hash
|
|
131
|
-
[first_name, last_name, name, address].hash
|
|
141
|
+
[first_name, last_name, name, address, birth_date].hash
|
|
132
142
|
end
|
|
133
143
|
|
|
134
144
|
require 'active_support/core_ext/hash'
|
|
@@ -25,6 +25,9 @@ class PayoutMethodDetailsBWPBank
|
|
|
25
25
|
|
|
26
26
|
attr_accessor :branch_code
|
|
27
27
|
|
|
28
|
+
# Date of birth of recipient
|
|
29
|
+
attr_accessor :birth_date
|
|
30
|
+
|
|
28
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
29
32
|
def self.attribute_map
|
|
30
33
|
{
|
|
@@ -32,7 +35,8 @@ class PayoutMethodDetailsBWPBank
|
|
|
32
35
|
:'last_name' => :'last_name',
|
|
33
36
|
:'bank_name' => :'bank_name',
|
|
34
37
|
:'bank_account' => :'bank_account',
|
|
35
|
-
:'branch_code' => :'branch_code'
|
|
38
|
+
:'branch_code' => :'branch_code',
|
|
39
|
+
:'birth_date' => :'birth_date'
|
|
36
40
|
}
|
|
37
41
|
end
|
|
38
42
|
|
|
@@ -43,7 +47,8 @@ class PayoutMethodDetailsBWPBank
|
|
|
43
47
|
:'last_name' => :'String',
|
|
44
48
|
:'bank_name' => :'String',
|
|
45
49
|
:'bank_account' => :'String',
|
|
46
|
-
:'branch_code' => :'String'
|
|
50
|
+
:'branch_code' => :'String',
|
|
51
|
+
:'birth_date' => :'Date'
|
|
47
52
|
}
|
|
48
53
|
end
|
|
49
54
|
|
|
@@ -81,6 +86,10 @@ class PayoutMethodDetailsBWPBank
|
|
|
81
86
|
if attributes.key?(:'branch_code')
|
|
82
87
|
self.branch_code = attributes[:'branch_code']
|
|
83
88
|
end
|
|
89
|
+
|
|
90
|
+
if attributes.key?(:'birth_date')
|
|
91
|
+
self.birth_date = attributes[:'birth_date']
|
|
92
|
+
end
|
|
84
93
|
end
|
|
85
94
|
|
|
86
95
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -130,7 +139,8 @@ class PayoutMethodDetailsBWPBank
|
|
|
130
139
|
last_name == o.last_name &&
|
|
131
140
|
bank_name == o.bank_name &&
|
|
132
141
|
bank_account == o.bank_account &&
|
|
133
|
-
branch_code == o.branch_code
|
|
142
|
+
branch_code == o.branch_code &&
|
|
143
|
+
birth_date == o.birth_date
|
|
134
144
|
end
|
|
135
145
|
|
|
136
146
|
# @see the `==` method
|
|
@@ -142,7 +152,7 @@ class PayoutMethodDetailsBWPBank
|
|
|
142
152
|
# Calculates hash code according to all attributes.
|
|
143
153
|
# @return [Integer] Hash code
|
|
144
154
|
def hash
|
|
145
|
-
[first_name, last_name, bank_name, bank_account, branch_code].hash
|
|
155
|
+
[first_name, last_name, bank_name, bank_account, branch_code, birth_date].hash
|
|
146
156
|
end
|
|
147
157
|
|
|
148
158
|
require 'active_support/core_ext/hash'
|
|
@@ -25,6 +25,9 @@ class PayoutMethodDetailsCADBank
|
|
|
25
25
|
|
|
26
26
|
attr_accessor :branch_code
|
|
27
27
|
|
|
28
|
+
# Date of birth of recipient
|
|
29
|
+
attr_accessor :birth_date
|
|
30
|
+
|
|
28
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
29
32
|
def self.attribute_map
|
|
30
33
|
{
|
|
@@ -32,7 +35,8 @@ class PayoutMethodDetailsCADBank
|
|
|
32
35
|
:'last_name' => :'last_name',
|
|
33
36
|
:'bank_account' => :'bank_account',
|
|
34
37
|
:'bank_code' => :'bank_code',
|
|
35
|
-
:'branch_code' => :'branch_code'
|
|
38
|
+
:'branch_code' => :'branch_code',
|
|
39
|
+
:'birth_date' => :'birth_date'
|
|
36
40
|
}
|
|
37
41
|
end
|
|
38
42
|
|
|
@@ -43,7 +47,8 @@ class PayoutMethodDetailsCADBank
|
|
|
43
47
|
:'last_name' => :'String',
|
|
44
48
|
:'bank_account' => :'String',
|
|
45
49
|
:'bank_code' => :'String',
|
|
46
|
-
:'branch_code' => :'String'
|
|
50
|
+
:'branch_code' => :'String',
|
|
51
|
+
:'birth_date' => :'Date'
|
|
47
52
|
}
|
|
48
53
|
end
|
|
49
54
|
|
|
@@ -81,6 +86,10 @@ class PayoutMethodDetailsCADBank
|
|
|
81
86
|
if attributes.key?(:'branch_code')
|
|
82
87
|
self.branch_code = attributes[:'branch_code']
|
|
83
88
|
end
|
|
89
|
+
|
|
90
|
+
if attributes.key?(:'birth_date')
|
|
91
|
+
self.birth_date = attributes[:'birth_date']
|
|
92
|
+
end
|
|
84
93
|
end
|
|
85
94
|
|
|
86
95
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -130,7 +139,8 @@ class PayoutMethodDetailsCADBank
|
|
|
130
139
|
last_name == o.last_name &&
|
|
131
140
|
bank_account == o.bank_account &&
|
|
132
141
|
bank_code == o.bank_code &&
|
|
133
|
-
branch_code == o.branch_code
|
|
142
|
+
branch_code == o.branch_code &&
|
|
143
|
+
birth_date == o.birth_date
|
|
134
144
|
end
|
|
135
145
|
|
|
136
146
|
# @see the `==` method
|
|
@@ -142,7 +152,7 @@ class PayoutMethodDetailsCADBank
|
|
|
142
152
|
# Calculates hash code according to all attributes.
|
|
143
153
|
# @return [Integer] Hash code
|
|
144
154
|
def hash
|
|
145
|
-
[first_name, last_name, bank_account, bank_code, branch_code].hash
|
|
155
|
+
[first_name, last_name, bank_account, bank_code, branch_code, birth_date].hash
|
|
146
156
|
end
|
|
147
157
|
|
|
148
158
|
require 'active_support/core_ext/hash'
|
|
@@ -31,6 +31,9 @@ class PayoutMethodDetailsEGPBank
|
|
|
31
31
|
|
|
32
32
|
attr_accessor :transfer_reason
|
|
33
33
|
|
|
34
|
+
# Date of birth of recipient
|
|
35
|
+
attr_accessor :birth_date
|
|
36
|
+
|
|
34
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
35
38
|
def self.attribute_map
|
|
36
39
|
{
|
|
@@ -41,7 +44,8 @@ class PayoutMethodDetailsEGPBank
|
|
|
41
44
|
:'phone_number' => :'phone_number',
|
|
42
45
|
:'bank_account' => :'bank_account',
|
|
43
46
|
:'bank_code' => :'bank_code',
|
|
44
|
-
:'transfer_reason' => :'transfer_reason'
|
|
47
|
+
:'transfer_reason' => :'transfer_reason',
|
|
48
|
+
:'birth_date' => :'birth_date'
|
|
45
49
|
}
|
|
46
50
|
end
|
|
47
51
|
|
|
@@ -55,7 +59,8 @@ class PayoutMethodDetailsEGPBank
|
|
|
55
59
|
:'phone_number' => :'String',
|
|
56
60
|
:'bank_account' => :'String',
|
|
57
61
|
:'bank_code' => :'String',
|
|
58
|
-
:'transfer_reason' => :'PayoutMethodTransferReasonEnum'
|
|
62
|
+
:'transfer_reason' => :'PayoutMethodTransferReasonEnum',
|
|
63
|
+
:'birth_date' => :'Date'
|
|
59
64
|
}
|
|
60
65
|
end
|
|
61
66
|
|
|
@@ -105,6 +110,10 @@ class PayoutMethodDetailsEGPBank
|
|
|
105
110
|
if attributes.key?(:'transfer_reason')
|
|
106
111
|
self.transfer_reason = attributes[:'transfer_reason']
|
|
107
112
|
end
|
|
113
|
+
|
|
114
|
+
if attributes.key?(:'birth_date')
|
|
115
|
+
self.birth_date = attributes[:'birth_date']
|
|
116
|
+
end
|
|
108
117
|
end
|
|
109
118
|
|
|
110
119
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -123,10 +132,6 @@ class PayoutMethodDetailsEGPBank
|
|
|
123
132
|
invalid_properties.push('invalid value for "street", street cannot be nil.')
|
|
124
133
|
end
|
|
125
134
|
|
|
126
|
-
if @phone_number.nil?
|
|
127
|
-
invalid_properties.push('invalid value for "phone_number", phone_number cannot be nil.')
|
|
128
|
-
end
|
|
129
|
-
|
|
130
135
|
if @bank_account.nil?
|
|
131
136
|
invalid_properties.push('invalid value for "bank_account", bank_account cannot be nil.')
|
|
132
137
|
end
|
|
@@ -148,7 +153,6 @@ class PayoutMethodDetailsEGPBank
|
|
|
148
153
|
return false if @first_name.nil?
|
|
149
154
|
return false if @last_name.nil?
|
|
150
155
|
return false if @street.nil?
|
|
151
|
-
return false if @phone_number.nil?
|
|
152
156
|
return false if @bank_account.nil?
|
|
153
157
|
return false if @bank_code.nil?
|
|
154
158
|
return false if @transfer_reason.nil?
|
|
@@ -167,7 +171,8 @@ class PayoutMethodDetailsEGPBank
|
|
|
167
171
|
phone_number == o.phone_number &&
|
|
168
172
|
bank_account == o.bank_account &&
|
|
169
173
|
bank_code == o.bank_code &&
|
|
170
|
-
transfer_reason == o.transfer_reason
|
|
174
|
+
transfer_reason == o.transfer_reason &&
|
|
175
|
+
birth_date == o.birth_date
|
|
171
176
|
end
|
|
172
177
|
|
|
173
178
|
# @see the `==` method
|
|
@@ -179,7 +184,7 @@ class PayoutMethodDetailsEGPBank
|
|
|
179
184
|
# Calculates hash code according to all attributes.
|
|
180
185
|
# @return [Integer] Hash code
|
|
181
186
|
def hash
|
|
182
|
-
[first_name, middle_name, last_name, street, phone_number, bank_account, bank_code, transfer_reason].hash
|
|
187
|
+
[first_name, middle_name, last_name, street, phone_number, bank_account, bank_code, transfer_reason, birth_date].hash
|
|
183
188
|
end
|
|
184
189
|
|
|
185
190
|
require 'active_support/core_ext/hash'
|
|
@@ -31,6 +31,9 @@ class PayoutMethodDetailsGBPBank
|
|
|
31
31
|
|
|
32
32
|
attr_accessor :narration
|
|
33
33
|
|
|
34
|
+
# Date of birth of recipient
|
|
35
|
+
attr_accessor :birth_date
|
|
36
|
+
|
|
34
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
35
38
|
def self.attribute_map
|
|
36
39
|
{
|
|
@@ -41,7 +44,8 @@ class PayoutMethodDetailsGBPBank
|
|
|
41
44
|
:'sort_code' => :'sort_code',
|
|
42
45
|
:'bic' => :'bic',
|
|
43
46
|
:'bank_name' => :'bank_name',
|
|
44
|
-
:'narration' => :'narration'
|
|
47
|
+
:'narration' => :'narration',
|
|
48
|
+
:'birth_date' => :'birth_date'
|
|
45
49
|
}
|
|
46
50
|
end
|
|
47
51
|
|
|
@@ -55,7 +59,8 @@ class PayoutMethodDetailsGBPBank
|
|
|
55
59
|
:'sort_code' => :'String',
|
|
56
60
|
:'bic' => :'String',
|
|
57
61
|
:'bank_name' => :'String',
|
|
58
|
-
:'narration' => :'String'
|
|
62
|
+
:'narration' => :'String',
|
|
63
|
+
:'birth_date' => :'Date'
|
|
59
64
|
}
|
|
60
65
|
end
|
|
61
66
|
|
|
@@ -105,6 +110,10 @@ class PayoutMethodDetailsGBPBank
|
|
|
105
110
|
if attributes.key?(:'narration')
|
|
106
111
|
self.narration = attributes[:'narration']
|
|
107
112
|
end
|
|
113
|
+
|
|
114
|
+
if attributes.key?(:'birth_date')
|
|
115
|
+
self.birth_date = attributes[:'birth_date']
|
|
116
|
+
end
|
|
108
117
|
end
|
|
109
118
|
|
|
110
119
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -142,7 +151,8 @@ class PayoutMethodDetailsGBPBank
|
|
|
142
151
|
sort_code == o.sort_code &&
|
|
143
152
|
bic == o.bic &&
|
|
144
153
|
bank_name == o.bank_name &&
|
|
145
|
-
narration == o.narration
|
|
154
|
+
narration == o.narration &&
|
|
155
|
+
birth_date == o.birth_date
|
|
146
156
|
end
|
|
147
157
|
|
|
148
158
|
# @see the `==` method
|
|
@@ -154,7 +164,7 @@ class PayoutMethodDetailsGBPBank
|
|
|
154
164
|
# Calculates hash code according to all attributes.
|
|
155
165
|
# @return [Integer] Hash code
|
|
156
166
|
def hash
|
|
157
|
-
[first_name, last_name, iban, bank_account, sort_code, bic, bank_name, narration].hash
|
|
167
|
+
[first_name, last_name, iban, bank_account, sort_code, bic, bank_name, narration, birth_date].hash
|
|
158
168
|
end
|
|
159
169
|
|
|
160
170
|
require 'active_support/core_ext/hash'
|
|
@@ -23,13 +23,17 @@ class PayoutMethodDetailsGHSBank
|
|
|
23
23
|
|
|
24
24
|
attr_accessor :bank_account
|
|
25
25
|
|
|
26
|
+
# Date of birth of recipient
|
|
27
|
+
attr_accessor :birth_date
|
|
28
|
+
|
|
26
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
27
30
|
def self.attribute_map
|
|
28
31
|
{
|
|
29
32
|
:'first_name' => :'first_name',
|
|
30
33
|
:'last_name' => :'last_name',
|
|
31
34
|
:'bank_code' => :'bank_code',
|
|
32
|
-
:'bank_account' => :'bank_account'
|
|
35
|
+
:'bank_account' => :'bank_account',
|
|
36
|
+
:'birth_date' => :'birth_date'
|
|
33
37
|
}
|
|
34
38
|
end
|
|
35
39
|
|
|
@@ -39,7 +43,8 @@ class PayoutMethodDetailsGHSBank
|
|
|
39
43
|
:'first_name' => :'String',
|
|
40
44
|
:'last_name' => :'String',
|
|
41
45
|
:'bank_code' => :'String',
|
|
42
|
-
:'bank_account' => :'String'
|
|
46
|
+
:'bank_account' => :'String',
|
|
47
|
+
:'birth_date' => :'Date'
|
|
43
48
|
}
|
|
44
49
|
end
|
|
45
50
|
|
|
@@ -73,6 +78,10 @@ class PayoutMethodDetailsGHSBank
|
|
|
73
78
|
if attributes.key?(:'bank_account')
|
|
74
79
|
self.bank_account = attributes[:'bank_account']
|
|
75
80
|
end
|
|
81
|
+
|
|
82
|
+
if attributes.key?(:'birth_date')
|
|
83
|
+
self.birth_date = attributes[:'birth_date']
|
|
84
|
+
end
|
|
76
85
|
end
|
|
77
86
|
|
|
78
87
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -116,7 +125,8 @@ class PayoutMethodDetailsGHSBank
|
|
|
116
125
|
first_name == o.first_name &&
|
|
117
126
|
last_name == o.last_name &&
|
|
118
127
|
bank_code == o.bank_code &&
|
|
119
|
-
bank_account == o.bank_account
|
|
128
|
+
bank_account == o.bank_account &&
|
|
129
|
+
birth_date == o.birth_date
|
|
120
130
|
end
|
|
121
131
|
|
|
122
132
|
# @see the `==` method
|
|
@@ -128,7 +138,7 @@ class PayoutMethodDetailsGHSBank
|
|
|
128
138
|
# Calculates hash code according to all attributes.
|
|
129
139
|
# @return [Integer] Hash code
|
|
130
140
|
def hash
|
|
131
|
-
[first_name, last_name, bank_code, bank_account].hash
|
|
141
|
+
[first_name, last_name, bank_code, bank_account, birth_date].hash
|
|
132
142
|
end
|
|
133
143
|
|
|
134
144
|
require 'active_support/core_ext/hash'
|
|
@@ -21,12 +21,16 @@ class PayoutMethodDetailsGHSCash
|
|
|
21
21
|
|
|
22
22
|
attr_accessor :phone_number
|
|
23
23
|
|
|
24
|
+
# Date of birth of recipient
|
|
25
|
+
attr_accessor :birth_date
|
|
26
|
+
|
|
24
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
25
28
|
def self.attribute_map
|
|
26
29
|
{
|
|
27
30
|
:'first_name' => :'first_name',
|
|
28
31
|
:'last_name' => :'last_name',
|
|
29
|
-
:'phone_number' => :'phone_number'
|
|
32
|
+
:'phone_number' => :'phone_number',
|
|
33
|
+
:'birth_date' => :'birth_date'
|
|
30
34
|
}
|
|
31
35
|
end
|
|
32
36
|
|
|
@@ -35,7 +39,8 @@ class PayoutMethodDetailsGHSCash
|
|
|
35
39
|
{
|
|
36
40
|
:'first_name' => :'String',
|
|
37
41
|
:'last_name' => :'String',
|
|
38
|
-
:'phone_number' => :'String'
|
|
42
|
+
:'phone_number' => :'String',
|
|
43
|
+
:'birth_date' => :'Date'
|
|
39
44
|
}
|
|
40
45
|
end
|
|
41
46
|
|
|
@@ -65,6 +70,10 @@ class PayoutMethodDetailsGHSCash
|
|
|
65
70
|
if attributes.key?(:'phone_number')
|
|
66
71
|
self.phone_number = attributes[:'phone_number']
|
|
67
72
|
end
|
|
73
|
+
|
|
74
|
+
if attributes.key?(:'birth_date')
|
|
75
|
+
self.birth_date = attributes[:'birth_date']
|
|
76
|
+
end
|
|
68
77
|
end
|
|
69
78
|
|
|
70
79
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -102,7 +111,8 @@ class PayoutMethodDetailsGHSCash
|
|
|
102
111
|
self.class == o.class &&
|
|
103
112
|
first_name == o.first_name &&
|
|
104
113
|
last_name == o.last_name &&
|
|
105
|
-
phone_number == o.phone_number
|
|
114
|
+
phone_number == o.phone_number &&
|
|
115
|
+
birth_date == o.birth_date
|
|
106
116
|
end
|
|
107
117
|
|
|
108
118
|
# @see the `==` method
|
|
@@ -114,7 +124,7 @@ class PayoutMethodDetailsGHSCash
|
|
|
114
124
|
# Calculates hash code according to all attributes.
|
|
115
125
|
# @return [Integer] Hash code
|
|
116
126
|
def hash
|
|
117
|
-
[first_name, last_name, phone_number].hash
|
|
127
|
+
[first_name, last_name, phone_number, birth_date].hash
|
|
118
128
|
end
|
|
119
129
|
|
|
120
130
|
require 'active_support/core_ext/hash'
|
|
@@ -23,13 +23,17 @@ class PayoutMethodDetailsGNFMobile
|
|
|
23
23
|
|
|
24
24
|
attr_accessor :mobile_provider
|
|
25
25
|
|
|
26
|
+
# Date of birth of recipient
|
|
27
|
+
attr_accessor :birth_date
|
|
28
|
+
|
|
26
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
27
30
|
def self.attribute_map
|
|
28
31
|
{
|
|
29
32
|
:'first_name' => :'first_name',
|
|
30
33
|
:'last_name' => :'last_name',
|
|
31
34
|
:'phone_number' => :'phone_number',
|
|
32
|
-
:'mobile_provider' => :'mobile_provider'
|
|
35
|
+
:'mobile_provider' => :'mobile_provider',
|
|
36
|
+
:'birth_date' => :'birth_date'
|
|
33
37
|
}
|
|
34
38
|
end
|
|
35
39
|
|
|
@@ -39,7 +43,8 @@ class PayoutMethodDetailsGNFMobile
|
|
|
39
43
|
:'first_name' => :'String',
|
|
40
44
|
:'last_name' => :'String',
|
|
41
45
|
:'phone_number' => :'String',
|
|
42
|
-
:'mobile_provider' => :'PayoutMethodMobileProviderEnum'
|
|
46
|
+
:'mobile_provider' => :'PayoutMethodMobileProviderEnum',
|
|
47
|
+
:'birth_date' => :'Date'
|
|
43
48
|
}
|
|
44
49
|
end
|
|
45
50
|
|
|
@@ -73,6 +78,10 @@ class PayoutMethodDetailsGNFMobile
|
|
|
73
78
|
if attributes.key?(:'mobile_provider')
|
|
74
79
|
self.mobile_provider = attributes[:'mobile_provider']
|
|
75
80
|
end
|
|
81
|
+
|
|
82
|
+
if attributes.key?(:'birth_date')
|
|
83
|
+
self.birth_date = attributes[:'birth_date']
|
|
84
|
+
end
|
|
76
85
|
end
|
|
77
86
|
|
|
78
87
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -116,7 +125,8 @@ class PayoutMethodDetailsGNFMobile
|
|
|
116
125
|
first_name == o.first_name &&
|
|
117
126
|
last_name == o.last_name &&
|
|
118
127
|
phone_number == o.phone_number &&
|
|
119
|
-
mobile_provider == o.mobile_provider
|
|
128
|
+
mobile_provider == o.mobile_provider &&
|
|
129
|
+
birth_date == o.birth_date
|
|
120
130
|
end
|
|
121
131
|
|
|
122
132
|
# @see the `==` method
|
|
@@ -128,7 +138,7 @@ class PayoutMethodDetailsGNFMobile
|
|
|
128
138
|
# Calculates hash code according to all attributes.
|
|
129
139
|
# @return [Integer] Hash code
|
|
130
140
|
def hash
|
|
131
|
-
[first_name, last_name, phone_number, mobile_provider].hash
|
|
141
|
+
[first_name, last_name, phone_number, mobile_provider, birth_date].hash
|
|
132
142
|
end
|
|
133
143
|
|
|
134
144
|
require 'active_support/core_ext/hash'
|