public static MozuClient<com.mozu.api.contracts.commerceruntime.orders.OrderItem> getOrderItemClient(String orderId, String orderItemId, Boolean draft, String responseFields) throws Exception
	{
		MozuUrl url = com.mozu.api.urls.commerce.orders.OrderItemUrl.getOrderItemUrl(draft, orderId, orderItemId, responseFields);
		String verb = "GET";
		Class<?> clz = com.mozu.api.contracts.commerceruntime.orders.OrderItem.class;
		MozuClient<com.mozu.api.contracts.commerceruntime.orders.OrderItem> mozuClient = (MozuClient<com.mozu.api.contracts.commerceruntime.orders.OrderItem>) MozuClientFactory.getInstance(clz);
		mozuClient.setVerb(verb);
		mozuClient.setResourceUrl(url);
		return mozuClient;

	}
public static MozuClient < com . mozu . api . contracts . commerceruntime . orders . OrderItem > getOrderItemClient ( String orderId , String orderItemId , Boolean draft , String responseFields ) throws Exception { MozuUrl url = com . mozu . api . urls . commerce . orders . OrderItemUrl . getOrderItemUrl ( draft , orderId , orderItemId , responseFields ) ; String verb = "GET" ; Class < ? > clz = com . mozu . api . contracts . commerceruntime . orders . OrderItem . class ; MozuClient < com . mozu . api . contracts . commerceruntime . orders . OrderItem > mozuClient = ( MozuClient < com . mozu . api . contracts . commerceruntime . orders . OrderItem > ) MozuClientFactory . getInstance ( clz ) ; mozuClient . setVerb ( verb ) ; mozuClient . setResourceUrl ( url ) ; return mozuClient ; }
<p><pre><code>
MozuClient<com.mozu.api.contracts.commerceruntime.orders.OrderItem> mozuClient=GetOrderItemClient( orderId,  orderItemId,  draft,  responseFields);
client.setBaseAddress(url);
client.executeRequest();
OrderItem orderItem = client.Result();
</code></pre></p>
@param draft If true, retrieve the draft version of the order, which might include uncommitted changes to the order or its components.
@param orderId Unique identifier of the order.
@param orderItemId Unique identifier of the item to remove from the order.
@param responseFields Filtering syntax appended to an API call to increase or decrease the amount of data returned inside a JSON object. This parameter should only be used to retrieve data. Attempting to update data using this parameter may cause data loss.
@return Mozu.Api.MozuClient <com.mozu.api.contracts.commerceruntime.orders.OrderItem>
@see com.mozu.api.contracts.commerceruntime.orders.OrderItem