1 | <?php |
||
18 | class OldCompletePurchaseResponse extends CompletePurchaseResponse |
||
19 | { |
||
20 | /** |
||
21 | * The checkout ID. |
||
22 | * |
||
23 | * @return string |
||
24 | */ |
||
25 | 1 | public function getCheckoutId() |
|
29 | |||
30 | /** |
||
31 | * The transaction identifier generated by the merchant website. |
||
32 | * |
||
33 | * @return string |
||
34 | */ |
||
35 | 1 | public function getTransactionId() |
|
39 | |||
40 | /** |
||
41 | * {@inheritdoc} |
||
42 | */ |
||
43 | 1 | public function getTransactionReference() |
|
47 | |||
48 | /** |
||
49 | * The amount of payment. |
||
50 | * |
||
51 | * @return mixed |
||
52 | */ |
||
53 | 1 | public function getAmount() |
|
57 | |||
58 | /** |
||
59 | * The currency of the payment. |
||
60 | * |
||
61 | * @return null currency is set |
||
62 | */ |
||
63 | 1 | public function getCurrency() |
|
67 | |||
68 | /** |
||
69 | * {@inheritdoc} |
||
70 | */ |
||
71 | 1 | public function getPayer() |
|
75 | |||
76 | /** |
||
77 | * The time of request processing. |
||
78 | * |
||
79 | * @return string |
||
80 | */ |
||
81 | 1 | public function getTime() |
|
85 | |||
86 | /** |
||
87 | * The state of the payment. |
||
88 | * Possible results: |
||
89 | * - `success`: the payment processed successfully |
||
90 | * - `fail`: the payment failed. |
||
91 | * |
||
92 | * @return string |
||
93 | * @see isSuccessful |
||
94 | */ |
||
95 | 3 | public function getState() |
|
99 | |||
100 | /** |
||
101 | * {@inheritdoc} |
||
102 | */ |
||
103 | 4 | public function getSign() |
|
107 | } |
||
108 |