Beispiel #1
0
 /**
  * Retrieves summary information associated with the cart of user specified in the request,
  * including the number of items in the cart, the current total, and whether the cart has expired.
  * All anonymous idle carts that do not proceed to checkout expire after 14 days.
  *
  * <p>
  *
  * <pre><code>
  * Cart cart = new Cart();
  * CartSummary cartSummary = cart.getUserCartSummary( userId,  responseFields);
  * </code></pre>
  *
  * @param responseFields Use this field to include those fields which are not included by default.
  * @param userId Unique identifier of the user whose tenant scopes you want to retrieve.
  * @return com.mozu.api.contracts.commerceruntime.carts.CartSummary
  * @see com.mozu.api.contracts.commerceruntime.carts.CartSummary
  */
 public com.mozu.api.contracts.commerceruntime.carts.CartSummary getUserCartSummary(
     String userId, String responseFields) throws Exception {
   MozuClient<com.mozu.api.contracts.commerceruntime.carts.CartSummary> client =
       com.mozu.api.clients.commerce.CartClient.getUserCartSummaryClient(userId, responseFields);
   client.setContext(_apiContext);
   client.executeRequest();
   return client.getResult();
 }