diff --git a/src/Resources/Basket.php b/src/Resources/Basket.php index c35666b4..83e6a359 100755 --- a/src/Resources/Basket.php +++ b/src/Resources/Basket.php @@ -93,6 +93,28 @@ public function setAmountTotalGross(float $amountTotalGross): Basket return $this; } + /** + * @return float + * + * @deprecated since 1.2.0.0 Please use getAmountTotalGross instead. + */ + public function getAmountTotal(): float + { + return $this->getAmountTotalGross(); + } + + /** + * @param float $amountTotal + * + * @return Basket + * + * @deprecated since 1.2.0.0 Please use setAmountTotalGross instead. + */ + public function setAmountTotal(float $amountTotal): Basket + { + return $this->setAmountTotalGross($amountTotal); + } + /** * @return float */