<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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