PHP Класс Api\StructType\ApiFareItinerary

Наследование: extends WsdlToPhp\PackageBase\AbstractStructBase
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$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

Открытые методы

Метод Описание
__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

Описание методов

__construct() публичный метод

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() публичный статический метод

Method called when an object has been exported with var_export() functions It allows to return an object instantiated with the values
См. также: AbstractStructBase::__set_state()
public static __set_state ( array $array ) : ApiFareItinerary
$array array the exported values
Результат ApiFareItinerary

__toString() публичный метод

Method returning the class name
public __toString ( ) : string
Результат string __CLASS__

addToFirstSegmentsIds() публичный метод

Add item to firstSegmentsIds value
public addToFirstSegmentsIds ( integer $item ) : ApiFareItinerary
$item integer
Результат ApiFareItinerary

addToSecondSegmentsIds() публичный метод

Add item to secondSegmentsIds value
public addToSecondSegmentsIds ( integer $item ) : ApiFareItinerary
$item integer
Результат ApiFareItinerary

addToThirdSegmentsIds() публичный метод

Add item to thirdSegmentsIds value
public addToThirdSegmentsIds ( integer $item ) : ApiFareItinerary
$item integer
Результат ApiFareItinerary

getClickoutURLParams() публичный метод

Get clickoutURLParams value
public getClickoutURLParams ( ) : string | null
Результат string | null

getFirstSegmentsIds() публичный метод

Get firstSegmentsIds value
public getFirstSegmentsIds ( ) : int[]
Результат int[]

getKey() публичный метод

Get key value
public getKey ( ) : string
Результат string

getPrice() публичный метод

Get price value
public getPrice ( ) : Api\StructType\ApiFareItineraryPrice
Результат Api\StructType\ApiFareItineraryPrice

getResident() публичный метод

Get resident value
public getResident ( ) : boolean | null
Результат boolean | null

getSecondSegmentsIds() публичный метод

Get secondSegmentsIds value
public getSecondSegmentsIds ( ) : int[] | null
Результат int[] | null

getThirdSegmentsIds() публичный метод

Get thirdSegmentsIds value
public getThirdSegmentsIds ( ) : int[] | null
Результат int[] | null

setClickoutURLParams() публичный метод

Set clickoutURLParams value
public setClickoutURLParams ( string $clickoutURLParams = null ) : ApiFareItinerary
$clickoutURLParams string
Результат ApiFareItinerary

setFirstSegmentsIds() публичный метод

Set firstSegmentsIds value
public setFirstSegmentsIds ( array $firstSegmentsIds = [] ) : ApiFareItinerary
$firstSegmentsIds array
Результат ApiFareItinerary

setKey() публичный метод

Set key value
public setKey ( string $key = null ) : ApiFareItinerary
$key string
Результат ApiFareItinerary

setPrice() публичный метод

Set price value
public setPrice ( Api\StructType\ApiFareItineraryPrice $price = null ) : ApiFareItinerary
$price Api\StructType\ApiFareItineraryPrice
Результат ApiFareItinerary

setResident() публичный метод

Set resident value
public setResident ( boolean $resident = null ) : ApiFareItinerary
$resident boolean
Результат ApiFareItinerary

setSecondSegmentsIds() публичный метод

Set secondSegmentsIds value
public setSecondSegmentsIds ( array $secondSegmentsIds = [] ) : ApiFareItinerary
$secondSegmentsIds array
Результат ApiFareItinerary

setThirdSegmentsIds() публичный метод

Set thirdSegmentsIds value
public setThirdSegmentsIds ( array $thirdSegmentsIds = [] ) : ApiFareItinerary
$thirdSegmentsIds array
Результат ApiFareItinerary

Описание свойств

$clickoutURLParams публичное свойство

The clickoutURLParams Meta informations extracted from the WSDL - maxOccurs: 1 - minOccurs: 0
public string $clickoutURLParams
Результат string

$firstSegmentsIds публичное свойство

The firstSegmentsIds Meta informations extracted from the WSDL - use: required
public int[] $firstSegmentsIds
Результат int[]

$key публичное свойство

The key Meta informations extracted from the WSDL - use: required
public string $key
Результат string

$price публичное свойство

The price Meta informations extracted from the WSDL - maxOccurs: 1 - minOccurs: 1
public ApiFareItineraryPrice,Api\StructType $price
Результат Api\StructType\ApiFareItineraryPrice

$resident публичное свойство

The resident
public bool $resident
Результат boolean

$secondSegmentsIds публичное свойство

The secondSegmentsIds
public int[] $secondSegmentsIds
Результат int[]

$thirdSegmentsIds публичное свойство

The thirdSegmentsIds
public int[] $thirdSegmentsIds
Результат int[]