<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for JP_TransportRoutePortfolio StructType
 * @subpackage Structs
 */
class JP_TransportRoutePortfolio extends AbstractStructBase
{
    /**
     * The Locations
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfJP_Location
     */
    public $Locations;
    /**
     * Constructor method for JP_TransportRoutePortfolio
     * @uses JP_TransportRoutePortfolio::setLocations()
     * @param \ArrayType\ArrayOfJP_Location $locations
     */
    public function __construct(\ArrayType\ArrayOfJP_Location $locations = null)
    {
        $this
            ->setLocations($locations);
    }
    /**
     * Get Locations value
     * @return \ArrayType\ArrayOfJP_Location|null
     */
    public function getLocations()
    {
        return $this->Locations;
    }
    /**
     * Set Locations value
     * @param \ArrayType\ArrayOfJP_Location $locations
     * @return \StructType\JP_TransportRoutePortfolio
     */
    public function setLocations(\ArrayType\ArrayOfJP_Location $locations = null)
    {
        $this->Locations = $locations;
        return $this;
    }
}
