transferzero-sdk 1.34.2 → 1.34.3
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -33,6 +33,9 @@ class PayoutMethodDetailsINRBank
|
|
33
33
|
|
34
34
|
attr_accessor :ifsc_code
|
35
35
|
|
36
|
+
# Date of birth of recipient
|
37
|
+
attr_accessor :birth_date
|
38
|
+
|
36
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
37
40
|
def self.attribute_map
|
38
41
|
{
|
@@ -44,7 +47,8 @@ class PayoutMethodDetailsINRBank
|
|
44
47
|
:'phone_number' => :'phone_number',
|
45
48
|
:'bank_name' => :'bank_name',
|
46
49
|
:'bank_account' => :'bank_account',
|
47
|
-
:'ifsc_code' => :'ifsc_code'
|
50
|
+
:'ifsc_code' => :'ifsc_code',
|
51
|
+
:'birth_date' => :'birth_date'
|
48
52
|
}
|
49
53
|
end
|
50
54
|
|
@@ -59,7 +63,8 @@ class PayoutMethodDetailsINRBank
|
|
59
63
|
:'phone_number' => :'String',
|
60
64
|
:'bank_name' => :'String',
|
61
65
|
:'bank_account' => :'String',
|
62
|
-
:'ifsc_code' => :'String'
|
66
|
+
:'ifsc_code' => :'String',
|
67
|
+
:'birth_date' => :'Date'
|
63
68
|
}
|
64
69
|
end
|
65
70
|
|
@@ -113,6 +118,10 @@ class PayoutMethodDetailsINRBank
|
|
113
118
|
if attributes.key?(:'ifsc_code')
|
114
119
|
self.ifsc_code = attributes[:'ifsc_code']
|
115
120
|
end
|
121
|
+
|
122
|
+
if attributes.key?(:'birth_date')
|
123
|
+
self.birth_date = attributes[:'birth_date']
|
124
|
+
end
|
116
125
|
end
|
117
126
|
|
118
127
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -186,7 +195,8 @@ class PayoutMethodDetailsINRBank
|
|
186
195
|
phone_number == o.phone_number &&
|
187
196
|
bank_name == o.bank_name &&
|
188
197
|
bank_account == o.bank_account &&
|
189
|
-
ifsc_code == o.ifsc_code
|
198
|
+
ifsc_code == o.ifsc_code &&
|
199
|
+
birth_date == o.birth_date
|
190
200
|
end
|
191
201
|
|
192
202
|
# @see the `==` method
|
@@ -198,7 +208,7 @@ class PayoutMethodDetailsINRBank
|
|
198
208
|
# Calculates hash code according to all attributes.
|
199
209
|
# @return [Integer] Hash code
|
200
210
|
def hash
|
201
|
-
[first_name, last_name, city, street, postal_code, phone_number, bank_name, bank_account, ifsc_code].hash
|
211
|
+
[first_name, last_name, city, street, postal_code, phone_number, bank_name, bank_account, ifsc_code, birth_date].hash
|
202
212
|
end
|
203
213
|
|
204
214
|
require 'active_support/core_ext/hash'
|
@@ -35,6 +35,9 @@ class PayoutMethodDetailsKESBank
|
|
35
35
|
|
36
36
|
attr_accessor :relationship_to_sender
|
37
37
|
|
38
|
+
# Date of birth of recipient
|
39
|
+
attr_accessor :birth_date
|
40
|
+
|
38
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
39
42
|
def self.attribute_map
|
40
43
|
{
|
@@ -47,7 +50,8 @@ class PayoutMethodDetailsKESBank
|
|
47
50
|
:'transfer_reason' => :'transfer_reason',
|
48
51
|
:'identity_card_type' => :'identity_card_type',
|
49
52
|
:'identity_card_id' => :'identity_card_id',
|
50
|
-
:'relationship_to_sender' => :'relationship_to_sender'
|
53
|
+
:'relationship_to_sender' => :'relationship_to_sender',
|
54
|
+
:'birth_date' => :'birth_date'
|
51
55
|
}
|
52
56
|
end
|
53
57
|
|
@@ -63,7 +67,8 @@ class PayoutMethodDetailsKESBank
|
|
63
67
|
:'transfer_reason' => :'PayoutMethodTransferReasonEnum',
|
64
68
|
:'identity_card_type' => :'PayoutMethodIdentityCardTypeEnum',
|
65
69
|
:'identity_card_id' => :'String',
|
66
|
-
:'relationship_to_sender' => :'String'
|
70
|
+
:'relationship_to_sender' => :'String',
|
71
|
+
:'birth_date' => :'Date'
|
67
72
|
}
|
68
73
|
end
|
69
74
|
|
@@ -121,6 +126,10 @@ class PayoutMethodDetailsKESBank
|
|
121
126
|
if attributes.key?(:'relationship_to_sender')
|
122
127
|
self.relationship_to_sender = attributes[:'relationship_to_sender']
|
123
128
|
end
|
129
|
+
|
130
|
+
if attributes.key?(:'birth_date')
|
131
|
+
self.birth_date = attributes[:'birth_date']
|
132
|
+
end
|
124
133
|
end
|
125
134
|
|
126
135
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -190,7 +199,8 @@ class PayoutMethodDetailsKESBank
|
|
190
199
|
transfer_reason == o.transfer_reason &&
|
191
200
|
identity_card_type == o.identity_card_type &&
|
192
201
|
identity_card_id == o.identity_card_id &&
|
193
|
-
relationship_to_sender == o.relationship_to_sender
|
202
|
+
relationship_to_sender == o.relationship_to_sender &&
|
203
|
+
birth_date == o.birth_date
|
194
204
|
end
|
195
205
|
|
196
206
|
# @see the `==` method
|
@@ -202,7 +212,7 @@ class PayoutMethodDetailsKESBank
|
|
202
212
|
# Calculates hash code according to all attributes.
|
203
213
|
# @return [Integer] Hash code
|
204
214
|
def hash
|
205
|
-
[first_name, last_name, street, city, bank_code, bank_account, transfer_reason, identity_card_type, identity_card_id, relationship_to_sender].hash
|
215
|
+
[first_name, last_name, street, city, bank_code, bank_account, transfer_reason, identity_card_type, identity_card_id, relationship_to_sender, birth_date].hash
|
206
216
|
end
|
207
217
|
|
208
218
|
require 'active_support/core_ext/hash'
|
@@ -37,6 +37,9 @@ class PayoutMethodDetailsKESMobile
|
|
37
37
|
|
38
38
|
attr_accessor :relationship_to_sender
|
39
39
|
|
40
|
+
# Date of birth of recipient
|
41
|
+
attr_accessor :birth_date
|
42
|
+
|
40
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
41
44
|
def self.attribute_map
|
42
45
|
{
|
@@ -50,7 +53,8 @@ class PayoutMethodDetailsKESMobile
|
|
50
53
|
:'transfer_reason' => :'transfer_reason',
|
51
54
|
:'identity_card_type' => :'identity_card_type',
|
52
55
|
:'identity_card_id' => :'identity_card_id',
|
53
|
-
:'relationship_to_sender' => :'relationship_to_sender'
|
56
|
+
:'relationship_to_sender' => :'relationship_to_sender',
|
57
|
+
:'birth_date' => :'birth_date'
|
54
58
|
}
|
55
59
|
end
|
56
60
|
|
@@ -67,7 +71,8 @@ class PayoutMethodDetailsKESMobile
|
|
67
71
|
:'transfer_reason' => :'PayoutMethodTransferReasonEnum',
|
68
72
|
:'identity_card_type' => :'PayoutMethodIdentityCardTypeEnum',
|
69
73
|
:'identity_card_id' => :'String',
|
70
|
-
:'relationship_to_sender' => :'String'
|
74
|
+
:'relationship_to_sender' => :'String',
|
75
|
+
:'birth_date' => :'Date'
|
71
76
|
}
|
72
77
|
end
|
73
78
|
|
@@ -129,6 +134,10 @@ class PayoutMethodDetailsKESMobile
|
|
129
134
|
if attributes.key?(:'relationship_to_sender')
|
130
135
|
self.relationship_to_sender = attributes[:'relationship_to_sender']
|
131
136
|
end
|
137
|
+
|
138
|
+
if attributes.key?(:'birth_date')
|
139
|
+
self.birth_date = attributes[:'birth_date']
|
140
|
+
end
|
132
141
|
end
|
133
142
|
|
134
143
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -199,7 +208,8 @@ class PayoutMethodDetailsKESMobile
|
|
199
208
|
transfer_reason == o.transfer_reason &&
|
200
209
|
identity_card_type == o.identity_card_type &&
|
201
210
|
identity_card_id == o.identity_card_id &&
|
202
|
-
relationship_to_sender == o.relationship_to_sender
|
211
|
+
relationship_to_sender == o.relationship_to_sender &&
|
212
|
+
birth_date == o.birth_date
|
203
213
|
end
|
204
214
|
|
205
215
|
# @see the `==` method
|
@@ -211,7 +221,7 @@ class PayoutMethodDetailsKESMobile
|
|
211
221
|
# Calculates hash code according to all attributes.
|
212
222
|
# @return [Integer] Hash code
|
213
223
|
def hash
|
214
|
-
[first_name, last_name, street, city, phone_number, mobile_provider, transfer_reason_code, transfer_reason, identity_card_type, identity_card_id, relationship_to_sender].hash
|
224
|
+
[first_name, last_name, street, city, phone_number, mobile_provider, transfer_reason_code, transfer_reason, identity_card_type, identity_card_id, relationship_to_sender, birth_date].hash
|
215
225
|
end
|
216
226
|
|
217
227
|
require 'active_support/core_ext/hash'
|
@@ -37,6 +37,9 @@ class PayoutMethodDetailsMADCash
|
|
37
37
|
|
38
38
|
attr_accessor :identity_card_id
|
39
39
|
|
40
|
+
# Date of birth of recipient
|
41
|
+
attr_accessor :birth_date
|
42
|
+
|
40
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
41
44
|
def self.attribute_map
|
42
45
|
{
|
@@ -50,7 +53,8 @@ class PayoutMethodDetailsMADCash
|
|
50
53
|
:'sender_gender' => :'sender_gender',
|
51
54
|
:'reason' => :'reason',
|
52
55
|
:'identity_card_type' => :'identity_card_type',
|
53
|
-
:'identity_card_id' => :'identity_card_id'
|
56
|
+
:'identity_card_id' => :'identity_card_id',
|
57
|
+
:'birth_date' => :'birth_date'
|
54
58
|
}
|
55
59
|
end
|
56
60
|
|
@@ -67,7 +71,8 @@ class PayoutMethodDetailsMADCash
|
|
67
71
|
:'sender_gender' => :'PayoutMethodGenderEnum',
|
68
72
|
:'reason' => :'String',
|
69
73
|
:'identity_card_type' => :'PayoutMethodIdentityCardTypeEnum',
|
70
|
-
:'identity_card_id' => :'String'
|
74
|
+
:'identity_card_id' => :'String',
|
75
|
+
:'birth_date' => :'Date'
|
71
76
|
}
|
72
77
|
end
|
73
78
|
|
@@ -129,6 +134,10 @@ class PayoutMethodDetailsMADCash
|
|
129
134
|
if attributes.key?(:'identity_card_id')
|
130
135
|
self.identity_card_id = attributes[:'identity_card_id']
|
131
136
|
end
|
137
|
+
|
138
|
+
if attributes.key?(:'birth_date')
|
139
|
+
self.birth_date = attributes[:'birth_date']
|
140
|
+
end
|
132
141
|
end
|
133
142
|
|
134
143
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -184,7 +193,8 @@ class PayoutMethodDetailsMADCash
|
|
184
193
|
sender_gender == o.sender_gender &&
|
185
194
|
reason == o.reason &&
|
186
195
|
identity_card_type == o.identity_card_type &&
|
187
|
-
identity_card_id == o.identity_card_id
|
196
|
+
identity_card_id == o.identity_card_id &&
|
197
|
+
birth_date == o.birth_date
|
188
198
|
end
|
189
199
|
|
190
200
|
# @see the `==` method
|
@@ -196,7 +206,7 @@ class PayoutMethodDetailsMADCash
|
|
196
206
|
# Calculates hash code according to all attributes.
|
197
207
|
# @return [Integer] Hash code
|
198
208
|
def hash
|
199
|
-
[first_name, last_name, phone_number, 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].hash
|
209
|
+
[first_name, last_name, phone_number, 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, birth_date].hash
|
200
210
|
end
|
201
211
|
|
202
212
|
require 'active_support/core_ext/hash'
|
@@ -23,13 +23,17 @@ class PayoutMethodDetailsMobile
|
|
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 PayoutMethodDetailsMobile
|
|
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 PayoutMethodDetailsMobile
|
|
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?
|
@@ -111,7 +120,8 @@ class PayoutMethodDetailsMobile
|
|
111
120
|
first_name == o.first_name &&
|
112
121
|
last_name == o.last_name &&
|
113
122
|
phone_number == o.phone_number &&
|
114
|
-
mobile_provider == o.mobile_provider
|
123
|
+
mobile_provider == o.mobile_provider &&
|
124
|
+
birth_date == o.birth_date
|
115
125
|
end
|
116
126
|
|
117
127
|
# @see the `==` method
|
@@ -123,7 +133,7 @@ class PayoutMethodDetailsMobile
|
|
123
133
|
# Calculates hash code according to all attributes.
|
124
134
|
# @return [Integer] Hash code
|
125
135
|
def hash
|
126
|
-
[first_name, last_name, phone_number, mobile_provider].hash
|
136
|
+
[first_name, last_name, phone_number, mobile_provider, birth_date].hash
|
127
137
|
end
|
128
138
|
|
129
139
|
require 'active_support/core_ext/hash'
|
@@ -25,6 +25,9 @@ class PayoutMethodDetailsNGNBank
|
|
25
25
|
|
26
26
|
attr_accessor :bank_account_type
|
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 PayoutMethodDetailsNGNBank
|
|
32
35
|
:'last_name' => :'last_name',
|
33
36
|
:'bank_code' => :'bank_code',
|
34
37
|
:'bank_account' => :'bank_account',
|
35
|
-
:'bank_account_type' => :'bank_account_type'
|
38
|
+
:'bank_account_type' => :'bank_account_type',
|
39
|
+
:'birth_date' => :'birth_date'
|
36
40
|
}
|
37
41
|
end
|
38
42
|
|
@@ -43,7 +47,8 @@ class PayoutMethodDetailsNGNBank
|
|
43
47
|
:'last_name' => :'String',
|
44
48
|
:'bank_code' => :'String',
|
45
49
|
:'bank_account' => :'String',
|
46
|
-
:'bank_account_type' => :'PayoutMethodBankAccountTypeEnum'
|
50
|
+
:'bank_account_type' => :'PayoutMethodBankAccountTypeEnum',
|
51
|
+
:'birth_date' => :'Date'
|
47
52
|
}
|
48
53
|
end
|
49
54
|
|
@@ -81,6 +86,10 @@ class PayoutMethodDetailsNGNBank
|
|
81
86
|
if attributes.key?(:'bank_account_type')
|
82
87
|
self.bank_account_type = attributes[:'bank_account_type']
|
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?
|
@@ -125,7 +134,8 @@ class PayoutMethodDetailsNGNBank
|
|
125
134
|
last_name == o.last_name &&
|
126
135
|
bank_code == o.bank_code &&
|
127
136
|
bank_account == o.bank_account &&
|
128
|
-
bank_account_type == o.bank_account_type
|
137
|
+
bank_account_type == o.bank_account_type &&
|
138
|
+
birth_date == o.birth_date
|
129
139
|
end
|
130
140
|
|
131
141
|
# @see the `==` method
|
@@ -137,7 +147,7 @@ class PayoutMethodDetailsNGNBank
|
|
137
147
|
# Calculates hash code according to all attributes.
|
138
148
|
# @return [Integer] Hash code
|
139
149
|
def hash
|
140
|
-
[first_name, last_name, bank_code, bank_account, bank_account_type].hash
|
150
|
+
[first_name, last_name, bank_code, bank_account, bank_account_type, birth_date].hash
|
141
151
|
end
|
142
152
|
|
143
153
|
require 'active_support/core_ext/hash'
|
@@ -23,13 +23,17 @@ class PayoutMethodDetailsNZDBank
|
|
23
23
|
|
24
24
|
attr_accessor :bank_name
|
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_account' => :'bank_account',
|
32
|
-
:'bank_name' => :'bank_name'
|
35
|
+
:'bank_name' => :'bank_name',
|
36
|
+
:'birth_date' => :'birth_date'
|
33
37
|
}
|
34
38
|
end
|
35
39
|
|
@@ -39,7 +43,8 @@ class PayoutMethodDetailsNZDBank
|
|
39
43
|
:'first_name' => :'String',
|
40
44
|
:'last_name' => :'String',
|
41
45
|
:'bank_account' => :'String',
|
42
|
-
:'bank_name' => :'String'
|
46
|
+
:'bank_name' => :'String',
|
47
|
+
:'birth_date' => :'Date'
|
43
48
|
}
|
44
49
|
end
|
45
50
|
|
@@ -73,6 +78,10 @@ class PayoutMethodDetailsNZDBank
|
|
73
78
|
if attributes.key?(:'bank_name')
|
74
79
|
self.bank_name = attributes[:'bank_name']
|
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 PayoutMethodDetailsNZDBank
|
|
116
125
|
first_name == o.first_name &&
|
117
126
|
last_name == o.last_name &&
|
118
127
|
bank_account == o.bank_account &&
|
119
|
-
bank_name == o.bank_name
|
128
|
+
bank_name == o.bank_name &&
|
129
|
+
birth_date == o.birth_date
|
120
130
|
end
|
121
131
|
|
122
132
|
# @see the `==` method
|
@@ -128,7 +138,7 @@ class PayoutMethodDetailsNZDBank
|
|
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_account, bank_name].hash
|
141
|
+
[first_name, last_name, bank_account, bank_name, birth_date].hash
|
132
142
|
end
|
133
143
|
|
134
144
|
require 'active_support/core_ext/hash'
|
@@ -33,6 +33,9 @@ class PayoutMethodDetailsUGXBank
|
|
33
33
|
|
34
34
|
attr_accessor :transfer_reason
|
35
35
|
|
36
|
+
# Date of birth of recipient
|
37
|
+
attr_accessor :birth_date
|
38
|
+
|
36
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
37
40
|
def self.attribute_map
|
38
41
|
{
|
@@ -44,7 +47,8 @@ class PayoutMethodDetailsUGXBank
|
|
44
47
|
:'identity_card_id' => :'identity_card_id',
|
45
48
|
:'bank_account' => :'bank_account',
|
46
49
|
:'branch_code' => :'branch_code',
|
47
|
-
:'transfer_reason' => :'transfer_reason'
|
50
|
+
:'transfer_reason' => :'transfer_reason',
|
51
|
+
:'birth_date' => :'birth_date'
|
48
52
|
}
|
49
53
|
end
|
50
54
|
|
@@ -59,7 +63,8 @@ class PayoutMethodDetailsUGXBank
|
|
59
63
|
:'identity_card_id' => :'String',
|
60
64
|
:'bank_account' => :'String',
|
61
65
|
:'branch_code' => :'String',
|
62
|
-
:'transfer_reason' => :'PayoutMethodTransferReasonEnum'
|
66
|
+
:'transfer_reason' => :'PayoutMethodTransferReasonEnum',
|
67
|
+
:'birth_date' => :'Date'
|
63
68
|
}
|
64
69
|
end
|
65
70
|
|
@@ -113,6 +118,10 @@ class PayoutMethodDetailsUGXBank
|
|
113
118
|
if attributes.key?(:'transfer_reason')
|
114
119
|
self.transfer_reason = attributes[:'transfer_reason']
|
115
120
|
end
|
121
|
+
|
122
|
+
if attributes.key?(:'birth_date')
|
123
|
+
self.birth_date = attributes[:'birth_date']
|
124
|
+
end
|
116
125
|
end
|
117
126
|
|
118
127
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -186,7 +195,8 @@ class PayoutMethodDetailsUGXBank
|
|
186
195
|
identity_card_id == o.identity_card_id &&
|
187
196
|
bank_account == o.bank_account &&
|
188
197
|
branch_code == o.branch_code &&
|
189
|
-
transfer_reason == o.transfer_reason
|
198
|
+
transfer_reason == o.transfer_reason &&
|
199
|
+
birth_date == o.birth_date
|
190
200
|
end
|
191
201
|
|
192
202
|
# @see the `==` method
|
@@ -198,7 +208,7 @@ class PayoutMethodDetailsUGXBank
|
|
198
208
|
# Calculates hash code according to all attributes.
|
199
209
|
# @return [Integer] Hash code
|
200
210
|
def hash
|
201
|
-
[first_name, last_name, street, city, postal_code, identity_card_id, bank_account, branch_code, transfer_reason].hash
|
211
|
+
[first_name, last_name, street, city, postal_code, identity_card_id, bank_account, branch_code, transfer_reason, birth_date].hash
|
202
212
|
end
|
203
213
|
|
204
214
|
require 'active_support/core_ext/hash'
|
@@ -43,6 +43,9 @@ class PayoutMethodDetailsUSDBank
|
|
43
43
|
|
44
44
|
attr_accessor :country
|
45
45
|
|
46
|
+
# Date of birth of recipient
|
47
|
+
attr_accessor :birth_date
|
48
|
+
|
46
49
|
# Attribute mapping from ruby-style variable name to JSON key.
|
47
50
|
def self.attribute_map
|
48
51
|
{
|
@@ -59,7 +62,8 @@ class PayoutMethodDetailsUSDBank
|
|
59
62
|
:'iban' => :'iban',
|
60
63
|
:'street' => :'street',
|
61
64
|
:'transfer_reason' => :'transfer_reason',
|
62
|
-
:'country' => :'country'
|
65
|
+
:'country' => :'country',
|
66
|
+
:'birth_date' => :'birth_date'
|
63
67
|
}
|
64
68
|
end
|
65
69
|
|
@@ -79,7 +83,8 @@ class PayoutMethodDetailsUSDBank
|
|
79
83
|
:'iban' => :'String',
|
80
84
|
:'street' => :'String',
|
81
85
|
:'transfer_reason' => :'PayoutMethodTransferReasonEnum',
|
82
|
-
:'country' => :'PayoutMethodCountryEnum'
|
86
|
+
:'country' => :'PayoutMethodCountryEnum',
|
87
|
+
:'birth_date' => :'Date'
|
83
88
|
}
|
84
89
|
end
|
85
90
|
|
@@ -153,6 +158,10 @@ class PayoutMethodDetailsUSDBank
|
|
153
158
|
if attributes.key?(:'country')
|
154
159
|
self.country = attributes[:'country']
|
155
160
|
end
|
161
|
+
|
162
|
+
if attributes.key?(:'birth_date')
|
163
|
+
self.birth_date = attributes[:'birth_date']
|
164
|
+
end
|
156
165
|
end
|
157
166
|
|
158
167
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -201,7 +210,8 @@ class PayoutMethodDetailsUSDBank
|
|
201
210
|
iban == o.iban &&
|
202
211
|
street == o.street &&
|
203
212
|
transfer_reason == o.transfer_reason &&
|
204
|
-
country == o.country
|
213
|
+
country == o.country &&
|
214
|
+
birth_date == o.birth_date
|
205
215
|
end
|
206
216
|
|
207
217
|
# @see the `==` method
|
@@ -213,7 +223,7 @@ class PayoutMethodDetailsUSDBank
|
|
213
223
|
# Calculates hash code according to all attributes.
|
214
224
|
# @return [Integer] Hash code
|
215
225
|
def hash
|
216
|
-
[first_name, middle_name, last_name, phone_number, bank_code, bank_account, bank_account_type, bank_name, routing_number, swift_code, iban, street, transfer_reason, country].hash
|
226
|
+
[first_name, middle_name, last_name, phone_number, bank_code, bank_account, bank_account_type, bank_name, routing_number, swift_code, iban, street, transfer_reason, country, birth_date].hash
|
217
227
|
end
|
218
228
|
|
219
229
|
require 'active_support/core_ext/hash'
|
@@ -23,13 +23,17 @@ class PayoutMethodDetailsUSDCash
|
|
23
23
|
|
24
24
|
attr_accessor :country
|
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
|
-
:'country' => :'country'
|
35
|
+
:'country' => :'country',
|
36
|
+
:'birth_date' => :'birth_date'
|
33
37
|
}
|
34
38
|
end
|
35
39
|
|
@@ -39,7 +43,8 @@ class PayoutMethodDetailsUSDCash
|
|
39
43
|
:'first_name' => :'String',
|
40
44
|
:'last_name' => :'String',
|
41
45
|
:'phone_number' => :'String',
|
42
|
-
:'country' => :'PayoutMethodCountryEnum'
|
46
|
+
:'country' => :'PayoutMethodCountryEnum',
|
47
|
+
:'birth_date' => :'Date'
|
43
48
|
}
|
44
49
|
end
|
45
50
|
|
@@ -73,6 +78,10 @@ class PayoutMethodDetailsUSDCash
|
|
73
78
|
if attributes.key?(:'country')
|
74
79
|
self.country = attributes[:'country']
|
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 PayoutMethodDetailsUSDCash
|
|
116
125
|
first_name == o.first_name &&
|
117
126
|
last_name == o.last_name &&
|
118
127
|
phone_number == o.phone_number &&
|
119
|
-
country == o.country
|
128
|
+
country == o.country &&
|
129
|
+
birth_date == o.birth_date
|
120
130
|
end
|
121
131
|
|
122
132
|
# @see the `==` method
|
@@ -128,7 +138,7 @@ class PayoutMethodDetailsUSDCash
|
|
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, country].hash
|
141
|
+
[first_name, last_name, phone_number, country, birth_date].hash
|
132
142
|
end
|
133
143
|
|
134
144
|
require 'active_support/core_ext/hash'
|
@@ -33,6 +33,9 @@ class PayoutMethodDetailsXAFBank
|
|
33
33
|
|
34
34
|
attr_accessor :transfer_reason
|
35
35
|
|
36
|
+
# Date of birth of recipient
|
37
|
+
attr_accessor :birth_date
|
38
|
+
|
36
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
37
40
|
def self.attribute_map
|
38
41
|
{
|
@@ -44,7 +47,8 @@ class PayoutMethodDetailsXAFBank
|
|
44
47
|
:'bank_country' => :'bank_country',
|
45
48
|
:'bank_code' => :'bank_code',
|
46
49
|
:'sort_code' => :'sort_code',
|
47
|
-
:'transfer_reason' => :'transfer_reason'
|
50
|
+
:'transfer_reason' => :'transfer_reason',
|
51
|
+
:'birth_date' => :'birth_date'
|
48
52
|
}
|
49
53
|
end
|
50
54
|
|
@@ -59,7 +63,8 @@ class PayoutMethodDetailsXAFBank
|
|
59
63
|
:'bank_country' => :'String',
|
60
64
|
:'bank_code' => :'String',
|
61
65
|
:'sort_code' => :'String',
|
62
|
-
:'transfer_reason' => :'PayoutMethodTransferReasonEnum'
|
66
|
+
:'transfer_reason' => :'PayoutMethodTransferReasonEnum',
|
67
|
+
:'birth_date' => :'Date'
|
63
68
|
}
|
64
69
|
end
|
65
70
|
|
@@ -113,6 +118,10 @@ class PayoutMethodDetailsXAFBank
|
|
113
118
|
if attributes.key?(:'transfer_reason')
|
114
119
|
self.transfer_reason = attributes[:'transfer_reason']
|
115
120
|
end
|
121
|
+
|
122
|
+
if attributes.key?(:'birth_date')
|
123
|
+
self.birth_date = attributes[:'birth_date']
|
124
|
+
end
|
116
125
|
end
|
117
126
|
|
118
127
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -156,7 +165,8 @@ class PayoutMethodDetailsXAFBank
|
|
156
165
|
bank_country == o.bank_country &&
|
157
166
|
bank_code == o.bank_code &&
|
158
167
|
sort_code == o.sort_code &&
|
159
|
-
transfer_reason == o.transfer_reason
|
168
|
+
transfer_reason == o.transfer_reason &&
|
169
|
+
birth_date == o.birth_date
|
160
170
|
end
|
161
171
|
|
162
172
|
# @see the `==` method
|
@@ -168,7 +178,7 @@ class PayoutMethodDetailsXAFBank
|
|
168
178
|
# Calculates hash code according to all attributes.
|
169
179
|
# @return [Integer] Hash code
|
170
180
|
def hash
|
171
|
-
[first_name, last_name, iban, bank_account, bank_name, bank_country, bank_code, sort_code, transfer_reason].hash
|
181
|
+
[first_name, last_name, iban, bank_account, bank_name, bank_country, bank_code, sort_code, transfer_reason, birth_date].hash
|
172
182
|
end
|
173
183
|
|
174
184
|
require 'active_support/core_ext/hash'
|