public class MagentoGuestCartManager extends MagentoHttpComponent
| Modifier and Type | Field and Description |
|---|---|
protected MagentoClient |
client |
protected String |
relativePath |
httpComponent| Constructor and Description |
|---|
MagentoGuestCartManager(MagentoClient client) |
| Modifier and Type | Method and Description |
|---|---|
CartItem |
addItemToCart(String cartId,
CartItem item) |
String |
baseUri() |
boolean |
deleteItemInCart(String cartId,
int itemId) |
Cart |
getCart(String cartId) |
CartTotal |
getCartTotal(String cartId) |
String |
newCart() |
String |
token() |
CartItem |
updateItemInCart(String cartId,
CartItem item) |
deleteSecure, escape, getHttpComponent, getSecured, postSecure, putSecure, setHttpComponent, validateprotected String relativePath
protected final MagentoClient client
public MagentoGuestCartManager(MagentoClient client)
public String token()
token in class MagentoHttpComponentpublic String baseUri()
baseUri in class MagentoHttpComponentpublic String newCart()
public boolean deleteItemInCart(String cartId, int itemId)
Copyright © 2017. All rights reserved.