Service
in package

Table of Contents

$description  : string
$id  : int
$isAutoLimit  : mixed
$maxQuantity  : int|string
$minQuantity  : mixed
$originalId  : int
$periodicity  : string
$price  : float
$repeat  : string
$title  : string
create()  : Service
getDescription()  : string
getId()  : int
getMaxQuantity()  : int|string
getMaxQuantityNumber()  : int
getMinQuantity()  : mixed
getOriginalId()  : int
getPeriodicity()  : string
getPrice()  : float
getPriceHTML()  : string
getPriceWithConditions()  : string
getRepeatability()  : string
getTitle()  : string
isAutoLimit()  : mixed
isFlexiblePay()  : mixed
isFree()  : bool
isPayPerAdult()  : bool
isPayPerNight()  : bool
isUnlimited()  : mixed
__construct()  : mixed

Properties

$description

protected string $description

$id

protected int $id

$isAutoLimit

protected mixed $isAutoLimit

$maxQuantity

protected int|string $maxQuantity

$minQuantity

protected mixed $minQuantity

$originalId

protected int $originalId

$periodicity

protected string $periodicity

$price

protected float $price

$repeat

protected string $repeat

$title

protected string $title

Methods

create()

public static create(array<string|int, mixed> $atts) : Service
Parameters
$atts : array<string|int, mixed>
Return values
Service —

getDescription()

public getDescription() : string
Return values
string —

getId()

public getId() : int
Return values
int —

getMaxQuantity()

public getMaxQuantity() : int|string
Return values
int|string —

getMaxQuantityNumber()

public getMaxQuantityNumber() : int
Return values
int —

getMinQuantity()

public getMinQuantity() : mixed
Return values
mixed —

getOriginalId()

public getOriginalId() : int
Return values
int —

getPeriodicity()

public getPeriodicity() : string
Return values
string —

getPrice()

public getPrice() : float
Return values
float —

getPriceHTML()

public getPriceHTML([bool $literalFree = true ]) : string
Parameters
$literalFree : bool = true
Return values
string —

getPriceWithConditions()

public getPriceWithConditions([bool $repeatability = true ][, bool $periodicity = true ][, bool $literalFree = true ]) : string
Parameters
$repeatability : bool = true

Whether to show conditions of repeatedness. Default TRUE.*

$periodicity : bool = true

Whether to show conditions of periodicity. Default TRUE.

$literalFree : bool = true

Whether to replace 0 price to free label. Default TRUE.

Return values
string —

getRepeatability()

public getRepeatability() : string
Return values
string —

getTitle()

public getTitle() : string
Return values
string —

isAutoLimit()

public isAutoLimit() : mixed
Return values
mixed —

isFlexiblePay()

public isFlexiblePay() : mixed
Return values
mixed —

isFree()

public isFree() : bool
Return values
bool —

isPayPerAdult()

public isPayPerAdult() : bool
Return values
bool —

isPayPerNight()

public isPayPerNight() : bool
Return values
bool —

isUnlimited()

public isUnlimited() : mixed
Return values
mixed —

__construct()

protected __construct(array<string|int, mixed> $atts) : mixed
Parameters
$atts : array<string|int, mixed>
Return values
mixed —

Search results