File tree 1 file changed +17
-11
lines changed
1 file changed +17
-11
lines changed Original file line number Diff line number Diff line change @@ -384,6 +384,20 @@ public function getMerchant()
384
384
return $ this ->merchant ;
385
385
}
386
386
387
+ /**
388
+ * Set sandbox mode.
389
+ *
390
+ * @param bool $enabled
391
+ *
392
+ * @return $this
393
+ */
394
+ public function sandboxMode ($ enabled = false )
395
+ {
396
+ $ this ->sandboxEnabled = $ enabled ;
397
+
398
+ return $ this ;
399
+ }
400
+
387
401
/**
388
402
* Make a API request.
389
403
*
@@ -451,19 +465,11 @@ protected function parseResponse($response)
451
465
}
452
466
453
467
/**
454
- * Set sandbox mode.
455
- *
456
- * @param bool $enabled
457
- */
458
- public function sandboxMode ($ enabled = false )
459
- {
460
- $ this ->sandboxEnabled = $ enabled ;
461
- }
462
-
463
- /**
464
- * Wrap sandbox API.
468
+ * Wrap API.
465
469
*
466
470
* @param string $resource
471
+ *
472
+ * @return string
467
473
*/
468
474
protected function wrapApi ($ resource )
469
475
{
You can’t perform that action at this time.
0 commit comments