| 1 | <?php |
||
| 10 | class CompletePurchaseResponse extends AbstractResponse |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Is the response successful? |
||
| 14 | * |
||
| 15 | * @return boolean |
||
| 16 | */ |
||
| 17 | 2 | public function isSuccessful() |
|
| 21 | |||
| 22 | /** |
||
| 23 | * Get the authorisation code if available. |
||
| 24 | * |
||
| 25 | * @return null|string |
||
| 26 | */ |
||
| 27 | 2 | public function getTransactionReference() |
|
| 31 | |||
| 32 | /** |
||
| 33 | * Get the merchant response message if available. |
||
| 34 | * |
||
| 35 | * @return null|string |
||
| 36 | */ |
||
| 37 | 2 | public function getMessage() |
|
| 41 | |||
| 42 | /** |
||
| 43 | * Get the card brand if available e.g. Visa |
||
| 44 | * |
||
| 45 | * @return null|string |
||
| 46 | */ |
||
| 47 | 2 | public function getCardBrand() |
|
| 51 | |||
| 52 | /** |
||
| 53 | * Get the card expiry if available e.g. Visa |
||
| 54 | * |
||
| 55 | * @return null|string |
||
| 56 | */ |
||
| 57 | 2 | public function getCardExpiry() |
|
| 61 | |||
| 62 | /** |
||
| 63 | * Get the card masked number if available e.g. Visa |
||
| 64 | * |
||
| 65 | * @return null|string |
||
| 66 | */ |
||
| 67 | 2 | public function getCardNumber() |
|
| 71 | } |
||
| 72 |