File tree Expand file tree Collapse file tree 1 file changed +54
-0
lines changed
app/code/Magento/Quote/Test/Unit/Helper Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,16 @@ class TotalsExtensionTestHelper implements TotalsExtensionInterface
4949 */
5050 private $ couponsLabels ;
5151
52+ /**
53+ * @var float|null
54+ */
55+ private $ baseCustomerBalanceAmount ;
56+
57+ /**
58+ * @var float|null
59+ */
60+ private $ customerBalanceAmount ;
61+
5262 /**
5363 * Get negotiable quote totals
5464 *
@@ -202,4 +212,48 @@ public function setCouponsLabels($couponsLabels)
202212 $ this ->couponsLabels = $ couponsLabels ;
203213 return $ this ;
204214 }
215+
216+ /**
217+ * Get base customer balance amount
218+ *
219+ * @return float|null
220+ */
221+ public function getBaseCustomerBalanceAmount ()
222+ {
223+ return $ this ->baseCustomerBalanceAmount ;
224+ }
225+
226+ /**
227+ * Set base customer balance amount
228+ *
229+ * @param float|null $baseCustomerBalanceAmount
230+ * @return $this
231+ */
232+ public function setBaseCustomerBalanceAmount ($ baseCustomerBalanceAmount )
233+ {
234+ $ this ->baseCustomerBalanceAmount = $ baseCustomerBalanceAmount ;
235+ return $ this ;
236+ }
237+
238+ /**
239+ * Get customer balance amount
240+ *
241+ * @return float|null
242+ */
243+ public function getCustomerBalanceAmount ()
244+ {
245+ return $ this ->customerBalanceAmount ;
246+ }
247+
248+ /**
249+ * Set customer balance amount
250+ *
251+ * @param float|null $customerBalanceAmount
252+ * @return $this
253+ */
254+ public function setCustomerBalanceAmount ($ customerBalanceAmount )
255+ {
256+ $ this ->customerBalanceAmount = $ customerBalanceAmount ;
257+ return $ this ;
258+ }
205259}
You can’t perform that action at this time.
0 commit comments