<?php

namespace LewisLarsen\Ebay\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetSellingManagerSaleRecordResponseType StructType
 * Meta information extracted from the WSDL
 * - documentation: The base response to a <b>GetSellingManagerSaleRecord</b> call.
 * @subpackage Structs
 */
class GetSellingManagerSaleRecordResponseType extends AbstractResponseType
{
    /**
     * The SellingManagerSoldOrder
     * Meta information extracted from the WSDL
     * - documentation: Contains the data in a Selling Manager Sale Record.
     * - minOccurs: 0
     * @var \LewisLarsen\Ebay\StructType\SellingManagerSoldOrderType
     */
    public $SellingManagerSoldOrder;
    /**
     * Constructor method for GetSellingManagerSaleRecordResponseType
     * @uses GetSellingManagerSaleRecordResponseType::setSellingManagerSoldOrder()
     * @param \LewisLarsen\Ebay\StructType\SellingManagerSoldOrderType $sellingManagerSoldOrder
     */
    public function __construct(\LewisLarsen\Ebay\StructType\SellingManagerSoldOrderType $sellingManagerSoldOrder = null)
    {
        $this
            ->setSellingManagerSoldOrder($sellingManagerSoldOrder);
    }
    /**
     * Get SellingManagerSoldOrder value
     * @return \LewisLarsen\Ebay\StructType\SellingManagerSoldOrderType|null
     */
    public function getSellingManagerSoldOrder()
    {
        return $this->SellingManagerSoldOrder;
    }
    /**
     * Set SellingManagerSoldOrder value
     * @param \LewisLarsen\Ebay\StructType\SellingManagerSoldOrderType $sellingManagerSoldOrder
     * @return \LewisLarsen\Ebay\StructType\GetSellingManagerSaleRecordResponseType
     */
    public function setSellingManagerSoldOrder(\LewisLarsen\Ebay\StructType\SellingManagerSoldOrderType $sellingManagerSoldOrder = null)
    {
        $this->SellingManagerSoldOrder = $sellingManagerSoldOrder;
        return $this;
    }
    /**
     * Method called when an object has been exported with var_export() functions
     * It allows to return an object instantiated with the values
     * @see AbstractStructBase::__set_state()
     * @uses AbstractStructBase::__set_state()
     * @param array $array the exported values
     * @return \LewisLarsen\Ebay\StructType\GetSellingManagerSaleRecordResponseType
     */
    public static function __set_state(array $array)
    {
        return parent::__set_state($array);
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}
