1 | <?php |
||
7 | class TransactionFactory |
||
8 | { |
||
9 | 1 | public static function purchase($amount, CreditCard $card, array $extraOptions = []) |
|
13 | |||
14 | 1 | public static function authorize($amount, CreditCard $card, array $extraOptions = []) |
|
18 | |||
19 | 1 | public static function capture($amount, $id, array $extraOptions = []) |
|
23 | |||
24 | 1 | public static function refund($amount, $id, array $extraOptions = []) |
|
28 | |||
29 | 1 | public static function cancel($id, array $extraOptions = []) |
|
33 | |||
34 | 1 | public static function retrieve($id) |
|
38 | |||
39 | 1 | public static function initiate( |
|
52 | |||
53 | 1 | public static function query(array $criteria) |
|
57 | |||
58 | 1 | public static function threedSecureAuthenticate($pares, $transactionId) |
|
65 | |||
66 | 1 | public static function transfer( |
|
79 | } |
||
80 |