\AluPays\EntityBooking

Reserva.

Summary

Methods
Properties
Constants
__construct()
setCheckin()
setCheckout()
setCustomer()
setPax()
getCode()
getCheckin()
getCheckout()
getCustomer()
toArray()
toJSON()
No public properties found
No constants found
No protected methods found
$code
$checkin
$checkout
$customer
$pax
N/A
No private methods found
No private properties found
N/A

Properties

$code

$code : string

Type

string — El código de la reserva.

$checkin

$checkin : \DateTime

Type

\DateTime — La fecha y hora de checkin de la reserva.

$checkout

$checkout : \DateTime

Type

\DateTime — La fecha y hora de checkout de la reserva.

$customer

$customer : \AluPays\Entity\AluPays\Entity\Customer

Type

\AluPays\Entity\AluPays\Entity\Customer — Los datos del cliente asociado a la reserva.

$pax

$pax : integer

Type

integer — La cantidad de pasajeros de la reserva.

Methods

__construct()

__construct(  $code) 

Parameters

$code

setCheckin()

setCheckin(\DateTime  $checkin) 

Parameters

\DateTime $checkin

setCheckout()

setCheckout(\DateTime  $checkout) 

Parameters

\DateTime $checkout

setPax()

setPax(  $pax) 

Parameters

$pax

getCode()

getCode() 

getCheckin()

getCheckin() 

getCheckout()

getCheckout() 

getCustomer()

getCustomer() 

toArray()

toArray() 

toJSON()

toJSON()