TaxesAndFeesSettings
in package

Table of Contents

$fees  : mixed
$taxes  : mixed
getAccommodationTaxes()  : array<string|int, mixed>
getFees()  : mixed
getFeeTaxes()  : mixed
getServiceTaxes()  : mixed
filterByTypeId()  : mixed
getTaxes()  : array<string|int, mixed>
structurize()  : mixed

Properties

$fees

private mixed $fees = null

$taxes

private mixed $taxes = array()

Methods

getAccommodationTaxes()

public getAccommodationTaxes(int $typeId) : array<string|int, mixed>
Parameters
$typeId : int
Return values
array<string|int, mixed>

getFees()

public getFees(mixed $typeId) : mixed
Parameters
$typeId : mixed
Return values
mixed

getFeeTaxes()

public getFeeTaxes(mixed $typeId) : mixed
Parameters
$typeId : mixed
Return values
mixed

getServiceTaxes()

public getServiceTaxes(mixed $typeId) : mixed
Parameters
$typeId : mixed
Return values
mixed

filterByTypeId()

private filterByTypeId(mixed $rules, mixed $filterId) : mixed
Parameters
$rules : mixed
$filterId : mixed
Return values
mixed

getTaxes()

private getTaxes(string $name, int $typeId) : array<string|int, mixed>
Parameters
$name : string
$typeId : int
Return values
array<string|int, mixed>

structurize()

private structurize(mixed $rules) : mixed
Parameters
$rules : mixed
Tags
since
3.9.8

$rule['included']

Return values
mixed

Search results