EPG PHP SDK
Loading...
Searching...
No Matches
Segment Class Reference

Public Member Functions

 setIataDepartureCode (string $iataDepartureCode)
 Set the IATA departure code for the segment.
 
 setIataDestinationCode (string $iataDestinationCode)
 Set the IATA destination code for the segment.
 
 getSegment ()
 Get the segment data as an array.
 

Member Function Documentation

◆ getSegment()

getSegment ( )

Get the segment data as an array.

Returns
array|null Returns the segment data as an array or null if not set.

◆ setIataDepartureCode()

setIataDepartureCode ( string  $iataDepartureCode)

Set the IATA departure code for the segment.

Parameters
string$iataDepartureCodeThe IATA departure code for the segment.
Returns
static Returns the instance of the class for method chaining.

◆ setIataDestinationCode()

setIataDestinationCode ( string  $iataDestinationCode)

Set the IATA destination code for the segment.

Parameters
string$iataDestinationCodeThe IATA destination code for the segment.
Returns
static Returns the instance of the class for method chaining.

The documentation for this class was generated from the following file: