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
$basePrice
protected
float
$basePrice
$discount
protected
float
$discount
$id
protected
int
$id
$key
protected
string
$key
$minimumOrder
protected
float
$minimumOrder
$minimumOrderSurcharge
protected
float
$minimumOrderSurcharge
$mode
protected
bool
$mode
$name
protected
string
$name
$percent
protected
float
$percent
$tax
protected
bool
$tax
$taxInput
protected
bool
$taxInput
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 —getId()
public
getId() : int
Return values
int —getKey()
public
getKey() : string
Return values
string —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 —isMode()
public
isMode() : bool
Return values
bool —isTax()
public
isTax() : bool
Return values
bool —isTaxInput()
public
isTaxInput() : bool
Return values
bool —setBasePrice()
public
setBasePrice(float $basePrice) : CustomerGroup
Parameters
- $basePrice : float
Return values
CustomerGroup —setDiscount()
public
setDiscount(float $discount) : CustomerGroup
Parameters
- $discount : float
Return values
CustomerGroup —setEntityAttributes()
Sets the attributes of this entity.
public
setEntityAttributes(array<string|int, mixed> $attributes) : $this
Parameters
- $attributes : array<string|int, mixed>
Return values
$this —setId()
public
setId(int $id) : CustomerGroup
Parameters
- $id : int
Return values
CustomerGroup —setKey()
public
setKey(string $key) : CustomerGroup
Parameters
- $key : string
Return values
CustomerGroup —setMinimumOrder()
public
setMinimumOrder(float $minimumOrder) : CustomerGroup
Parameters
- $minimumOrder : float
Return values
CustomerGroup —setMinimumOrderSurcharge()
public
setMinimumOrderSurcharge(float $minimumOrderSurcharge) : CustomerGroup
Parameters
- $minimumOrderSurcharge : float
Return values
CustomerGroup —setMode()
public
setMode(bool $mode) : CustomerGroup
Parameters
- $mode : bool
Return values
CustomerGroup —setName()
public
setName(string $name) : CustomerGroup
Parameters
- $name : string
Return values
CustomerGroup —setPercent()
public
setPercent(float $percent) : CustomerGroup
Parameters
- $percent : float
Return values
CustomerGroup —setTax()
public
setTax(bool $tax) : CustomerGroup
Parameters
- $tax : bool
Return values
CustomerGroup —setTaxInput()
public
setTaxInput(bool $taxInput) : CustomerGroup
Parameters
- $taxInput : bool