PHP Class Api\StructType\ApiFareItinerary

Inheritance: extends WsdlToPhp\PackageBase\AbstractStructBase
Datei anzeigen Open project: wsdltophp/packagegenerator

Public Properties

Property Type Description
$clickoutURLParams string The clickoutURLParams Meta informations extracted from the WSDL - maxOccurs: 1 - minOccurs: 0
$firstSegmentsIds int[] The firstSegmentsIds Meta informations extracted from the WSDL - use: required
$key string The key Meta informations extracted from the WSDL - use: required
$price Api\StructType\ApiFareItineraryPrice The price Meta informations extracted from the WSDL - maxOccurs: 1 - minOccurs: 1
$resident boolean The resident
$secondSegmentsIds int[] The secondSegmentsIds
$thirdSegmentsIds int[] The thirdSegmentsIds

Public Methods

Method Description
__construct ( Api\StructType\ApiFareItineraryPrice $price = null, string $key = null, array $firstSegmentsIds = [], string $clickoutURLParams = null, boolean $resident = null, array $secondSegmentsIds = [], array $thirdSegmentsIds = [] ) Constructor method for fareItinerary
__set_state ( array $array ) : ApiFareItinerary Method called when an object has been exported with var_export() functions It allows to return an object instantiated with the values
__toString ( ) : string Method returning the class name
addToFirstSegmentsIds ( integer $item ) : ApiFareItinerary Add item to firstSegmentsIds value
addToSecondSegmentsIds ( integer $item ) : ApiFareItinerary Add item to secondSegmentsIds value
addToThirdSegmentsIds ( integer $item ) : ApiFareItinerary Add item to thirdSegmentsIds value
getClickoutURLParams ( ) : string | null Get clickoutURLParams value
getFirstSegmentsIds ( ) : int[] Get firstSegmentsIds value
getKey ( ) : string Get key value
getPrice ( ) : Api\StructType\ApiFareItineraryPrice Get price value
getResident ( ) : boolean | null Get resident value
getSecondSegmentsIds ( ) : int[] | null Get secondSegmentsIds value
getThirdSegmentsIds ( ) : int[] | null Get thirdSegmentsIds value
setClickoutURLParams ( string $clickoutURLParams = null ) : ApiFareItinerary Set clickoutURLParams value
setFirstSegmentsIds ( array $firstSegmentsIds = [] ) : ApiFareItinerary Set firstSegmentsIds value
setKey ( string $key = null ) : ApiFareItinerary Set key value
setPrice ( Api\StructType\ApiFareItineraryPrice $price = null ) : ApiFareItinerary Set price value
setResident ( boolean $resident = null ) : ApiFareItinerary Set resident value
setSecondSegmentsIds ( array $secondSegmentsIds = [] ) : ApiFareItinerary Set secondSegmentsIds value
setThirdSegmentsIds ( array $thirdSegmentsIds = [] ) : ApiFareItinerary Set thirdSegmentsIds value

Method Details

__construct() public method

Constructor method for fareItinerary
public __construct ( Api\StructType\ApiFareItineraryPrice $price = null, string $key = null, array $firstSegmentsIds = [], string $clickoutURLParams = null, boolean $resident = null, array $secondSegmentsIds = [], array $thirdSegmentsIds = [] )
$price Api\StructType\ApiFareItineraryPrice
$key string
$firstSegmentsIds array
$clickoutURLParams string
$resident boolean
$secondSegmentsIds array
$thirdSegmentsIds array

__set_state() public static method

Method called when an object has been exported with var_export() functions It allows to return an object instantiated with the values
See also: AbstractStructBase::__set_state()
public static __set_state ( array $array ) : ApiFareItinerary
$array array the exported values
return ApiFareItinerary

__toString() public method

Method returning the class name
public __toString ( ) : string
return string __CLASS__

addToFirstSegmentsIds() public method

Add item to firstSegmentsIds value
public addToFirstSegmentsIds ( integer $item ) : ApiFareItinerary
$item integer
return ApiFareItinerary

addToSecondSegmentsIds() public method

Add item to secondSegmentsIds value
public addToSecondSegmentsIds ( integer $item ) : ApiFareItinerary
$item integer
return ApiFareItinerary

addToThirdSegmentsIds() public method

Add item to thirdSegmentsIds value
public addToThirdSegmentsIds ( integer $item ) : ApiFareItinerary
$item integer
return ApiFareItinerary

getClickoutURLParams() public method

Get clickoutURLParams value
public getClickoutURLParams ( ) : string | null
return string | null

getFirstSegmentsIds() public method

Get firstSegmentsIds value
public getFirstSegmentsIds ( ) : int[]
return int[]

getKey() public method

Get key value
public getKey ( ) : string
return string

getPrice() public method

Get price value
public getPrice ( ) : Api\StructType\ApiFareItineraryPrice
return Api\StructType\ApiFareItineraryPrice

getResident() public method

Get resident value
public getResident ( ) : boolean | null
return boolean | null

getSecondSegmentsIds() public method

Get secondSegmentsIds value
public getSecondSegmentsIds ( ) : int[] | null
return int[] | null

getThirdSegmentsIds() public method

Get thirdSegmentsIds value
public getThirdSegmentsIds ( ) : int[] | null
return int[] | null

setClickoutURLParams() public method

Set clickoutURLParams value
public setClickoutURLParams ( string $clickoutURLParams = null ) : ApiFareItinerary
$clickoutURLParams string
return ApiFareItinerary

setFirstSegmentsIds() public method

Set firstSegmentsIds value
public setFirstSegmentsIds ( array $firstSegmentsIds = [] ) : ApiFareItinerary
$firstSegmentsIds array
return ApiFareItinerary

setKey() public method

Set key value
public setKey ( string $key = null ) : ApiFareItinerary
$key string
return ApiFareItinerary

setPrice() public method

Set price value
public setPrice ( Api\StructType\ApiFareItineraryPrice $price = null ) : ApiFareItinerary
$price Api\StructType\ApiFareItineraryPrice
return ApiFareItinerary

setResident() public method

Set resident value
public setResident ( boolean $resident = null ) : ApiFareItinerary
$resident boolean
return ApiFareItinerary

setSecondSegmentsIds() public method

Set secondSegmentsIds value
public setSecondSegmentsIds ( array $secondSegmentsIds = [] ) : ApiFareItinerary
$secondSegmentsIds array
return ApiFareItinerary

setThirdSegmentsIds() public method

Set thirdSegmentsIds value
public setThirdSegmentsIds ( array $thirdSegmentsIds = [] ) : ApiFareItinerary
$thirdSegmentsIds array
return ApiFareItinerary

Property Details

$clickoutURLParams public_oe property

The clickoutURLParams Meta informations extracted from the WSDL - maxOccurs: 1 - minOccurs: 0
public string $clickoutURLParams
return string

$firstSegmentsIds public_oe property

The firstSegmentsIds Meta informations extracted from the WSDL - use: required
public int[] $firstSegmentsIds
return int[]

$key public_oe property

The key Meta informations extracted from the WSDL - use: required
public string $key
return string

$price public_oe property

The price Meta informations extracted from the WSDL - maxOccurs: 1 - minOccurs: 1
public ApiFareItineraryPrice,Api\StructType $price
return Api\StructType\ApiFareItineraryPrice

$resident public_oe property

The resident
public bool $resident
return boolean

$secondSegmentsIds public_oe property

The secondSegmentsIds
public int[] $secondSegmentsIds
return int[]

$thirdSegmentsIds public_oe property

The thirdSegmentsIds
public int[] $thirdSegmentsIds
return int[]