PHP Class Sylius\Component\Core\OrderProcessing\ShippingChargesProcessor

Author: Paweł Jędrzejewski ([email protected])
Inheritance: implements Sylius\Component\Core\OrderProcessing\OrderProcessorInterface
Show file Open project: sylius/sylius

Protected Properties

Property Type Description
$adjustmentFactory Sylius\Component\Resource\Factory\FactoryInterface
$shippingChargesCalculator Sylius\Component\Shipping\Calculator\DelegatingCalculatorInterface

Public Methods

Method Description
__construct ( Sylius\Component\Resource\Factory\FactoryInterface $adjustmentFactory, Sylius\Component\Shipping\Calculator\DelegatingCalculatorInterface $shippingChargesCalculator )
process ( Sylius\Component\Order\Model\OrderInterface $order )

Method Details

__construct() public method

public __construct ( Sylius\Component\Resource\Factory\FactoryInterface $adjustmentFactory, Sylius\Component\Shipping\Calculator\DelegatingCalculatorInterface $shippingChargesCalculator )
$adjustmentFactory Sylius\Component\Resource\Factory\FactoryInterface
$shippingChargesCalculator Sylius\Component\Shipping\Calculator\DelegatingCalculatorInterface

process() public method

public process ( Sylius\Component\Order\Model\OrderInterface $order )
$order Sylius\Component\Order\Model\OrderInterface

Property Details

$adjustmentFactory protected property

protected FactoryInterface,Sylius\Component\Resource\Factory $adjustmentFactory
return Sylius\Component\Resource\Factory\FactoryInterface

$shippingChargesCalculator protected property

protected DelegatingCalculatorInterface,Sylius\Component\Shipping\Calculator $shippingChargesCalculator
return Sylius\Component\Shipping\Calculator\DelegatingCalculatorInterface