public function block( MShop_Order_Item_Interface $orderItem )
	{
		$status = 1;
		$orderId = $orderItem->getId();

		$this->_updateStatus( MShop_Order_Item_Status_Abstract::STOCK_UPDATE, $orderId,
								$orderItem, $status, -1 );

		$this->_updateStatus( MShop_Order_Item_Status_Abstract::COUPON_UPDATE, $orderId,
								$orderItem, $status, -1 );
	}
public function block( MShop_Order_Item_Interface $orderItem )
	{
		$status = 1;
		$orderId = $orderItem->getId();

		$this->_updateStatus( MShop_Order_Item_Status_Abstract::STOCK_UPDATE, $orderId,
								$orderItem, $status, -1 );

		$this->_updateStatus( MShop_Order_Item_Status_Abstract::COUPON_UPDATE, $orderId,
								$orderItem, $status, -1 );
	}
public function block ( MShop_Order_Item_Interface $ orderItem ) { $ status = 1 ; $ orderId = $ orderItem -> getId ( ) ; $ this -> _updateStatus ( MShop_Order_Item_Status_Abstract :: STOCK_UPDATE , $ orderId , $ orderItem , $ status , - 1 ) ; $ this -> _updateStatus ( MShop_Order_Item_Status_Abstract :: COUPON_UPDATE , $ orderId , $ orderItem , $ status , - 1 ) ; }
Blocks the resources listed in the order.

Every order contains resources like products or redeemed coupon codes
that must be blocked so they can't be used by another customer in a
later order. This method reduces the the stock level of products, the
counts of coupon codes and others.

It's save to call this method multiple times for one order. In this case,
the actions will be executed only once. All subsequent calls will do
nothing as long as the resources haven't been unblocked in the meantime.

You can also block and unblock resources several times. Please keep in
mind that unblocked resources may be reused by other orders in the
meantime. This can lead to an oversell of products!

@param MShop_Order_Item_Interface $orderItem Order item object
Blocks the resources listed in the order .