You are here

service commerce_order.price_splitter in Commerce Core 8.2

Class

Drupal\commerce_order\PriceSplitter
3 string references to commerce_order.price_splitter
BuyXGetY::create in modules/promotion/src/Plugin/Commerce/PromotionOffer/BuyXGetY.php
Creates an instance of the plugin.
OrderPromotionOfferBase::create in modules/promotion/src/Plugin/Commerce/PromotionOffer/OrderPromotionOfferBase.php
Creates an instance of the plugin.
PriceSplitterTest::setUp in modules/order/tests/src/Kernel/PriceSplitterTest.php

File

modules/order/commerce_order.services.yml
modules/order/commerce_order.services.yml

View source
  1. class: Drupal\commerce_order\PriceSplitter
  2. arguments:
  3. - '@entity_type.manager'
  4. - '@commerce_price.rounder'