CustomerGroupSurcharge
extends Base
in package
Class CustomerGroupSurcharge.
Table of Contents
- $discount : int
- $id : int
- $value : int
- getArrayCopy() : array<string|int, mixed>
- Gets the attributes of this entity.
- getDiscount() : int
- getId() : int
- getValue() : int
- setDiscount() : CustomerGroupSurcharge
- setEntityAttributes() : $this
- Sets the attributes of this entity.
- setId() : CustomerGroupSurcharge
- setValue() : CustomerGroupSurcharge
Properties
$discount
protected
int
$discount
$id
protected
int
$id
$value
protected
int
$value
Methods
getArrayCopy()
Gets the attributes of this entity.
public
getArrayCopy() : array<string|int, mixed>
Return values
array<string|int, mixed> —getDiscount()
public
getDiscount() : int
Return values
int —getId()
public
getId() : int
Return values
int —getValue()
public
getValue() : int
Return values
int —setDiscount()
public
setDiscount(int $discount) : CustomerGroupSurcharge
Parameters
- $discount : int
Return values
CustomerGroupSurcharge —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) : CustomerGroupSurcharge
Parameters
- $id : int
Return values
CustomerGroupSurcharge —setValue()
public
setValue(int $value) : CustomerGroupSurcharge
Parameters
- $value : int