<?php
/* Generated on 14.02.18 14:28 by globalsync
 * $Id: $
 * $Log: $
 */

require_once 'EbatNs_ComplexType.php';
require_once 'MultiLegShipmentType.php';

/**
  * This type provides information about the domestic leg of a Global Shipping Program shipment.
  * <br/><br/>
  * <span class="tablenote">
  * <strong>Note:</strong> The <strong>LogisticsProviderShipmentToBuyer</strong> field is reserved for the exclusive use of the international shipping provider.
  * </span>
  * 
 **/

class MultiLegShippingDetailsType extends EbatNs_ComplexType
{
	/**
	* @var MultiLegShipmentType
	**/
	protected $SellerShipmentToLogisticsProvider;

	/**
	* @var MultiLegShipmentType
	**/
	protected $LogisticsProviderShipmentToBuyer;


	/**
	 * Class Constructor 
	 **/
	function __construct()
	{
		parent::__construct('MultiLegShippingDetailsType', 'urn:ebay:apis:eBLBaseComponents');
		if (!isset(self::$_elements[__CLASS__]))
		{
			self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class(__CLASS__)],
			array(
				'SellerShipmentToLogisticsProvider' =>
				array(
					'required' => false,
					'type' => 'MultiLegShipmentType',
					'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
					'array' => false,
					'cardinality' => '0..1'
				),
				'LogisticsProviderShipmentToBuyer' =>
				array(
					'required' => false,
					'type' => 'MultiLegShipmentType',
					'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
					'array' => false,
					'cardinality' => '0..1'
				)));
		}
		$this->_attributes = array_merge($this->_attributes,
		array(
));
	}

	/**
	 * @return MultiLegShipmentType
	 **/
	function getSellerShipmentToLogisticsProvider()
	{
		return $this->SellerShipmentToLogisticsProvider;
	}

	/**
	 * @return void
	 **/
	function setSellerShipmentToLogisticsProvider($value)
	{
		$this->SellerShipmentToLogisticsProvider = $value;
	}

	/**
	 * @return MultiLegShipmentType
	 **/
	function getLogisticsProviderShipmentToBuyer()
	{
		return $this->LogisticsProviderShipmentToBuyer;
	}

	/**
	 * @return void
	 **/
	function setLogisticsProviderShipmentToBuyer($value)
	{
		$this->LogisticsProviderShipmentToBuyer = $value;
	}

}
?>
