Activity
extends Resource
in package
implements
ResourceInterface
An Activity-related object as returned by the Tours and Activities API.
Tags
Interfaces, Classes, Traits and Enums
Table of Contents
- $bookingLink : string|null
- $description : string|null
- $geoCode : object|null
- $id : string|null
- $minimumDuration : string|null
- $name : string|null
- $pictures : array<string|int, mixed>|null
- $price : object|null
- $rating : string|null
- $response : Response|null
- $self : object|null
- $shortDescription : string|null
- $type : string|null
- __set() : void
- __toString() : string
- fromArray() : array<string|int, mixed>
- fromObject() : object
- getBookingLink() : string|null
- getDescription() : string|null
- getGeoCode() : GeoCode|null
- getId() : string|null
- getMinimumDuration() : string|null
- getName() : string|null
- getPictures() : array<string|int, mixed>|null
- getPrice() : ElementaryPrice|null
- getRating() : string|null
- getResponse() : Response|null
- getSelf() : Link|null
- getShortDescription() : string|null
- getType() : string|null
- toArray() : array<string|int, mixed>
- For fitting into the Laravel framework Transform the resource into an array.
- toResourceArray() : array<string|int, mixed>
- toResourceObject() : object
- toString() : string
Properties
$bookingLink
private
string|null
$bookingLink
= null
$description
private
string|null
$description
= null
$geoCode
private
object|null
$geoCode
= null
$id
private
string|null
$id
= null
$minimumDuration
private
string|null
$minimumDuration
= null
$name
private
string|null
$name
= null
$pictures
private
array<string|int, mixed>|null
$pictures
= null
$price
private
object|null
$price
= null
$rating
private
string|null
$rating
= null
$response
private
Response|null
$response
= null
$self
private
object|null
$self
= null
$shortDescription
private
string|null
$shortDescription
= null
$type
private
string|null
$type
= null
Methods
__set()
public
__set(mixed $name, mixed $value) : void
Parameters
- $name : mixed
- $value : mixed
Return values
void —__toString()
public
__toString() : string
Return values
string —fromArray()
public
static fromArray(Response $response, string $class) : array<string|int, mixed>
Parameters
- $response : Response
- $class : string
Return values
array<string|int, mixed> —fromObject()
public
static fromObject(Response $response, string $class) : object
Parameters
- $response : Response
- $class : string
Return values
object —getBookingLink()
public
getBookingLink() : string|null
Return values
string|null —getDescription()
public
getDescription() : string|null
Return values
string|null —getGeoCode()
public
getGeoCode() : GeoCode|null
Return values
GeoCode|null —getId()
public
getId() : string|null
Return values
string|null —getMinimumDuration()
public
getMinimumDuration() : string|null
Return values
string|null —getName()
public
getName() : string|null
Return values
string|null —getPictures()
public
getPictures() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null —getPrice()
public
getPrice() : ElementaryPrice|null
Return values
ElementaryPrice|null —getRating()
public
getRating() : string|null
Return values
string|null —getResponse()
public
getResponse() : Response|null
Return values
Response|null —getSelf()
public
getSelf() : Link|null
Return values
Link|null —getShortDescription()
public
getShortDescription() : string|null
Return values
string|null —getType()
public
getType() : string|null
Return values
string|null —toArray()
For fitting into the Laravel framework Transform the resource into an array.
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed> —toResourceArray()
public
static toResourceArray(array<string|int, mixed> $array, string $class) : array<string|int, mixed>
Parameters
- $array : array<string|int, mixed>
- $class : string
Return values
array<string|int, mixed> —toResourceObject()
public
static toResourceObject(object $object, string $class) : object
Parameters
- $object : object
- $class : string
Return values
object —toString()
public
static toString( $array) : string