<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for ViaRouteInsert StructType
 * @subpackage Structs
 */
class ViaRouteInsert extends ViaRoute_WithBehavior
{
    /**
     * The ViaPoints
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfViaPointInsert
     */
    public $ViaPoints;
    /**
     * Constructor method for ViaRouteInsert
     * @uses ViaRouteInsert::setViaPoints()
     * @param \ArrayType\ArrayOfViaPointInsert $viaPoints
     */
    public function __construct(\ArrayType\ArrayOfViaPointInsert $viaPoints = null)
    {
        $this
            ->setViaPoints($viaPoints);
    }
    /**
     * Get ViaPoints value
     * @return \ArrayType\ArrayOfViaPointInsert|null
     */
    public function getViaPoints()
    {
        return $this->ViaPoints;
    }
    /**
     * Set ViaPoints value
     * @param \ArrayType\ArrayOfViaPointInsert $viaPoints
     * @return \StructType\ViaRouteInsert
     */
    public function setViaPoints(\ArrayType\ArrayOfViaPointInsert $viaPoints = null)
    {
        $this->ViaPoints = $viaPoints;
        return $this;
    }
}
