Documentation

FlightOrder extends Resource
in package
implements ResourceInterface

A FlightOrder object as returned by the Flight Create Orders API.

Tags
see
FlightOrders::post()
see
FlightOrders::postWithFlightOffersAndTravelers()
link
https://developers.amadeus.com/self-service/category/air/api-doc/flight-create-orders/api-reference

Interfaces, Classes, Traits and Enums

ResourceInterface

Table of Contents

$associatedRecords  : array<string|int, mixed>|null
$flightOffers  : array<string|int, mixed>|null
$id  : string|null
$queuingOfficeId  : string|null
$response  : Response|null
$travelers  : array<string|int, mixed>|null
$type  : string|null
__set()  : void
__toString()  : string
fromArray()  : array<string|int, mixed>
fromObject()  : object
getAssociatedRecords()  : array<string|int, FlightOrderAssociatedRecord>|null
getFlightOffers()  : array<string|int, FlightOffer>|null
getId()  : string|null
getQueuingOfficeId()  : string|null
getResponse()  : Response|null
getTravelers()  : array<string|int, TravelerElement>|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

$associatedRecords

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

$flightOffers

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

$queuingOfficeId

private string|null $queuingOfficeId = null

$travelers

private array<string|int, mixed>|null $travelers = 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

getId()

public getId() : string|null
Return values
string|null

getQueuingOfficeId()

public getQueuingOfficeId() : 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