1 | <?php |
||
21 | class AbstractShoppingController extends AbstractController |
||
22 | { |
||
23 | /** |
||
24 | * @var PurchaseFlow |
||
25 | */ |
||
26 | protected $purchaseFlow; |
||
27 | |||
28 | /** |
||
29 | * @var PurchaseContext |
||
30 | */ |
||
31 | protected $purchaseContext; |
||
32 | |||
33 | /** |
||
34 | * @var string 非会員用セッションキー |
||
35 | */ |
||
36 | protected $sessionKey = 'eccube.front.shopping.nonmember'; |
||
37 | |||
38 | /** |
||
39 | * @var string 非会員用セッションキー |
||
40 | */ |
||
41 | protected $sessionCustomerAddressKey = 'eccube.front.shopping.nonmember.customeraddress'; |
||
42 | |||
43 | /** |
||
44 | * @var string 受注IDキー |
||
45 | */ |
||
46 | protected $sessionOrderKey = 'eccube.front.shopping.order.id'; |
||
47 | |||
48 | /** |
||
49 | * @param PurchaseFlow $shoppingPurchaseFlow |
||
50 | * @required |
||
51 | */ |
||
52 | 59 | public function setPurchaseFlow(PurchaseFlow $shoppingPurchaseFlow) |
|
56 | |||
57 | /** |
||
58 | * @param ItemHolderInterface $itemHolder |
||
59 | * |
||
60 | * @return PurchaseFlowResult |
||
61 | */ |
||
62 | 51 | protected function validatePurchaseFlow(ItemHolderInterface $itemHolder) |
|
75 | } |
||
76 |