| 1 | <?php |
||
| 16 | abstract class Transaction |
||
| 17 | { |
||
| 18 | private $clubKonnect; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Transactions constructor. |
||
| 22 | * @param ClubKonnect $clubKonnect |
||
| 23 | */ |
||
| 24 | public function __construct(ClubKonnect $clubKonnect) |
||
| 28 | |||
| 29 | |||
| 30 | /** |
||
| 31 | * |
||
| 32 | * @param string $orderID |
||
| 33 | * @return ClubKonnectResponse |
||
| 34 | */ |
||
| 35 | public function queryByOrderID(string $orderID): ClubKonnectResponse |
||
| 41 | |||
| 42 | /** |
||
| 43 | * |
||
| 44 | * @param string $requestID |
||
| 45 | * @return ClubKonnectResponse |
||
| 46 | */ |
||
| 47 | public function queryByRequestID(string $requestID): ClubKonnectResponse |
||
| 53 | |||
| 54 | /** |
||
| 55 | * |
||
| 56 | * @param string $orderID |
||
| 57 | * @return ClubKonnectResponse |
||
| 58 | */ |
||
| 59 | public function cancelTransaction(string $orderID): ClubKonnectResponse |
||
| 65 | |||
| 66 | |||
| 67 | } |
||
| 68 |