1: <?php
2: /*
3: * This file was automatically generated.
4: */
5: namespace Worldline\Acquiring\Sdk\V1;
6:
7: use Worldline\Acquiring\Sdk\Domain\DataObject;
8:
9: /**
10: * Class ReferenceException
11: *
12: * @package Worldline\Acquiring\Sdk\V1
13: */
14: class ReferenceException extends ApiException
15: {
16: /**
17: * @param int $httpStatusCode
18: * @param DataObject $response
19: * @param string $message
20: */
21: public function __construct($httpStatusCode, DataObject $response, $message = null)
22: {
23: if (is_null($message)) {
24: $message = 'The Worldline Acquiring platform returned a reference error response';
25: }
26: parent::__construct($httpStatusCode, $response, $message);
27: }
28: }
29: