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

Returns

craft\commerce\models\OrderAdjustment[]

Signature

public abstract craft\commerce\models\OrderAdjustment[] adjust ( craft\commerce\elements\Order $order )