TaxesAndFees
in package

Tags
since
3.9.8

Table of Contents

$fees  : array<string|int, mixed>
$feeTaxes  : array<string|int, mixed>
$roomPrice  : float
$roomType  : RoomType
$roomTypeId  : int
$taxes  : array<string|int, mixed>
$taxExcludedTotal  : float
$taxIncludedTotal  : float
$atts  : mixed
$searchParameters  : mixed
__construct()  : mixed
areTaxesAndFeesDefined()  : bool
getAllFeesForRoom()  : array<string|int, mixed>
getAllFeeTaxesForRoom()  : array<string|int, mixed>
getAllTaxesForRoom()  : array<string|int, mixed>
getExcludedTaxesAndFees()  : float
getIncludedTaxesAndFees()  : float
getPriceWithTaxesAndFees()  : float
hasExcludedTaxesAndFees()  : bool
hasIncludedTaxesAndFees()  : bool
hasTaxesAndFees()  : bool
setDefined()  : mixed
setRoomPrice()  : mixed
setRoomType()  : mixed
setupParams()  : mixed
afterSetRoomType()  : mixed
afterSetupParams()  : mixed
calcFees()  : mixed
calcTaxes()  : mixed
setAtts()  : mixed
setTaxesAndFees()  : mixed

Properties

$fees

public array<string|int, mixed> $fees

$feeTaxes

public array<string|int, mixed> $feeTaxes

$roomPrice

public float $roomPrice

$roomType

public RoomType $roomType

$roomTypeId

public int $roomTypeId

$taxes

public array<string|int, mixed> $taxes

$taxExcludedTotal

public float $taxExcludedTotal

$taxIncludedTotal

public float $taxIncludedTotal

$atts

private mixed $atts = array()

$searchParameters

private mixed $searchParameters = array()

Methods

__construct()

public __construct() : mixed
Return values
mixed

areTaxesAndFeesDefined()

public areTaxesAndFeesDefined() : bool
Return values
bool

getAllFeesForRoom()

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

getAllFeeTaxesForRoom()

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

getAllTaxesForRoom()

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

getExcludedTaxesAndFees()

public getExcludedTaxesAndFees() : float
Return values
float

getIncludedTaxesAndFees()

public getIncludedTaxesAndFees() : float
Return values
float

getPriceWithTaxesAndFees()

public getPriceWithTaxesAndFees() : float
Return values
float

hasExcludedTaxesAndFees()

public hasExcludedTaxesAndFees() : bool
Return values
bool

hasIncludedTaxesAndFees()

public hasIncludedTaxesAndFees() : bool
Return values
bool

hasTaxesAndFees()

public hasTaxesAndFees() : bool
Return values
bool

setDefined()

public setDefined([bool $defined = true ]) : mixed
Parameters
$defined : bool = true

Optional.

Return values
mixed

setRoomPrice()

public setRoomPrice(float $roomPrice) : mixed
Parameters
$roomPrice : float
Return values
mixed

setRoomType()

public setRoomType([RoomType $roomType = null ]) : mixed
Parameters
$roomType : RoomType = null

Optional.

Return values
mixed

setupParams()

public setupParams([array<string|int, mixed> $atts = array() ]) : mixed
Parameters
$atts : array<string|int, mixed> = array()

Optional. Array of attributes to calculate taxes and fees.

Return values
mixed

afterSetRoomType()

private afterSetRoomType() : mixed
Return values
mixed

afterSetupParams()

private afterSetupParams() : mixed
Return values
mixed

calcFees()

private calcFees() : mixed
Return values
mixed

calcTaxes()

private calcTaxes() : mixed
Return values
mixed

setAtts()

private setAtts([array<string|int, mixed> $atts = array() ]) : mixed
Parameters
$atts : array<string|int, mixed> = array()

Optional.

Return values
mixed

setTaxesAndFees()

private setTaxesAndFees() : mixed
Return values
mixed

Search results