<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for PlanningResultInsertNewPlaceOnTrip StructType
 * @subpackage Structs
 */
class PlanningResultInsertNewPlaceOnTrip extends ExecutionResult
{
    /**
     * The Places
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfPlaceResultInsert
     */
    public $Places;
    /**
     * Constructor method for PlanningResultInsertNewPlaceOnTrip
     * @uses PlanningResultInsertNewPlaceOnTrip::setPlaces()
     * @param \ArrayType\ArrayOfPlaceResultInsert $places
     */
    public function __construct(\ArrayType\ArrayOfPlaceResultInsert $places = null)
    {
        $this
            ->setPlaces($places);
    }
    /**
     * Get Places value
     * @return \ArrayType\ArrayOfPlaceResultInsert|null
     */
    public function getPlaces()
    {
        return $this->Places;
    }
    /**
     * Set Places value
     * @param \ArrayType\ArrayOfPlaceResultInsert $places
     * @return \StructType\PlanningResultInsertNewPlaceOnTrip
     */
    public function setPlaces(\ArrayType\ArrayOfPlaceResultInsert $places = null)
    {
        $this->Places = $places;
        return $this;
    }
}
