<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Get_PositionFromStreetInfoResult StructType
 * @subpackage Structs
 */
class Get_PositionFromStreetInfoResult extends ExecutionResult
{
    /**
     * The Position
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\GeoPositionResult
     */
    public $Position;
    /**
     * Constructor method for Get_PositionFromStreetInfoResult
     * @uses Get_PositionFromStreetInfoResult::setPosition()
     * @param \StructType\GeoPositionResult $position
     */
    public function __construct(\StructType\GeoPositionResult $position = null)
    {
        $this
            ->setPosition($position);
    }
    /**
     * Get Position value
     * @return \StructType\GeoPositionResult|null
     */
    public function getPosition()
    {
        return $this->Position;
    }
    /**
     * Set Position value
     * @param \StructType\GeoPositionResult $position
     * @return \StructType\Get_PositionFromStreetInfoResult
     */
    public function setPosition(\StructType\GeoPositionResult $position = null)
    {
        $this->Position = $position;
        return $this;
    }
}
