<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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