Discount_With_Reductions
Trait for discount types that apply a reduction to products.
Tags
Table of Contents
- get_discount_amount_type() : string
- Get the type of discount amount.
- get_reduction() : Reduction
- Get the reduction to apply to products.
Methods
get_discount_amount_type()
Get the type of discount amount.
public
get_discount_amount_type() : string
Possible values: 'percentage', 'fixed'.
Return values
string —The type of discount amount.
get_reduction()
Get the reduction to apply to products.
public
get_reduction() : Reduction
Return values
Reduction —The reduction to apply to products.