Tax
Table of Contents
Methods
- calculate() : Result
- Calculation of taxes
- calculateDelivery() : Result
- getAvailableList() : array<string|int, mixed>
- getOrder() : OrderBase
- getRegistryType() : string
- getTaxList() : array<string|int, mixed>
- initTaxList() : mixed
- isClone() : bool
- isDeliveryCalculate() : bool
- load() : Tax
- loadExemptList() : array<string|int, mixed>
- refreshData() : mixed
- resetAvailableTaxList() : mixed
- resetTaxList() : mixed
- save() : Result
- setDeliveryCalculate() : mixed
Methods
calculate()
Calculation of taxes
public
calculate() : Result
Tags
Return values
ResultcalculateDelivery()
public
calculateDelivery() : Result
Tags
Return values
ResultgetAvailableList()
public
getAvailableList() : array<string|int, mixed>
Return values
array<string|int, mixed>getOrder()
public
getOrder() : OrderBase
Return values
OrderBasegetRegistryType()
public
static getRegistryType() : string
Return values
stringgetTaxList()
public
getTaxList() : array<string|int, mixed>
Return values
array<string|int, mixed>initTaxList()
public
initTaxList(array<string|int, mixed> $list) : mixed
Parameters
- $list : array<string|int, mixed>
isClone()
public
isClone() : bool
Return values
boolisDeliveryCalculate()
public
isDeliveryCalculate() : bool
Return values
boolload()
public
static load(OrderBase $order) : Tax
Parameters
- $order : OrderBase
Return values
TaxloadExemptList()
public
static loadExemptList(mixed $userId) : array<string|int, mixed>
Parameters
- $userId : mixed
Return values
array<string|int, mixed>refreshData()
public
refreshData() : mixed
resetAvailableTaxList()
public
resetAvailableTaxList() : mixed
resetTaxList()
public
resetTaxList() : mixed
save()
public
save() : Result
Tags
Return values
ResultsetDeliveryCalculate()
public
setDeliveryCalculate(mixed $value) : mixed
Parameters
- $value : mixed