1 | <?php |
||
17 | class OldCompletePurchaseResponse extends CompletePurchaseResponse |
||
18 | { |
||
19 | /** |
||
20 | * The checkout ID. |
||
21 | * |
||
22 | * @return string |
||
23 | */ |
||
24 | 4 | public function getCheckoutId() |
|
28 | |||
29 | /** |
||
30 | * The transaction identifier generated by the merchant website. |
||
31 | * |
||
32 | * @return string |
||
33 | */ |
||
34 | 1 | public function getTransactionId() |
|
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | 1 | public function getTransactionReference() |
|
46 | |||
47 | /** |
||
48 | * The amount of payment. |
||
49 | * |
||
50 | * @return mixed |
||
51 | */ |
||
52 | 1 | public function getAmount() |
|
56 | |||
57 | /** |
||
58 | * The currency of the payment. |
||
59 | */ |
||
60 | 1 | public function getCurrency() |
|
64 | |||
65 | /** |
||
66 | * {@inheritdoc} |
||
67 | */ |
||
68 | 1 | public function getPayer() |
|
72 | |||
73 | /** |
||
74 | * The time of request processing. |
||
75 | * |
||
76 | * @return string |
||
77 | */ |
||
78 | 1 | public function getTime() |
|
83 | |||
84 | /** |
||
85 | * The state of the payment. |
||
86 | * Possible results: |
||
87 | * - `success`: the payment processed successfully |
||
88 | * - `fail`: the payment failed. |
||
89 | * |
||
90 | * @return string |
||
91 | * @see isSuccessful |
||
92 | */ |
||
93 | public function getState() |
||
97 | |||
98 | /** |
||
99 | * {@inheritdoc} |
||
100 | */ |
||
101 | public function getSign() |
||
105 | } |
||
106 |