47 $amountModel = $this->objectManager->create(
48 self::DEFAULT_PRICE_AMOUNT_CLASS,
51 'adjustmentAmounts' => $adjustmentAmounts
56 throw new \InvalidArgumentException(
57 get_class($amountModel) .
' doesn\'t implement \Magento\Framework\Pricing\Amount\AmountInterface'
__construct(\Magento\Framework\ObjectManagerInterface $objectManager)
const DEFAULT_PRICE_AMOUNT_CLASS
create($amount, array $adjustmentAmounts=[])