Skip to content

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

Public Methods ​

MethodDescription
adjust()Returns adjustments to add to the order

adjust() ​

Returns adjustments to add to the order

View source

Arguments ​

  • $order

Returns ​

craft\commerce\models\OrderAdjustment[]