| 1: | <?php |
| 2: | |
| 3: | declare(strict_types=1); |
| 4: | |
| 5: | |
| 6: | |
| 7: | |
| 8: | |
| 9: | |
| 10: | |
| 11: | namespace NxSys\Library\Clients\Brex\API\Transactions\Exception; |
| 12: | |
| 13: | class ListPrimaryCardStatementsBadRequestException extends BadRequestException |
| 14: | { |
| 15: | |
| 16: | |
| 17: | |
| 18: | private $response; |
| 19: | |
| 20: | public function __construct(\Psr\Http\Message\ResponseInterface $response = null) |
| 21: | { |
| 22: | parent::__construct('Bad request'); |
| 23: | $this->response = $response; |
| 24: | } |
| 25: | |
| 26: | public function getResponse(): ?\Psr\Http\Message\ResponseInterface |
| 27: | { |
| 28: | return $this->response; |
| 29: | } |
| 30: | } |
| 31: | |