transferzero-sdk 1.19.5 → 1.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/PayinMethodDetails.md +2 -0
- data/docs/PayinMethodDetailsMobile.md +2 -0
- data/lib/transferzero-sdk/api_client.rb +2 -30
- data/lib/transferzero-sdk/models/payin_method_details.rb +10 -1
- data/lib/transferzero-sdk/models/payin_method_details_mobile.rb +10 -1
- data/lib/transferzero-sdk/models/payout_method_details_ngn_bank.rb +1 -1
- data/lib/transferzero-sdk/models/payout_method_details_xof_mobile.rb +1 -1
- data/lib/transferzero-sdk/models/payout_method_mobile_provider_enum.rb +3 -0
- data/lib/transferzero-sdk/version.rb +1 -1
- data/spec/api/documents_api_spec.rb +0 -15
- data/spec/api/payin_methods_api_spec.rb +2 -2
- data/spec/api/payout_methods_api_spec.rb +1 -1
- data/spec/api/recipients_api_spec.rb +13 -1
- data/spec/api/senders_api_spec.rb +1 -1
- data/spec/api/transactions_api_spec.rb +1 -0
- data/spec/models/account_validation_request_spec.rb +14 -2
- data/spec/models/currency_exchange_spec.rb +0 -6
- data/spec/models/currency_opposite_spec.rb +4 -4
- data/spec/models/currency_spec.rb +0 -6
- data/spec/models/document_spec.rb +20 -2
- data/spec/models/payin_method_details_mobile_spec.rb +7 -1
- data/spec/models/payin_method_details_spec.rb +13 -1
- data/spec/models/payin_method_spec.rb +25 -1
- data/spec/models/payout_method_details_kes_bank_spec.rb +6 -0
- data/spec/models/payout_method_details_kes_mobile_spec.rb +6 -0
- data/spec/models/payout_method_details_mobile_spec.rb +6 -0
- data/spec/models/payout_method_details_spec.rb +108 -0
- data/spec/models/payout_method_details_xof_bank_spec.rb +12 -0
- data/spec/models/payout_method_details_xof_cash_spec.rb +3 -9
- data/spec/models/payout_method_details_xof_mobile_spec.rb +12 -0
- data/spec/models/payout_method_details_zar_bank_spec.rb +48 -0
- data/spec/models/recipient_spec.rb +22 -0
- data/spec/models/sender_spec.rb +169 -19
- data/transferzero-sdk-1.19.5.gem +0 -0
- data/transferzero-sdk-1.20.1.gem +0 -0
- metadata +4 -30
- data/docs/CurrencyExchangeAllOf.md +0 -17
- data/docs/CurrencyOppositeAllOf.md +0 -21
- data/docs/DocumentWebhookAllOf.md +0 -17
- data/docs/PayoutMethodWebhookAllOf.md +0 -17
- data/docs/RecipientWebhookAllOf.md +0 -17
- data/docs/SenderWebhookAllOf.md +0 -17
- data/docs/TransactionWebhookAllOf.md +0 -17
- data/lib/transferzero-sdk/models/currency_exchange_all_of.rb +0 -205
- data/lib/transferzero-sdk/models/currency_opposite_all_of.rb +0 -223
- data/lib/transferzero-sdk/models/document_webhook_all_of.rb +0 -202
- data/lib/transferzero-sdk/models/payout_method_webhook_all_of.rb +0 -202
- data/lib/transferzero-sdk/models/recipient_webhook_all_of.rb +0 -202
- data/lib/transferzero-sdk/models/sender_webhook_all_of.rb +0 -202
- data/lib/transferzero-sdk/models/transaction_webhook_all_of.rb +0 -202
- data/spec/models/currency_exchange_all_of_spec.rb +0 -41
- data/spec/models/currency_opposite_all_of_spec.rb +0 -53
- data/spec/models/document_webhook_all_of_spec.rb +0 -41
- data/spec/models/payout_method_webhook_all_of_spec.rb +0 -41
- data/spec/models/recipient_webhook_all_of_spec.rb +0 -41
- data/spec/models/sender_webhook_all_of_spec.rb +0 -41
- data/spec/models/transaction_webhook_all_of_spec.rb +0 -41
@@ -74,6 +74,18 @@ describe 'PayoutMethodDetails' do
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
+
describe 'test attribute "country"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "transfer_reason"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
77
89
|
describe 'test attribute "iban"' do
|
78
90
|
it 'should work' do
|
79
91
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -92,6 +104,18 @@ describe 'PayoutMethodDetails' do
|
|
92
104
|
end
|
93
105
|
end
|
94
106
|
|
107
|
+
describe 'test attribute "cash_provider"' do
|
108
|
+
it 'should work' do
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
describe 'test attribute "sort_code"' do
|
114
|
+
it 'should work' do
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
95
119
|
describe 'test attribute "bic"' do
|
96
120
|
it 'should work' do
|
97
121
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -152,4 +176,88 @@ describe 'PayoutMethodDetails' do
|
|
152
176
|
end
|
153
177
|
end
|
154
178
|
|
179
|
+
describe 'test attribute "name"' do
|
180
|
+
it 'should work' do
|
181
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
185
|
+
describe 'test attribute "address"' do
|
186
|
+
it 'should work' do
|
187
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
188
|
+
end
|
189
|
+
end
|
190
|
+
|
191
|
+
describe 'test attribute "street"' do
|
192
|
+
it 'should work' do
|
193
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
197
|
+
describe 'test attribute "postal_code"' do
|
198
|
+
it 'should work' do
|
199
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
203
|
+
describe 'test attribute "city"' do
|
204
|
+
it 'should work' do
|
205
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
206
|
+
end
|
207
|
+
end
|
208
|
+
|
209
|
+
describe 'test attribute "email"' do
|
210
|
+
it 'should work' do
|
211
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
212
|
+
end
|
213
|
+
end
|
214
|
+
|
215
|
+
describe 'test attribute "transfer_reason_code"' do
|
216
|
+
it 'should work' do
|
217
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
218
|
+
end
|
219
|
+
end
|
220
|
+
|
221
|
+
describe 'test attribute "contact_first_name"' do
|
222
|
+
it 'should work' do
|
223
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
224
|
+
end
|
225
|
+
end
|
226
|
+
|
227
|
+
describe 'test attribute "contact_last_name"' do
|
228
|
+
it 'should work' do
|
229
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
233
|
+
describe 'test attribute "registration_number"' do
|
234
|
+
it 'should work' do
|
235
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
236
|
+
end
|
237
|
+
end
|
238
|
+
|
239
|
+
describe 'test attribute "nature_of_business"' do
|
240
|
+
it 'should work' do
|
241
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
242
|
+
end
|
243
|
+
end
|
244
|
+
|
245
|
+
describe 'test attribute "legal_entity_type"' do
|
246
|
+
it 'should work' do
|
247
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
248
|
+
end
|
249
|
+
end
|
250
|
+
|
251
|
+
describe 'test attribute "branch_code"' do
|
252
|
+
it 'should work' do
|
253
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
254
|
+
end
|
255
|
+
end
|
256
|
+
|
257
|
+
describe 'test attribute "swift_code"' do
|
258
|
+
it 'should work' do
|
259
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
260
|
+
end
|
261
|
+
end
|
262
|
+
|
155
263
|
end
|
@@ -62,4 +62,16 @@ describe 'PayoutMethodDetailsXOFBank' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
+
describe 'test attribute "bank_code"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "transfer_reason"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
65
77
|
end
|
@@ -44,25 +44,19 @@ describe 'PayoutMethodDetailsXOFCash' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
48
|
-
it 'should work' do
|
49
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
-
end
|
51
|
-
end
|
52
|
-
|
53
|
-
describe 'test attribute "identity_card_type"' do
|
47
|
+
describe 'test attribute "phone_number"' do
|
54
48
|
it 'should work' do
|
55
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
50
|
end
|
57
51
|
end
|
58
52
|
|
59
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "cash_provider"' do
|
60
54
|
it 'should work' do
|
61
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
56
|
end
|
63
57
|
end
|
64
58
|
|
65
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "country"' do
|
66
60
|
it 'should work' do
|
67
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
62
|
end
|
@@ -56,4 +56,16 @@ describe 'PayoutMethodDetailsXOFMobile' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
+
describe 'test attribute "country"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "transfer_reason"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
59
71
|
end
|
@@ -62,6 +62,12 @@ describe 'PayoutMethodDetailsZARBank' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
+
describe 'test attribute "email"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
65
71
|
describe 'test attribute "bank_code"' do
|
66
72
|
it 'should work' do
|
67
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -86,4 +92,46 @@ describe 'PayoutMethodDetailsZARBank' do
|
|
86
92
|
end
|
87
93
|
end
|
88
94
|
|
95
|
+
describe 'test attribute "transfer_reason"' do
|
96
|
+
it 'should work' do
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
describe 'test attribute "name"' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
describe 'test attribute "contact_first_name"' do
|
108
|
+
it 'should work' do
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
describe 'test attribute "contact_last_name"' do
|
114
|
+
it 'should work' do
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
describe 'test attribute "registration_number"' do
|
120
|
+
it 'should work' do
|
121
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
describe 'test attribute "nature_of_business"' do
|
126
|
+
it 'should work' do
|
127
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
131
|
+
describe 'test attribute "legal_entity_type"' do
|
132
|
+
it 'should work' do
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
89
137
|
end
|
@@ -92,6 +92,12 @@ describe 'Recipient' do
|
|
92
92
|
end
|
93
93
|
end
|
94
94
|
|
95
|
+
describe 'test attribute "state_reason_details"' do
|
96
|
+
it 'should work' do
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
95
101
|
describe 'test attribute "state"' do
|
96
102
|
it 'should work' do
|
97
103
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -104,6 +110,12 @@ describe 'Recipient' do
|
|
104
110
|
end
|
105
111
|
end
|
106
112
|
|
113
|
+
describe 'test attribute "transaction_external_id"' do
|
114
|
+
it 'should work' do
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
107
119
|
describe 'test attribute "transaction_state"' do
|
108
120
|
it 'should work' do
|
109
121
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -152,6 +164,16 @@ describe 'Recipient' do
|
|
152
164
|
end
|
153
165
|
end
|
154
166
|
|
167
|
+
describe 'test attribute "type"' do
|
168
|
+
it 'should work' do
|
169
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
170
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["person", "business"])
|
171
|
+
# validator.allowable_values.each do |value|
|
172
|
+
# expect { @instance.type = value }.not_to raise_error
|
173
|
+
# end
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
155
177
|
describe 'test attribute "errors"' do
|
156
178
|
it 'should work' do
|
157
179
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/models/sender_spec.rb
CHANGED
@@ -32,6 +32,12 @@ describe 'Sender' do
|
|
32
32
|
expect(@instance).to be_instance_of(TransferZero::Sender)
|
33
33
|
end
|
34
34
|
end
|
35
|
+
describe 'test attribute "id"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
35
41
|
describe 'test attribute "type"' do
|
36
42
|
it 'should work' do
|
37
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -42,12 +48,36 @@ describe 'Sender' do
|
|
42
48
|
end
|
43
49
|
end
|
44
50
|
|
51
|
+
describe 'test attribute "state"' do
|
52
|
+
it 'should work' do
|
53
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
45
57
|
describe 'test attribute "country"' do
|
46
58
|
it 'should work' do
|
47
59
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
48
60
|
end
|
49
61
|
end
|
50
62
|
|
63
|
+
describe 'test attribute "street"' do
|
64
|
+
it 'should work' do
|
65
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
describe 'test attribute "postal_code"' do
|
70
|
+
it 'should work' do
|
71
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
describe 'test attribute "city"' do
|
76
|
+
it 'should work' do
|
77
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
51
81
|
describe 'test attribute "phone_country"' do
|
52
82
|
it 'should work' do
|
53
83
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -66,6 +96,46 @@ describe 'Sender' do
|
|
66
96
|
end
|
67
97
|
end
|
68
98
|
|
99
|
+
describe 'test attribute "ip"' do
|
100
|
+
it 'should work' do
|
101
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
describe 'test attribute "address_description"' do
|
106
|
+
it 'should work' do
|
107
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
describe 'test attribute "identification_number"' do
|
112
|
+
it 'should work' do
|
113
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
describe 'test attribute "identification_type"' do
|
118
|
+
it 'should work' do
|
119
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
120
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["DL", "PP", "ID", "OT"])
|
121
|
+
# validator.allowable_values.each do |value|
|
122
|
+
# expect { @instance.identification_type = value }.not_to raise_error
|
123
|
+
# end
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
describe 'test attribute "lang"' do
|
128
|
+
it 'should work' do
|
129
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
describe 'test attribute "name"' do
|
134
|
+
it 'should work' do
|
135
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
69
139
|
describe 'test attribute "first_name"' do
|
70
140
|
it 'should work' do
|
71
141
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -84,6 +154,12 @@ describe 'Sender' do
|
|
84
154
|
end
|
85
155
|
end
|
86
156
|
|
157
|
+
describe 'test attribute "birth_date"' do
|
158
|
+
it 'should work' do
|
159
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
160
|
+
end
|
161
|
+
end
|
162
|
+
|
87
163
|
describe 'test attribute "occupation"' do
|
88
164
|
it 'should work' do
|
89
165
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -96,79 +172,119 @@ describe 'Sender' do
|
|
96
172
|
end
|
97
173
|
end
|
98
174
|
|
99
|
-
describe 'test attribute "
|
175
|
+
describe 'test attribute "legal_entity_type"' do
|
100
176
|
it 'should work' do
|
101
177
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
178
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["sole_proprietorship", "partnership", "privately_owned_company", "publicly_owned_company", "government_owned_entity", "trust", "ngo", "club_and_society", "go", "other", "financial_institution"])
|
179
|
+
# validator.allowable_values.each do |value|
|
180
|
+
# expect { @instance.legal_entity_type = value }.not_to raise_error
|
181
|
+
# end
|
102
182
|
end
|
103
183
|
end
|
104
184
|
|
105
|
-
describe 'test attribute "
|
185
|
+
describe 'test attribute "registration_date"' do
|
106
186
|
it 'should work' do
|
107
187
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
108
188
|
end
|
109
189
|
end
|
110
190
|
|
111
|
-
describe 'test attribute "
|
191
|
+
describe 'test attribute "registration_number"' do
|
112
192
|
it 'should work' do
|
113
193
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
114
194
|
end
|
115
195
|
end
|
116
196
|
|
117
|
-
describe 'test attribute "
|
197
|
+
describe 'test attribute "nature_of_business"' do
|
118
198
|
it 'should work' do
|
119
199
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
200
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["personal", "agriculture_and_hunting", "forestry", "fishing", "agricultural_by_products", "coal_mining", "oil_mining", "iron_ore_mining", "other_metal_and_diamond_mining", "other_mineral_mining", "manufacturing_of_food_drink_tobacco", "manufacturing_of_textiles_leather_fur_furniture", "manufacture_of_wooden_products_furniture", "manufacture_of_paper_pulp_allied_products", "manufacture_of_chemicals_medical_petroleum_rubber_plastic_products", "manufacture_of_pottery_china_glass_stone", "manufacture_of_iron_steel_non_ferrous_metals_basic_industries", "manufacture_of_metal_products_electrical_and_scientific_engineering", "manufacture_of_jewelry_musical_instruments_toys", "electricity_gas_and_water", "construction", "wholesale_trade", "retail_trade", "catering_incl_hotels", "transport_storage", "communications", "finance_and_holding_companies", "insurance", "business_services", "real_estate_development_investment", "central_state_governments", "community_services_defence_police_prisons_etc", "social_services_education_health_care", "personal_services_leisure_services", "personal_services_domestic_laundry_repairs", "personal_services_embassies_international_organisations"])
|
201
|
+
# validator.allowable_values.each do |value|
|
202
|
+
# expect { @instance.nature_of_business = value }.not_to raise_error
|
203
|
+
# end
|
120
204
|
end
|
121
205
|
end
|
122
206
|
|
123
|
-
describe 'test attribute "
|
207
|
+
describe 'test attribute "source_of_funds"' do
|
124
208
|
it 'should work' do
|
125
209
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
126
210
|
end
|
127
211
|
end
|
128
212
|
|
129
|
-
describe 'test attribute "
|
213
|
+
describe 'test attribute "custom_source_of_funds"' do
|
130
214
|
it 'should work' do
|
131
215
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
132
216
|
end
|
133
217
|
end
|
134
218
|
|
135
|
-
describe 'test attribute "
|
219
|
+
describe 'test attribute "core_business_activity"' do
|
136
220
|
it 'should work' do
|
137
221
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
138
222
|
end
|
139
223
|
end
|
140
224
|
|
141
|
-
describe 'test attribute "
|
225
|
+
describe 'test attribute "purpose_of_opening_account"' do
|
142
226
|
it 'should work' do
|
143
227
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
144
228
|
end
|
145
229
|
end
|
146
230
|
|
147
|
-
describe 'test attribute "
|
231
|
+
describe 'test attribute "office_phone"' do
|
148
232
|
it 'should work' do
|
149
233
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
150
234
|
end
|
151
235
|
end
|
152
236
|
|
153
|
-
describe 'test attribute "
|
237
|
+
describe 'test attribute "vat_registration_number"' do
|
154
238
|
it 'should work' do
|
155
239
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
156
240
|
end
|
157
241
|
end
|
158
242
|
|
159
|
-
describe 'test attribute "
|
243
|
+
describe 'test attribute "financial_regulator"' do
|
160
244
|
it 'should work' do
|
161
245
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
162
246
|
end
|
163
247
|
end
|
164
248
|
|
165
|
-
describe 'test attribute "
|
249
|
+
describe 'test attribute "regulatory_licence_number"' do
|
250
|
+
it 'should work' do
|
251
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
252
|
+
end
|
253
|
+
end
|
254
|
+
|
255
|
+
describe 'test attribute "contact_person_email"' do
|
256
|
+
it 'should work' do
|
257
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
258
|
+
end
|
259
|
+
end
|
260
|
+
|
261
|
+
describe 'test attribute "trading_country"' do
|
262
|
+
it 'should work' do
|
263
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
267
|
+
describe 'test attribute "trading_address"' do
|
268
|
+
it 'should work' do
|
269
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
270
|
+
end
|
271
|
+
end
|
272
|
+
|
273
|
+
describe 'test attribute "trading_name"' do
|
274
|
+
it 'should work' do
|
275
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
276
|
+
end
|
277
|
+
end
|
278
|
+
|
279
|
+
describe 'test attribute "number_monthly_transactions"' do
|
280
|
+
it 'should work' do
|
281
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
282
|
+
end
|
283
|
+
end
|
284
|
+
|
285
|
+
describe 'test attribute "amount_monthly_transactions"' do
|
166
286
|
it 'should work' do
|
167
287
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
168
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["DL", "PP", "ID", "OT"])
|
169
|
-
# validator.allowable_values.each do |value|
|
170
|
-
# expect { @instance.identification_type = value }.not_to raise_error
|
171
|
-
# end
|
172
288
|
end
|
173
289
|
end
|
174
290
|
|
@@ -184,13 +300,19 @@ describe 'Sender' do
|
|
184
300
|
end
|
185
301
|
end
|
186
302
|
|
187
|
-
describe 'test attribute "
|
303
|
+
describe 'test attribute "errors"' do
|
188
304
|
it 'should work' do
|
189
305
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
190
306
|
end
|
191
307
|
end
|
192
308
|
|
193
|
-
describe 'test attribute "
|
309
|
+
describe 'test attribute "onboarding_status"' do
|
310
|
+
it 'should work' do
|
311
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
312
|
+
end
|
313
|
+
end
|
314
|
+
|
315
|
+
describe 'test attribute "politically_exposed_people"' do
|
194
316
|
it 'should work' do
|
195
317
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
196
318
|
end
|
@@ -202,7 +324,35 @@ describe 'Sender' do
|
|
202
324
|
end
|
203
325
|
end
|
204
326
|
|
205
|
-
describe 'test attribute "
|
327
|
+
describe 'test attribute "city_of_birth"' do
|
328
|
+
it 'should work' do
|
329
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
330
|
+
end
|
331
|
+
end
|
332
|
+
|
333
|
+
describe 'test attribute "country_of_birth"' do
|
334
|
+
it 'should work' do
|
335
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
336
|
+
end
|
337
|
+
end
|
338
|
+
|
339
|
+
describe 'test attribute "gender"' do
|
340
|
+
it 'should work' do
|
341
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
342
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["M", "F", "O"])
|
343
|
+
# validator.allowable_values.each do |value|
|
344
|
+
# expect { @instance.gender = value }.not_to raise_error
|
345
|
+
# end
|
346
|
+
end
|
347
|
+
end
|
348
|
+
|
349
|
+
describe 'test attribute "sales_lead_id"' do
|
350
|
+
it 'should work' do
|
351
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
352
|
+
end
|
353
|
+
end
|
354
|
+
|
355
|
+
describe 'test attribute "created_at"' do
|
206
356
|
it 'should work' do
|
207
357
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
208
358
|
end
|
Binary file
|
Binary file
|