<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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