Api\StructType\ApiFareItinerary::__construct PHP Метод

__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
    public function __construct(\Api\StructType\ApiFareItineraryPrice $price = null, $key = null, array $firstSegmentsIds = array(), $clickoutURLParams = null, $resident = null, array $secondSegmentsIds = array(), array $thirdSegmentsIds = array())
    {
        $this->setPrice($price)->setKey($key)->setFirstSegmentsIds($firstSegmentsIds)->setClickoutURLParams($clickoutURLParams)->setResident($resident)->setSecondSegmentsIds($secondSegmentsIds)->setThirdSegmentsIds($thirdSegmentsIds);
    }