final class CartServiceEP6Rest extends java.lang.Object implements CartService
Modifier and Type | Field and Description |
---|---|
private org.springframework.core.convert.converter.Converter<Cart,Cart> |
cartConverter |
private InvocationBuilderFactory |
invocationBuilderFactory |
Constructor and Description |
---|
CartServiceEP6Rest(InvocationBuilderFactory invocationBuilderFactory,
org.springframework.core.convert.converter.Converter<Cart,Cart> cartConverter) |
private final InvocationBuilderFactory invocationBuilderFactory
@Inject public CartServiceEP6Rest(InvocationBuilderFactory invocationBuilderFactory, org.springframework.core.convert.converter.Converter<Cart,Cart> cartConverter)
public Cart get(java.lang.String shopId, GUID cartId)
CartService
get
in interface CartService
shopId
- the identifier of the shop.cartId
- the identifier of the cart.public Cart create(java.lang.String shopId, CartInput cartInput)
CartService
create
in interface CartService
shopId
- the identifier of the shop.cartInput
- cart settings