ShippingModifiers
class ShippingModifiers (View source)
Properties
protected | $modifiers | The collection of modifiers to use. |
Methods
__construct()
Initialise the class.
Collection
getModifiers()
Return the shipping modifiers.
void
add($modifier)
Add a shipping modifier.
void
remove($modifier)
Remove a shipping modifier.
Details
__construct()
Initialise the class.
Collection
getModifiers()
Return the shipping modifiers.
void
add($modifier)
Add a shipping modifier.
void
remove($modifier)
Remove a shipping modifier.