1 | <?php |
||
11 | class CompletePurchaseResponse extends AbstractResponse |
||
12 | { |
||
13 | /** |
||
14 | * Is the response successful? |
||
15 | * |
||
16 | * @return boolean |
||
17 | */ |
||
18 | 6 | public function isSuccessful() |
|
22 | |||
23 | /** |
||
24 | * Get the authorisation code if available. |
||
25 | * |
||
26 | * @return null|string |
||
27 | */ |
||
28 | 6 | public function getTransactionReference() |
|
32 | |||
33 | /** |
||
34 | * Get the merchant response message if available. |
||
35 | * |
||
36 | * @return null|string |
||
37 | */ |
||
38 | 6 | public function getMessage() |
|
42 | |||
43 | /** |
||
44 | * Get the card type if available. |
||
45 | * |
||
46 | * @return null|string |
||
47 | */ |
||
48 | 6 | public function getCardType() |
|
52 | } |
||
53 |