AdjusterInterface

Type
Interface
Namespace
craft\commerce\base
Implemented by
craft\commerce\adjusters\Discount, craft\commerce\adjusters\Shipping, craft\commerce\adjusters\Tax
Since
2.0

A method all adjusters must implement

View source (opens new window)

# Public Methods

Method Description
adjust() Returns adjustments to add to the order

# adjust()

Returns adjustments to add to the order

View source (opens new window)

Arguments

  • $order

Returns

craft\commerce\models\OrderAdjustment[]