<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Return_to_SupplierType StructType
 * Meta information extracted from the WSDL
 * - documentation: Wrapper Element that includes Return Instance and Data
 * @subpackage Structs
 */
class Return_to_SupplierType extends AbstractStructBase
{
    /**
     * The Return_Reference
     * Meta information extracted from the WSDL
     * - documentation: Reference to an existing Return
     * - minOccurs: 0
     * @var \StructType\Return_to_SupplierObjectType
     */
    public $Return_Reference;
    /**
     * The Return_Data
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\Return_to_Supplier_DataType
     */
    public $Return_Data;
    /**
     * Constructor method for Return_to_SupplierType
     * @uses Return_to_SupplierType::setReturn_Reference()
     * @uses Return_to_SupplierType::setReturn_Data()
     * @param \StructType\Return_to_SupplierObjectType $return_Reference
     * @param \StructType\Return_to_Supplier_DataType $return_Data
     */
    public function __construct(\StructType\Return_to_SupplierObjectType $return_Reference = null, \StructType\Return_to_Supplier_DataType $return_Data = null)
    {
        $this
            ->setReturn_Reference($return_Reference)
            ->setReturn_Data($return_Data);
    }
    /**
     * Get Return_Reference value
     * @return \StructType\Return_to_SupplierObjectType|null
     */
    public function getReturn_Reference()
    {
        return $this->Return_Reference;
    }
    /**
     * Set Return_Reference value
     * @param \StructType\Return_to_SupplierObjectType $return_Reference
     * @return \StructType\Return_to_SupplierType
     */
    public function setReturn_Reference(\StructType\Return_to_SupplierObjectType $return_Reference = null)
    {
        $this->Return_Reference = $return_Reference;
        return $this;
    }
    /**
     * Get Return_Data value
     * @return \StructType\Return_to_Supplier_DataType|null
     */
    public function getReturn_Data()
    {
        return $this->Return_Data;
    }
    /**
     * Set Return_Data value
     * @param \StructType\Return_to_Supplier_DataType $return_Data
     * @return \StructType\Return_to_SupplierType
     */
    public function setReturn_Data(\StructType\Return_to_Supplier_DataType $return_Data = null)
    {
        $this->Return_Data = $return_Data;
        return $this;
    }
}
