| 1 | <?php |
||
| 21 | class CompletePurchaseResponse extends AbstractResponse |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * |
||
| 25 | */ |
||
| 26 | private $errorMessage; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Whether the payment is successful. |
||
| 30 | * |
||
| 31 | * @return boolean |
||
| 32 | */ |
||
| 33 | public function isSuccessful( ) |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Is the response successful? |
||
| 40 | * |
||
| 41 | * @return boolean |
||
| 42 | */ |
||
| 43 | public function isPending( ) |
||
| 47 | |||
| 48 | /** |
||
| 49 | * {@inheritdoc} |
||
| 50 | */ |
||
| 51 | public function __construct( RequestInterface $request, $data ) |
||
| 60 | |||
| 61 | } |
||
| 62 |