Documentation

Activity extends Resource
in package
implements ResourceInterface

An Activity-related object as returned by the Tours and Activities API.

Tags
see
Activities::get()
see
Activity::get()
link
https://developers.amadeus.com/self-service/category/destination-content/api-doc/tours-and-activities/api-reference

Interfaces, Classes, Traits and Enums

ResourceInterface

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

private string|null $bookingLink = null

$description

private string|null $description = null

$geoCode

private object|null $geoCode = null

$minimumDuration

private string|null $minimumDuration = null

$pictures

private array<string|int, mixed>|null $pictures = null

$price

private object|null $price = null

$rating

private string|null $rating = null

$shortDescription

private string|null $shortDescription = 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
public getBookingLink() : string|null
Return values
string|null

getDescription()

public getDescription() : string|null
Return values
string|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

getRating()

public getRating() : string|null
Return values
string|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
Parameters
$array :
Return values
string

Search results