You are here

12 calls to Price::fromArray() in Commerce Core 8.2

AjaxPriceTestForm::submitForm in modules/price/tests/modules/commerce_price_test/src/Form/AjaxPriceTestForm.php
Form submission handler.
BuyXGetY::buildAdjustmentAmount in modules/promotion/src/Plugin/Commerce/PromotionOffer/BuyXGetY.php
Builds an adjustment amount for the given order item and quantity.
OrderTotalPrice::evaluate in modules/order/src/Plugin/Commerce/Condition/OrderTotalPrice.php
Evaluates the condition.
PaymentCaptureForm::submitConfigurationForm in modules/payment/src/PluginForm/PaymentCaptureForm.php
Form submission handler.
PaymentReceiveForm::submitConfigurationForm in modules/payment/src/PluginForm/PaymentReceiveForm.php
Form submission handler.
PaymentRefundForm::submitConfigurationForm in modules/payment/src/PluginForm/PaymentRefundForm.php
Form submission handler.
PaymentRefundForm::validateConfigurationForm in modules/payment/src/PluginForm/PaymentRefundForm.php
Form validation handler.
PriceItemGeneratedSampleValueTest::testGeneratedSampleValue in modules/price/tests/src/Kernel/PriceItemGeneratedSampleValueTest.php
Tests the generated sample value.
PriceTest::testCreateFromInvalidArray in modules/price/tests/src/Unit/PriceTest.php
Tests creating a price from an invalid array.
PriceTest::testCreateFromValidArray in modules/price/tests/src/Unit/PriceTest.php
Tests creating a price from a valid array.
PriceTestForm::submitForm in modules/price/tests/modules/commerce_price_test/src/Form/PriceTestForm.php
Form submission handler.
UnitPriceWidget::extractFormValues in modules/order/src/Plugin/Field/FieldWidget/UnitPriceWidget.php
Extracts field values from submitted form values.