Documentation

CustomerGroup extends Base
in package

Class CustomerGroup.

Table of Contents

$basePrice  : float
$discount  : float
$id  : int
$key  : string
$minimumOrder  : float
$minimumOrderSurcharge  : float
$mode  : bool
$name  : string
$percent  : float
$tax  : bool
$taxInput  : bool
getArrayCopy()  : array<string|int, mixed>
Gets the attributes of this entity.
getBasePrice()  : float
getDiscount()  : float
getId()  : int
getKey()  : string
getMinimumOrder()  : float
getMinimumOrderSurcharge()  : float
getName()  : string
getPercent()  : float
isMode()  : bool
isTax()  : bool
isTaxInput()  : bool
setBasePrice()  : CustomerGroup
setDiscount()  : CustomerGroup
setEntityAttributes()  : $this
Sets the attributes of this entity.
setId()  : CustomerGroup
setKey()  : CustomerGroup
setMinimumOrder()  : CustomerGroup
setMinimumOrderSurcharge()  : CustomerGroup
setMode()  : CustomerGroup
setName()  : CustomerGroup
setPercent()  : CustomerGroup
setTax()  : CustomerGroup
setTaxInput()  : CustomerGroup

Properties

$minimumOrderSurcharge

protected float $minimumOrderSurcharge

Methods

getArrayCopy()

Gets the attributes of this entity.

public getArrayCopy() : array<string|int, mixed>
Return values
array<string|int, mixed>

getBasePrice()

public getBasePrice() : float
Return values
float

getDiscount()

public getDiscount() : float
Return values
float

getMinimumOrder()

public getMinimumOrder() : float
Return values
float

getMinimumOrderSurcharge()

public getMinimumOrderSurcharge() : float
Return values
float

getName()

public getName() : string
Return values
string

getPercent()

public getPercent() : float
Return values
float

isTaxInput()

public isTaxInput() : bool
Return values
bool

setEntityAttributes()

Sets the attributes of this entity.

public setEntityAttributes(array<string|int, mixed> $attributes) : $this
Parameters
$attributes : array<string|int, mixed>
Return values
$this

Search results