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

require_once 'EbatNs_ComplexType.php';
require_once 'FlatRateInsuranceRangeCodeType.php';
require_once 'AmountType.php';

/**
  * This type is used by the <b>FlatRateInsuranceRangeCost</b> container to specify the shipping insurance cost and price range for domestic and international flat-rate shipping.
  * 
 **/

class FlatRateInsuranceRangeCostType extends EbatNs_ComplexType
{
	/**
	* @var FlatRateInsuranceRangeCodeType
	**/
	protected $FlatRateInsuranceRange;

	/**
	* @var AmountType
	**/
	protected $InsuranceCost;


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

	/**
	 * @return FlatRateInsuranceRangeCodeType
	 **/
	function getFlatRateInsuranceRange()
	{
		return $this->FlatRateInsuranceRange;
	}

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

	/**
	 * @return AmountType
	 **/
	function getInsuranceCost()
	{
		return $this->InsuranceCost;
	}

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

}
?>
