1 | <?php |
||
20 | class SummaryPage extends SymfonyPage implements SummaryPageInterface |
||
21 | { |
||
22 | /** |
||
23 | * {@inheritdoc} |
||
24 | */ |
||
25 | public function getGrandTotal() |
||
31 | |||
32 | /** |
||
33 | * {@inheritdoc} |
||
34 | */ |
||
35 | public function getTaxTotal() |
||
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | */ |
||
45 | public function getShippingTotal() |
||
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | */ |
||
55 | public function getPromotionTotal() |
||
61 | |||
62 | /** |
||
63 | * {@inheritdoc} |
||
64 | */ |
||
65 | public function getItemRegularPrice($productName) |
||
71 | |||
72 | /** |
||
73 | * {@inheritdoc} |
||
74 | */ |
||
75 | public function getItemDiscountPrice($productName) |
||
81 | |||
82 | /** |
||
83 | * {@inheritdoc} |
||
84 | */ |
||
85 | public function isItemDiscounted($productName) |
||
89 | |||
90 | /** |
||
91 | * {@inheritdoc} |
||
92 | */ |
||
93 | public function removeProduct($productName) |
||
98 | |||
99 | /** |
||
100 | * {@inheritdoc} |
||
101 | */ |
||
102 | public function changeQuantity($productName, $quantity) |
||
109 | |||
110 | /** |
||
111 | * {@inheritdoc} |
||
112 | */ |
||
113 | public function isSingleItemOnPage() |
||
119 | |||
120 | /** |
||
121 | * {@inheritdoc} |
||
122 | */ |
||
123 | public function isItemWithName($name) |
||
127 | |||
128 | /** |
||
129 | * {@inheritdoc} |
||
130 | */ |
||
131 | public function isItemWithVariant($variantName) |
||
135 | |||
136 | /** |
||
137 | * {@inheritdoc} |
||
138 | */ |
||
139 | public function getProductOption($productName, $optionName) |
||
145 | |||
146 | /** |
||
147 | * {@inheritdoc} |
||
148 | */ |
||
149 | public function isEmpty() |
||
158 | |||
159 | /** |
||
160 | * {@inheritdoc} |
||
161 | */ |
||
162 | public function getRouteName() |
||
166 | |||
167 | /** |
||
168 | * {@inheritdoc} |
||
169 | */ |
||
170 | protected function getDefinedElements() |
||
187 | |||
188 | /** |
||
189 | * @param $attributeName |
||
190 | * @param $selector |
||
191 | * |
||
192 | * @return bool |
||
193 | * |
||
194 | * @throws ElementNotFoundException |
||
195 | */ |
||
196 | private function findItemWith($attributeName, $selector) |
||
208 | |||
209 | /** |
||
210 | * @param string $price |
||
211 | * |
||
212 | * @return int |
||
213 | */ |
||
214 | private function getPriceFromString($price) |
||
218 | } |
||
219 |