Class LoopBookingCreate
Create a booking using the loopback test channel.
- MyAllocator\phpsdk\src\MaBaseClass
-
MyAllocator\phpsdk\src\Api\MaApi
-
MyAllocator\phpsdk\src\Api\LoopBookingCreate
Methods summary
Methods inherited from MyAllocator\phpsdk\src\Api\MaApi
__construct(),
callApi(),
callApiWithParams(),
getAuth(),
getLastApiResponse(),
isEnabled(),
setAuth(),
setParams()
Methods inherited from MyAllocator\phpsdk\src\MaBaseClass
debug(),
debug_echo(),
debug_print_r(),
debug_var_dump(),
getConfig(),
setConfig()
Magic methods summary
Properties summary
protected
string
|
$id
The api to call. |
#
'LoopBookingCreate'
|
protected
array
|
$keys
Array of required and optional authentication and argument keys (string) for API method. |
#
array(
'auth' => array(
'req' => array(
'Auth/VendorId',
'Auth/VendorPassword',
'Auth/PropertyId',
'UserCredentials' => array(
'Auth/UserId',
'Auth/UserPassword'
),
'UserToken' => array(
'Auth/UserToken'
)
),
'opt' => array()
),
'args' => array(
'req' => array(
'Booking'
),
'opt' => array()
)
)
|