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
@@ -25,6 +25,9 @@ class PayoutMethodDetailsXAFMobile
|
|
25
25
|
|
26
26
|
attr_accessor :country
|
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 PayoutMethodDetailsXAFMobile
|
|
32
35
|
:'last_name' => :'last_name',
|
33
36
|
:'phone_number' => :'phone_number',
|
34
37
|
:'mobile_provider' => :'mobile_provider',
|
35
|
-
:'country' => :'country'
|
38
|
+
:'country' => :'country',
|
39
|
+
:'birth_date' => :'birth_date'
|
36
40
|
}
|
37
41
|
end
|
38
42
|
|
@@ -43,7 +47,8 @@ class PayoutMethodDetailsXAFMobile
|
|
43
47
|
:'last_name' => :'String',
|
44
48
|
:'phone_number' => :'String',
|
45
49
|
:'mobile_provider' => :'PayoutMethodMobileProviderEnum',
|
46
|
-
:'country' => :'PayoutMethodCountryEnum'
|
50
|
+
:'country' => :'PayoutMethodCountryEnum',
|
51
|
+
:'birth_date' => :'Date'
|
47
52
|
}
|
48
53
|
end
|
49
54
|
|
@@ -81,6 +86,10 @@ class PayoutMethodDetailsXAFMobile
|
|
81
86
|
if attributes.key?(:'country')
|
82
87
|
self.country = attributes[:'country']
|
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 PayoutMethodDetailsXAFMobile
|
|
125
134
|
last_name == o.last_name &&
|
126
135
|
phone_number == o.phone_number &&
|
127
136
|
mobile_provider == o.mobile_provider &&
|
128
|
-
country == o.country
|
137
|
+
country == o.country &&
|
138
|
+
birth_date == o.birth_date
|
129
139
|
end
|
130
140
|
|
131
141
|
# @see the `==` method
|
@@ -137,7 +147,7 @@ class PayoutMethodDetailsXAFMobile
|
|
137
147
|
# Calculates hash code according to all attributes.
|
138
148
|
# @return [Integer] Hash code
|
139
149
|
def hash
|
140
|
-
[first_name, last_name, phone_number, mobile_provider, country].hash
|
150
|
+
[first_name, last_name, phone_number, mobile_provider, country, birth_date].hash
|
141
151
|
end
|
142
152
|
|
143
153
|
require 'active_support/core_ext/hash'
|
@@ -29,6 +29,9 @@ class PayoutMethodDetailsXOFBank
|
|
29
29
|
|
30
30
|
attr_accessor :transfer_reason
|
31
31
|
|
32
|
+
# Date of birth of recipient
|
33
|
+
attr_accessor :birth_date
|
34
|
+
|
32
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
33
36
|
def self.attribute_map
|
34
37
|
{
|
@@ -38,7 +41,8 @@ class PayoutMethodDetailsXOFBank
|
|
38
41
|
:'bank_name' => :'bank_name',
|
39
42
|
:'bank_country' => :'bank_country',
|
40
43
|
:'bank_code' => :'bank_code',
|
41
|
-
:'transfer_reason' => :'transfer_reason'
|
44
|
+
:'transfer_reason' => :'transfer_reason',
|
45
|
+
:'birth_date' => :'birth_date'
|
42
46
|
}
|
43
47
|
end
|
44
48
|
|
@@ -51,7 +55,8 @@ class PayoutMethodDetailsXOFBank
|
|
51
55
|
:'bank_name' => :'String',
|
52
56
|
:'bank_country' => :'String',
|
53
57
|
:'bank_code' => :'String',
|
54
|
-
:'transfer_reason' => :'PayoutMethodTransferReasonEnum'
|
58
|
+
:'transfer_reason' => :'PayoutMethodTransferReasonEnum',
|
59
|
+
:'birth_date' => :'Date'
|
55
60
|
}
|
56
61
|
end
|
57
62
|
|
@@ -97,6 +102,10 @@ class PayoutMethodDetailsXOFBank
|
|
97
102
|
if attributes.key?(:'transfer_reason')
|
98
103
|
self.transfer_reason = attributes[:'transfer_reason']
|
99
104
|
end
|
105
|
+
|
106
|
+
if attributes.key?(:'birth_date')
|
107
|
+
self.birth_date = attributes[:'birth_date']
|
108
|
+
end
|
100
109
|
end
|
101
110
|
|
102
111
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -138,7 +147,8 @@ class PayoutMethodDetailsXOFBank
|
|
138
147
|
bank_name == o.bank_name &&
|
139
148
|
bank_country == o.bank_country &&
|
140
149
|
bank_code == o.bank_code &&
|
141
|
-
transfer_reason == o.transfer_reason
|
150
|
+
transfer_reason == o.transfer_reason &&
|
151
|
+
birth_date == o.birth_date
|
142
152
|
end
|
143
153
|
|
144
154
|
# @see the `==` method
|
@@ -150,7 +160,7 @@ class PayoutMethodDetailsXOFBank
|
|
150
160
|
# Calculates hash code according to all attributes.
|
151
161
|
# @return [Integer] Hash code
|
152
162
|
def hash
|
153
|
-
[first_name, last_name, iban, bank_name, bank_country, bank_code, transfer_reason].hash
|
163
|
+
[first_name, last_name, iban, bank_name, bank_country, bank_code, transfer_reason, birth_date].hash
|
154
164
|
end
|
155
165
|
|
156
166
|
require 'active_support/core_ext/hash'
|
@@ -25,6 +25,9 @@ class PayoutMethodDetailsXOFCash
|
|
25
25
|
|
26
26
|
attr_accessor :country
|
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 PayoutMethodDetailsXOFCash
|
|
32
35
|
:'last_name' => :'last_name',
|
33
36
|
:'phone_number' => :'phone_number',
|
34
37
|
:'cash_provider' => :'cash_provider',
|
35
|
-
:'country' => :'country'
|
38
|
+
:'country' => :'country',
|
39
|
+
:'birth_date' => :'birth_date'
|
36
40
|
}
|
37
41
|
end
|
38
42
|
|
@@ -43,7 +47,8 @@ class PayoutMethodDetailsXOFCash
|
|
43
47
|
:'last_name' => :'String',
|
44
48
|
:'phone_number' => :'String',
|
45
49
|
:'cash_provider' => :'PayoutMethodCashProviderEnum',
|
46
|
-
:'country' => :'PayoutMethodCountryEnum'
|
50
|
+
:'country' => :'PayoutMethodCountryEnum',
|
51
|
+
:'birth_date' => :'Date'
|
47
52
|
}
|
48
53
|
end
|
49
54
|
|
@@ -81,6 +86,10 @@ class PayoutMethodDetailsXOFCash
|
|
81
86
|
if attributes.key?(:'country')
|
82
87
|
self.country = attributes[:'country']
|
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 PayoutMethodDetailsXOFCash
|
|
125
134
|
last_name == o.last_name &&
|
126
135
|
phone_number == o.phone_number &&
|
127
136
|
cash_provider == o.cash_provider &&
|
128
|
-
country == o.country
|
137
|
+
country == o.country &&
|
138
|
+
birth_date == o.birth_date
|
129
139
|
end
|
130
140
|
|
131
141
|
# @see the `==` method
|
@@ -137,7 +147,7 @@ class PayoutMethodDetailsXOFCash
|
|
137
147
|
# Calculates hash code according to all attributes.
|
138
148
|
# @return [Integer] Hash code
|
139
149
|
def hash
|
140
|
-
[first_name, last_name, phone_number, cash_provider, country].hash
|
150
|
+
[first_name, last_name, phone_number, cash_provider, country, birth_date].hash
|
141
151
|
end
|
142
152
|
|
143
153
|
require 'active_support/core_ext/hash'
|
@@ -27,6 +27,9 @@ class PayoutMethodDetailsXOFMobile
|
|
27
27
|
|
28
28
|
attr_accessor :transfer_reason
|
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 PayoutMethodDetailsXOFMobile
|
|
35
38
|
:'phone_number' => :'phone_number',
|
36
39
|
:'mobile_provider' => :'mobile_provider',
|
37
40
|
:'country' => :'country',
|
38
|
-
:'transfer_reason' => :'transfer_reason'
|
41
|
+
:'transfer_reason' => :'transfer_reason',
|
42
|
+
:'birth_date' => :'birth_date'
|
39
43
|
}
|
40
44
|
end
|
41
45
|
|
@@ -47,7 +51,8 @@ class PayoutMethodDetailsXOFMobile
|
|
47
51
|
:'phone_number' => :'String',
|
48
52
|
:'mobile_provider' => :'PayoutMethodMobileProviderEnum',
|
49
53
|
:'country' => :'PayoutMethodCountryEnum',
|
50
|
-
:'transfer_reason' => :'PayoutMethodTransferReasonEnum'
|
54
|
+
:'transfer_reason' => :'PayoutMethodTransferReasonEnum',
|
55
|
+
:'birth_date' => :'Date'
|
51
56
|
}
|
52
57
|
end
|
53
58
|
|
@@ -89,6 +94,10 @@ class PayoutMethodDetailsXOFMobile
|
|
89
94
|
if attributes.key?(:'transfer_reason')
|
90
95
|
self.transfer_reason = attributes[:'transfer_reason']
|
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?
|
@@ -134,7 +143,8 @@ class PayoutMethodDetailsXOFMobile
|
|
134
143
|
phone_number == o.phone_number &&
|
135
144
|
mobile_provider == o.mobile_provider &&
|
136
145
|
country == o.country &&
|
137
|
-
transfer_reason == o.transfer_reason
|
146
|
+
transfer_reason == o.transfer_reason &&
|
147
|
+
birth_date == o.birth_date
|
138
148
|
end
|
139
149
|
|
140
150
|
# @see the `==` method
|
@@ -146,7 +156,7 @@ class PayoutMethodDetailsXOFMobile
|
|
146
156
|
# Calculates hash code according to all attributes.
|
147
157
|
# @return [Integer] Hash code
|
148
158
|
def hash
|
149
|
-
[first_name, last_name, phone_number, mobile_provider, country, transfer_reason].hash
|
159
|
+
[first_name, last_name, phone_number, mobile_provider, country, transfer_reason, birth_date].hash
|
150
160
|
end
|
151
161
|
|
152
162
|
require 'active_support/core_ext/hash'
|
@@ -53,6 +53,9 @@ class PayoutMethodDetailsZARBank
|
|
53
53
|
|
54
54
|
attr_accessor :legal_entity_type
|
55
55
|
|
56
|
+
# Date of birth of recipient
|
57
|
+
attr_accessor :birth_date
|
58
|
+
|
56
59
|
# Attribute mapping from ruby-style variable name to JSON key.
|
57
60
|
def self.attribute_map
|
58
61
|
{
|
@@ -74,7 +77,8 @@ class PayoutMethodDetailsZARBank
|
|
74
77
|
:'contact_last_name' => :'contact_last_name',
|
75
78
|
:'registration_number' => :'registration_number',
|
76
79
|
:'nature_of_business' => :'nature_of_business',
|
77
|
-
:'legal_entity_type' => :'legal_entity_type'
|
80
|
+
:'legal_entity_type' => :'legal_entity_type',
|
81
|
+
:'birth_date' => :'birth_date'
|
78
82
|
}
|
79
83
|
end
|
80
84
|
|
@@ -99,7 +103,8 @@ class PayoutMethodDetailsZARBank
|
|
99
103
|
:'contact_last_name' => :'String',
|
100
104
|
:'registration_number' => :'String',
|
101
105
|
:'nature_of_business' => :'PayoutMethodNatureOfBusinessEnum',
|
102
|
-
:'legal_entity_type' => :'PayoutMethodLegalEntityTypeEnum'
|
106
|
+
:'legal_entity_type' => :'PayoutMethodLegalEntityTypeEnum',
|
107
|
+
:'birth_date' => :'Date'
|
103
108
|
}
|
104
109
|
end
|
105
110
|
|
@@ -193,6 +198,10 @@ class PayoutMethodDetailsZARBank
|
|
193
198
|
if attributes.key?(:'legal_entity_type')
|
194
199
|
self.legal_entity_type = attributes[:'legal_entity_type']
|
195
200
|
end
|
201
|
+
|
202
|
+
if attributes.key?(:'birth_date')
|
203
|
+
self.birth_date = attributes[:'birth_date']
|
204
|
+
end
|
196
205
|
end
|
197
206
|
|
198
207
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -251,7 +260,8 @@ class PayoutMethodDetailsZARBank
|
|
251
260
|
contact_last_name == o.contact_last_name &&
|
252
261
|
registration_number == o.registration_number &&
|
253
262
|
nature_of_business == o.nature_of_business &&
|
254
|
-
legal_entity_type == o.legal_entity_type
|
263
|
+
legal_entity_type == o.legal_entity_type &&
|
264
|
+
birth_date == o.birth_date
|
255
265
|
end
|
256
266
|
|
257
267
|
# @see the `==` method
|
@@ -263,7 +273,7 @@ class PayoutMethodDetailsZARBank
|
|
263
273
|
# Calculates hash code according to all attributes.
|
264
274
|
# @return [Integer] Hash code
|
265
275
|
def hash
|
266
|
-
[first_name, last_name, street, postal_code, city, email, bank_code, branch_code, bank_account, phone_number, transfer_reason_code, transfer_reason, narration, name, contact_first_name, contact_last_name, registration_number, nature_of_business, legal_entity_type].hash
|
276
|
+
[first_name, last_name, street, postal_code, city, email, bank_code, branch_code, bank_account, phone_number, transfer_reason_code, transfer_reason, narration, name, contact_first_name, contact_last_name, registration_number, nature_of_business, legal_entity_type, birth_date].hash
|
267
277
|
end
|
268
278
|
|
269
279
|
require 'active_support/core_ext/hash'
|
@@ -23,13 +23,17 @@ class PayoutMethodDetailsZMWBank
|
|
23
23
|
|
24
24
|
attr_accessor :branch_code
|
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
|
-
:'branch_code' => :'branch_code'
|
35
|
+
:'branch_code' => :'branch_code',
|
36
|
+
:'birth_date' => :'birth_date'
|
33
37
|
}
|
34
38
|
end
|
35
39
|
|
@@ -39,7 +43,8 @@ class PayoutMethodDetailsZMWBank
|
|
39
43
|
:'first_name' => :'String',
|
40
44
|
:'last_name' => :'String',
|
41
45
|
:'bank_account' => :'String',
|
42
|
-
:'branch_code' => :'String'
|
46
|
+
:'branch_code' => :'String',
|
47
|
+
:'birth_date' => :'Date'
|
43
48
|
}
|
44
49
|
end
|
45
50
|
|
@@ -73,6 +78,10 @@ class PayoutMethodDetailsZMWBank
|
|
73
78
|
if attributes.key?(:'branch_code')
|
74
79
|
self.branch_code = attributes[:'branch_code']
|
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 PayoutMethodDetailsZMWBank
|
|
116
125
|
first_name == o.first_name &&
|
117
126
|
last_name == o.last_name &&
|
118
127
|
bank_account == o.bank_account &&
|
119
|
-
branch_code == o.branch_code
|
128
|
+
branch_code == o.branch_code &&
|
129
|
+
birth_date == o.birth_date
|
120
130
|
end
|
121
131
|
|
122
132
|
# @see the `==` method
|
@@ -128,7 +138,7 @@ class PayoutMethodDetailsZMWBank
|
|
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, branch_code].hash
|
141
|
+
[first_name, last_name, bank_account, branch_code, birth_date].hash
|
132
142
|
end
|
133
143
|
|
134
144
|
require 'active_support/core_ext/hash'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: transferzero-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.34.
|
4
|
+
version: 1.34.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TransferZero
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|