<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for JP_SearchSegmentsRentacar StructType
 * @subpackage Structs
 */
class JP_SearchSegmentsRentacar extends AbstractStructBase
{
    /**
     * The SearchSegmentRentacar
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\JP_SearchSegmentRentacar
     */
    public $SearchSegmentRentacar;
    /**
     * The RentacarSuppliers
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfJP_RentacarSupplier
     */
    public $RentacarSuppliers;
    /**
     * The RentacarLocations
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfJP_RentacarLocation
     */
    public $RentacarLocations;
    /**
     * Constructor method for JP_SearchSegmentsRentacar
     * @uses JP_SearchSegmentsRentacar::setSearchSegmentRentacar()
     * @uses JP_SearchSegmentsRentacar::setRentacarSuppliers()
     * @uses JP_SearchSegmentsRentacar::setRentacarLocations()
     * @param \StructType\JP_SearchSegmentRentacar $searchSegmentRentacar
     * @param \ArrayType\ArrayOfJP_RentacarSupplier $rentacarSuppliers
     * @param \ArrayType\ArrayOfJP_RentacarLocation $rentacarLocations
     */
    public function __construct(\StructType\JP_SearchSegmentRentacar $searchSegmentRentacar = null, \ArrayType\ArrayOfJP_RentacarSupplier $rentacarSuppliers = null, \ArrayType\ArrayOfJP_RentacarLocation $rentacarLocations = null)
    {
        $this
            ->setSearchSegmentRentacar($searchSegmentRentacar)
            ->setRentacarSuppliers($rentacarSuppliers)
            ->setRentacarLocations($rentacarLocations);
    }
    /**
     * Get SearchSegmentRentacar value
     * @return \StructType\JP_SearchSegmentRentacar|null
     */
    public function getSearchSegmentRentacar()
    {
        return $this->SearchSegmentRentacar;
    }
    /**
     * Set SearchSegmentRentacar value
     * @param \StructType\JP_SearchSegmentRentacar $searchSegmentRentacar
     * @return \StructType\JP_SearchSegmentsRentacar
     */
    public function setSearchSegmentRentacar(\StructType\JP_SearchSegmentRentacar $searchSegmentRentacar = null)
    {
        $this->SearchSegmentRentacar = $searchSegmentRentacar;
        return $this;
    }
    /**
     * Get RentacarSuppliers value
     * @return \ArrayType\ArrayOfJP_RentacarSupplier|null
     */
    public function getRentacarSuppliers()
    {
        return $this->RentacarSuppliers;
    }
    /**
     * Set RentacarSuppliers value
     * @param \ArrayType\ArrayOfJP_RentacarSupplier $rentacarSuppliers
     * @return \StructType\JP_SearchSegmentsRentacar
     */
    public function setRentacarSuppliers(\ArrayType\ArrayOfJP_RentacarSupplier $rentacarSuppliers = null)
    {
        $this->RentacarSuppliers = $rentacarSuppliers;
        return $this;
    }
    /**
     * Get RentacarLocations value
     * @return \ArrayType\ArrayOfJP_RentacarLocation|null
     */
    public function getRentacarLocations()
    {
        return $this->RentacarLocations;
    }
    /**
     * Set RentacarLocations value
     * @param \ArrayType\ArrayOfJP_RentacarLocation $rentacarLocations
     * @return \StructType\JP_SearchSegmentsRentacar
     */
    public function setRentacarLocations(\ArrayType\ArrayOfJP_RentacarLocation $rentacarLocations = null)
    {
        $this->RentacarLocations = $rentacarLocations;
        return $this;
    }
}
