@@ -29,7 +29,9 @@ public function testBillingRequestsCreate()
29
29
$ this ->assertEquals ($ body ->actions , $ response ->actions );
30
30
$ this ->assertEquals ($ body ->created_at , $ response ->created_at );
31
31
$ this ->assertEquals ($ body ->fallback_enabled , $ response ->fallback_enabled );
32
+ $ this ->assertEquals ($ body ->fallback_occurred , $ response ->fallback_occurred );
32
33
$ this ->assertEquals ($ body ->id , $ response ->id );
34
+ $ this ->assertEquals ($ body ->instalment_schedule_request , $ response ->instalment_schedule_request );
33
35
$ this ->assertEquals ($ body ->links , $ response ->links );
34
36
$ this ->assertEquals ($ body ->mandate_request , $ response ->mandate_request );
35
37
$ this ->assertEquals ($ body ->metadata , $ response ->metadata );
@@ -68,7 +70,9 @@ public function testBillingRequestsCreateWithIdempotencyConflict()
68
70
$ this ->assertEquals ($ body ->actions , $ response ->actions );
69
71
$ this ->assertEquals ($ body ->created_at , $ response ->created_at );
70
72
$ this ->assertEquals ($ body ->fallback_enabled , $ response ->fallback_enabled );
73
+ $ this ->assertEquals ($ body ->fallback_occurred , $ response ->fallback_occurred );
71
74
$ this ->assertEquals ($ body ->id , $ response ->id );
75
+ $ this ->assertEquals ($ body ->instalment_schedule_request , $ response ->instalment_schedule_request );
72
76
$ this ->assertEquals ($ body ->links , $ response ->links );
73
77
$ this ->assertEquals ($ body ->mandate_request , $ response ->mandate_request );
74
78
$ this ->assertEquals ($ body ->metadata , $ response ->metadata );
@@ -101,7 +105,9 @@ public function testBillingRequestsCollectCustomerDetails()
101
105
$ this ->assertEquals ($ body ->actions , $ response ->actions );
102
106
$ this ->assertEquals ($ body ->created_at , $ response ->created_at );
103
107
$ this ->assertEquals ($ body ->fallback_enabled , $ response ->fallback_enabled );
108
+ $ this ->assertEquals ($ body ->fallback_occurred , $ response ->fallback_occurred );
104
109
$ this ->assertEquals ($ body ->id , $ response ->id );
110
+ $ this ->assertEquals ($ body ->instalment_schedule_request , $ response ->instalment_schedule_request );
105
111
$ this ->assertEquals ($ body ->links , $ response ->links );
106
112
$ this ->assertEquals ($ body ->mandate_request , $ response ->mandate_request );
107
113
$ this ->assertEquals ($ body ->metadata , $ response ->metadata );
@@ -133,7 +139,9 @@ public function testBillingRequestsCollectBankAccount()
133
139
$ this ->assertEquals ($ body ->actions , $ response ->actions );
134
140
$ this ->assertEquals ($ body ->created_at , $ response ->created_at );
135
141
$ this ->assertEquals ($ body ->fallback_enabled , $ response ->fallback_enabled );
142
+ $ this ->assertEquals ($ body ->fallback_occurred , $ response ->fallback_occurred );
136
143
$ this ->assertEquals ($ body ->id , $ response ->id );
144
+ $ this ->assertEquals ($ body ->instalment_schedule_request , $ response ->instalment_schedule_request );
137
145
$ this ->assertEquals ($ body ->links , $ response ->links );
138
146
$ this ->assertEquals ($ body ->mandate_request , $ response ->mandate_request );
139
147
$ this ->assertEquals ($ body ->metadata , $ response ->metadata );
@@ -165,7 +173,9 @@ public function testBillingRequestsConfirmPayerDetails()
165
173
$ this ->assertEquals ($ body ->actions , $ response ->actions );
166
174
$ this ->assertEquals ($ body ->created_at , $ response ->created_at );
167
175
$ this ->assertEquals ($ body ->fallback_enabled , $ response ->fallback_enabled );
176
+ $ this ->assertEquals ($ body ->fallback_occurred , $ response ->fallback_occurred );
168
177
$ this ->assertEquals ($ body ->id , $ response ->id );
178
+ $ this ->assertEquals ($ body ->instalment_schedule_request , $ response ->instalment_schedule_request );
169
179
$ this ->assertEquals ($ body ->links , $ response ->links );
170
180
$ this ->assertEquals ($ body ->mandate_request , $ response ->mandate_request );
171
181
$ this ->assertEquals ($ body ->metadata , $ response ->metadata );
@@ -197,7 +207,9 @@ public function testBillingRequestsFulfil()
197
207
$ this ->assertEquals ($ body ->actions , $ response ->actions );
198
208
$ this ->assertEquals ($ body ->created_at , $ response ->created_at );
199
209
$ this ->assertEquals ($ body ->fallback_enabled , $ response ->fallback_enabled );
210
+ $ this ->assertEquals ($ body ->fallback_occurred , $ response ->fallback_occurred );
200
211
$ this ->assertEquals ($ body ->id , $ response ->id );
212
+ $ this ->assertEquals ($ body ->instalment_schedule_request , $ response ->instalment_schedule_request );
201
213
$ this ->assertEquals ($ body ->links , $ response ->links );
202
214
$ this ->assertEquals ($ body ->mandate_request , $ response ->mandate_request );
203
215
$ this ->assertEquals ($ body ->metadata , $ response ->metadata );
@@ -229,7 +241,9 @@ public function testBillingRequestsCancel()
229
241
$ this ->assertEquals ($ body ->actions , $ response ->actions );
230
242
$ this ->assertEquals ($ body ->created_at , $ response ->created_at );
231
243
$ this ->assertEquals ($ body ->fallback_enabled , $ response ->fallback_enabled );
244
+ $ this ->assertEquals ($ body ->fallback_occurred , $ response ->fallback_occurred );
232
245
$ this ->assertEquals ($ body ->id , $ response ->id );
246
+ $ this ->assertEquals ($ body ->instalment_schedule_request , $ response ->instalment_schedule_request );
233
247
$ this ->assertEquals ($ body ->links , $ response ->links );
234
248
$ this ->assertEquals ($ body ->mandate_request , $ response ->mandate_request );
235
249
$ this ->assertEquals ($ body ->metadata , $ response ->metadata );
@@ -281,10 +295,18 @@ public function testBillingRequestsList()
281
295
$ this ->assertEquals ($ body [$ num ]->fallback_enabled , $ record ->fallback_enabled );
282
296
}
283
297
298
+ if (isset ($ body [$ num ]->fallback_occurred )) {
299
+ $ this ->assertEquals ($ body [$ num ]->fallback_occurred , $ record ->fallback_occurred );
300
+ }
301
+
284
302
if (isset ($ body [$ num ]->id )) {
285
303
$ this ->assertEquals ($ body [$ num ]->id , $ record ->id );
286
304
}
287
305
306
+ if (isset ($ body [$ num ]->instalment_schedule_request )) {
307
+ $ this ->assertEquals ($ body [$ num ]->instalment_schedule_request , $ record ->instalment_schedule_request );
308
+ }
309
+
288
310
if (isset ($ body [$ num ]->links )) {
289
311
$ this ->assertEquals ($ body [$ num ]->links , $ record ->links );
290
312
}
@@ -340,7 +362,9 @@ public function testBillingRequestsGet()
340
362
$ this ->assertEquals ($ body ->actions , $ response ->actions );
341
363
$ this ->assertEquals ($ body ->created_at , $ response ->created_at );
342
364
$ this ->assertEquals ($ body ->fallback_enabled , $ response ->fallback_enabled );
365
+ $ this ->assertEquals ($ body ->fallback_occurred , $ response ->fallback_occurred );
343
366
$ this ->assertEquals ($ body ->id , $ response ->id );
367
+ $ this ->assertEquals ($ body ->instalment_schedule_request , $ response ->instalment_schedule_request );
344
368
$ this ->assertEquals ($ body ->links , $ response ->links );
345
369
$ this ->assertEquals ($ body ->mandate_request , $ response ->mandate_request );
346
370
$ this ->assertEquals ($ body ->metadata , $ response ->metadata );
@@ -372,7 +396,9 @@ public function testBillingRequestsNotify()
372
396
$ this ->assertEquals ($ body ->actions , $ response ->actions );
373
397
$ this ->assertEquals ($ body ->created_at , $ response ->created_at );
374
398
$ this ->assertEquals ($ body ->fallback_enabled , $ response ->fallback_enabled );
399
+ $ this ->assertEquals ($ body ->fallback_occurred , $ response ->fallback_occurred );
375
400
$ this ->assertEquals ($ body ->id , $ response ->id );
401
+ $ this ->assertEquals ($ body ->instalment_schedule_request , $ response ->instalment_schedule_request );
376
402
$ this ->assertEquals ($ body ->links , $ response ->links );
377
403
$ this ->assertEquals ($ body ->mandate_request , $ response ->mandate_request );
378
404
$ this ->assertEquals ($ body ->metadata , $ response ->metadata );
@@ -404,7 +430,9 @@ public function testBillingRequestsFallback()
404
430
$ this ->assertEquals ($ body ->actions , $ response ->actions );
405
431
$ this ->assertEquals ($ body ->created_at , $ response ->created_at );
406
432
$ this ->assertEquals ($ body ->fallback_enabled , $ response ->fallback_enabled );
433
+ $ this ->assertEquals ($ body ->fallback_occurred , $ response ->fallback_occurred );
407
434
$ this ->assertEquals ($ body ->id , $ response ->id );
435
+ $ this ->assertEquals ($ body ->instalment_schedule_request , $ response ->instalment_schedule_request );
408
436
$ this ->assertEquals ($ body ->links , $ response ->links );
409
437
$ this ->assertEquals ($ body ->mandate_request , $ response ->mandate_request );
410
438
$ this ->assertEquals ($ body ->metadata , $ response ->metadata );
@@ -436,7 +464,9 @@ public function testBillingRequestsChooseCurrency()
436
464
$ this ->assertEquals ($ body ->actions , $ response ->actions );
437
465
$ this ->assertEquals ($ body ->created_at , $ response ->created_at );
438
466
$ this ->assertEquals ($ body ->fallback_enabled , $ response ->fallback_enabled );
467
+ $ this ->assertEquals ($ body ->fallback_occurred , $ response ->fallback_occurred );
439
468
$ this ->assertEquals ($ body ->id , $ response ->id );
469
+ $ this ->assertEquals ($ body ->instalment_schedule_request , $ response ->instalment_schedule_request );
440
470
$ this ->assertEquals ($ body ->links , $ response ->links );
441
471
$ this ->assertEquals ($ body ->mandate_request , $ response ->mandate_request );
442
472
$ this ->assertEquals ($ body ->metadata , $ response ->metadata );
@@ -468,7 +498,9 @@ public function testBillingRequestsSelectInstitution()
468
498
$ this ->assertEquals ($ body ->actions , $ response ->actions );
469
499
$ this ->assertEquals ($ body ->created_at , $ response ->created_at );
470
500
$ this ->assertEquals ($ body ->fallback_enabled , $ response ->fallback_enabled );
501
+ $ this ->assertEquals ($ body ->fallback_occurred , $ response ->fallback_occurred );
471
502
$ this ->assertEquals ($ body ->id , $ response ->id );
503
+ $ this ->assertEquals ($ body ->instalment_schedule_request , $ response ->instalment_schedule_request );
472
504
$ this ->assertEquals ($ body ->links , $ response ->links );
473
505
$ this ->assertEquals ($ body ->mandate_request , $ response ->mandate_request );
474
506
$ this ->assertEquals ($ body ->metadata , $ response ->metadata );
0 commit comments