public function updateCoupon( MShop_Order_Item_Base_Interface $base )
	{
		if( $this->_getObject()->isAvailable( $base ) !== true )
		{
			$base->deleteCoupon( $this->_code );
			return;
		}

		$this->deleteCoupon( $base );
		$this->addCoupon( $base );
	}
public function updateCoupon( MShop_Order_Item_Base_Interface $base )
	{
		if( $this->_getObject()->isAvailable( $base ) !== true )
		{
			$base->deleteCoupon( $this->_code );
			return;
		}

		$this->deleteCoupon( $base );
		$this->addCoupon( $base );
	}
public function updateCoupon ( MShop_Order_Item_Base_Interface $ base ) { if ( $ this -> _getObject ( ) -> isAvailable ( $ base ) !== true ) { $ base -> deleteCoupon ( $ this -> _code ) ; return ; } $ this -> deleteCoupon ( $ base ) ; $ this -> addCoupon ( $ base ) ; }
Updates the result of a coupon to the order base instance.

@param MShop_Order_Item_Base_Interface $base Basic order of the customer
Updates the result of a coupon to the order base instance .