Booking
extends Base
in package
Implement booking response object
Tags
Table of Contents
- $ : string
- $ : int
- $ : int
- $ : string|null
- $ : string|null
- $ : string
- $ : string|null
- $ : string|null
- $ : string|null
- $ : string|null
- $ : string
- $ : string
- $ : string
- $ : string
- $ : int|string
- $bill_person : string
- $id : null|int|string
- The primary key
- $type : string|null
- The object type
- $_date_format : string
- Pointer to date format of system
- $dynamics : array<string|int, mixed>
- __construct() : mixed
- General constructor.
- __get() : mixed|null
- Magic getter to avoid "PHP 8.2: Dynamic Properties are deprecated"
- __isset() : bool
- Magic check to avoid "PHP 8.2: Dynamic Properties are deprecated"
- __set() : void
- Magic setter to avoid "PHP 8.2: Dynamic Properties are deprecated"
- jsonSerialize() : array<string|int, mixed>
- patchExtra() : void
Properties
$
public
string
$
__type The type, static booking
$
public
int
$
status The status flag
$
public
int
$
persons The persons count
$
public
string|null
$
bill_address The address
$
public
string|null
$
created Creation date
$
public
string
$
article The article title
$
public
string|null
$
room_name The rooms label
$
public
string|null
$
basket_status The baskets status
$
public
string|null
$
room_id The room id
$
public
string|null
$
basket_id Basket id
$
public
string
$
person_names List of guest names
$
public
string
$
contact_phone The default contact phone number
$
public
string
$
contact_email The contact email
$
public
string
$
type
$
public
int|string
$
id
$bill_person
public
string
$bill_person
The person the bill was sent to
$id
The primary key
public
null|int|string
$id
= null
$type
The object type
public
string|null
$type
= null
$_date_format
Pointer to date format of system
protected
string
$_date_format
= FAA_DATE_SHORT
$dynamics
private
array<string|int, mixed>
$dynamics
= array()
Methods
__construct()
General constructor.
public
__construct(object $doc[, mixed $language = null ]) : mixed
Parameters
- $doc : object
-
The search response object
- $language : mixed = null
Return values
mixed —__get()
Magic getter to avoid "PHP 8.2: Dynamic Properties are deprecated"
public
__get( $name) : mixed|null
Parameters
Return values
mixed|null —__isset()
Magic check to avoid "PHP 8.2: Dynamic Properties are deprecated"
public
__isset( $name) : bool
Parameters
Return values
bool —__set()
Magic setter to avoid "PHP 8.2: Dynamic Properties are deprecated"
public
__set( $name, $value) : void
Parameters
Return values
void —jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed> —patchExtra()
protected
patchExtra(object $doc, array<string|int, mixed>|null $extra) : void
Parameters
- $doc : object
- $extra : array<string|int, mixed>|null