transferzero-sdk 1.34.2 → 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 +6 -5
- data/README.md +4 -4
- 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 +3 -1
- 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/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 -4
- 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 +2 -2
@@ -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?
|
@@ -162,7 +171,8 @@ class PayoutMethodDetailsEGPBank
|
|
162
171
|
phone_number == o.phone_number &&
|
163
172
|
bank_account == o.bank_account &&
|
164
173
|
bank_code == o.bank_code &&
|
165
|
-
transfer_reason == o.transfer_reason
|
174
|
+
transfer_reason == o.transfer_reason &&
|
175
|
+
birth_date == o.birth_date
|
166
176
|
end
|
167
177
|
|
168
178
|
# @see the `==` method
|
@@ -174,7 +184,7 @@ class PayoutMethodDetailsEGPBank
|
|
174
184
|
# Calculates hash code according to all attributes.
|
175
185
|
# @return [Integer] Hash code
|
176
186
|
def hash
|
177
|
-
[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
|
178
188
|
end
|
179
189
|
|
180
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'
|
@@ -27,6 +27,9 @@ class PayoutMethodDetailsIBAN
|
|
27
27
|
|
28
28
|
attr_accessor :narration
|
29
29
|
|
30
|
+
# Date of birth of recipient
|
31
|
+
attr_accessor :birth_date
|
32
|
+
|
30
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
31
34
|
def self.attribute_map
|
32
35
|
{
|
@@ -35,7 +38,8 @@ class PayoutMethodDetailsIBAN
|
|
35
38
|
:'iban' => :'iban',
|
36
39
|
:'bic' => :'bic',
|
37
40
|
:'bank_name' => :'bank_name',
|
38
|
-
:'narration' => :'narration'
|
41
|
+
:'narration' => :'narration',
|
42
|
+
:'birth_date' => :'birth_date'
|
39
43
|
}
|
40
44
|
end
|
41
45
|
|
@@ -47,7 +51,8 @@ class PayoutMethodDetailsIBAN
|
|
47
51
|
:'iban' => :'String',
|
48
52
|
:'bic' => :'String',
|
49
53
|
:'bank_name' => :'String',
|
50
|
-
:'narration' => :'String'
|
54
|
+
:'narration' => :'String',
|
55
|
+
:'birth_date' => :'Date'
|
51
56
|
}
|
52
57
|
end
|
53
58
|
|
@@ -89,6 +94,10 @@ class PayoutMethodDetailsIBAN
|
|
89
94
|
if attributes.key?(:'narration')
|
90
95
|
self.narration = attributes[:'narration']
|
91
96
|
end
|
97
|
+
|
98
|
+
if attributes.key?(:'birth_date')
|
99
|
+
self.birth_date = attributes[:'birth_date']
|
100
|
+
end
|
92
101
|
end
|
93
102
|
|
94
103
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -129,7 +138,8 @@ class PayoutMethodDetailsIBAN
|
|
129
138
|
iban == o.iban &&
|
130
139
|
bic == o.bic &&
|
131
140
|
bank_name == o.bank_name &&
|
132
|
-
narration == o.narration
|
141
|
+
narration == o.narration &&
|
142
|
+
birth_date == o.birth_date
|
133
143
|
end
|
134
144
|
|
135
145
|
# @see the `==` method
|
@@ -141,7 +151,7 @@ class PayoutMethodDetailsIBAN
|
|
141
151
|
# Calculates hash code according to all attributes.
|
142
152
|
# @return [Integer] Hash code
|
143
153
|
def hash
|
144
|
-
[first_name, last_name, iban, bic, bank_name, narration].hash
|
154
|
+
[first_name, last_name, iban, bic, bank_name, narration, birth_date].hash
|
145
155
|
end
|
146
156
|
|
147
157
|
require 'active_support/core_ext/hash'
|