Discount_With_Reductions

Trait for discount types that apply a reduction to products.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

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.

Search results