interface CartService
Modifier and Type | Method and Description |
---|---|
Cart |
addCoupon(ShopRequestContext shopRequestContext,
GUID cartId,
java.lang.String code) |
Cart |
create(ShopRequestContext shopReqCtx,
CartInput cartInput)
Creates an empty cart in a given shop.
|
Cart |
createLineItem(ShopRequestContext shopReqCtx,
GUID cartId,
LineItemInput lineitem) |
Cart |
deleteBillingAddress(ShopRequestContext shopReqCtx,
GUID cartId) |
Cart |
deleteLineItem(ShopRequestContext shopReqCtx,
GUID cartId,
GUID lineItemId) |
Cart |
deleteShippingAddress(ShopRequestContext shopReqCtx,
GUID cartId) |
Cart |
get(ShopRequestContext shopReqCtx,
GUID cartId,
java.lang.Boolean includeTax)
Provides the cart with the given identifier in the given shop.
|
Cart |
removeCoupon(ShopRequestContext shopRequestContext,
GUID cartId,
GUID couponLineItemId) |
Cart |
updateBillingAddress(ShopRequestContext shopReqCtx,
GUID cartId,
BillingAddress address) |
Cart |
updateLineItem(ShopRequestContext shopReqCtx,
GUID cartId,
GUID lineItemId,
LineItemInput item) |
Cart |
updateShippingAddress(ShopRequestContext shopReqCtx,
GUID cartId,
Address address) |
Cart create(ShopRequestContext shopReqCtx, CartInput cartInput)
shopReqCtx
- the shop request context.cartInput
- cart settingsCart get(ShopRequestContext shopReqCtx, GUID cartId, java.lang.Boolean includeTax)
shopReqCtx
- the identifier of the shop.cartId
- the identifier of the cart.includeTax
- Cart updateBillingAddress(ShopRequestContext shopReqCtx, GUID cartId, BillingAddress address)
Cart deleteBillingAddress(ShopRequestContext shopReqCtx, GUID cartId)
Cart updateShippingAddress(ShopRequestContext shopReqCtx, GUID cartId, Address address)
Cart deleteShippingAddress(ShopRequestContext shopReqCtx, GUID cartId)
Cart createLineItem(ShopRequestContext shopReqCtx, GUID cartId, LineItemInput lineitem)
Cart updateLineItem(ShopRequestContext shopReqCtx, GUID cartId, GUID lineItemId, LineItemInput item)
Cart deleteLineItem(ShopRequestContext shopReqCtx, GUID cartId, GUID lineItemId)
Cart addCoupon(ShopRequestContext shopRequestContext, GUID cartId, java.lang.String code)
Cart removeCoupon(ShopRequestContext shopRequestContext, GUID cartId, GUID couponLineItemId)