1 | <?php |
||
10 | class Checkout |
||
11 | { |
||
12 | /** |
||
13 | * @param array $checkoutMethodData |
||
14 | * |
||
15 | * @return bool |
||
16 | * |
||
17 | */ |
||
18 | public static function isGuestCheckout(array $checkoutMethodData) |
||
22 | |||
23 | /** |
||
24 | * @param array $checkoutMethodData |
||
25 | * |
||
26 | * @return bool |
||
27 | * |
||
28 | */ |
||
29 | public static function isRegisterCheckout(array $checkoutMethodData) |
||
33 | |||
34 | /** |
||
35 | * @param array $checkoutMethodData |
||
36 | * |
||
37 | * @return bool |
||
38 | * |
||
39 | */ |
||
40 | public static function isCustomerCheckout(array $checkoutMethodData) |
||
44 | |||
45 | /** |
||
46 | * @param Mage_Sales_Model_Quote $quote |
||
47 | * |
||
48 | * @return Mage_Sales_Model_Order |
||
49 | * |
||
50 | */ |
||
51 | public static function quoteServiceSubmitAll(Mage_Sales_Model_Quote $quote) |
||
58 | |||
59 | /** |
||
60 | * @param $method |
||
61 | * @param $checkoutMethodData |
||
62 | * |
||
63 | * @return bool |
||
64 | */ |
||
65 | private static function _isCheckoutMethod($method, $checkoutMethodData) |
||
75 | } |
||
76 |