public class CustomerServiceImpl extends java.lang.Object implements CustomerService
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
CUSTOMER_ROUTE |
private static java.lang.String |
CUSTOMERS_PATH |
private InvocationBuilder |
invocationBuilder |
private LinkBuilder<Customer> |
linkBuilder |
Constructor and Description |
---|
CustomerServiceImpl(InvocationBuilder invocationBuilder,
LinkBuilder<Customer> linkBuilder) |
Modifier and Type | Method and Description |
---|---|
Customer |
create(java.lang.String shopId,
Customer customer) |
Customer |
get(java.lang.String shopId,
GUID customerId) |
PageEP6<Customer> |
getAll(java.lang.String shopId,
ShopRequestContext shopRequestContext) |
Customer |
patch(java.lang.String shopId,
GUID customerId,
JsonPatch jsonPatch) |
private static final java.lang.String CUSTOMERS_PATH
private static final java.lang.String CUSTOMER_ROUTE
private final InvocationBuilder invocationBuilder
private final LinkBuilder<Customer> linkBuilder
@Inject public CustomerServiceImpl(InvocationBuilder invocationBuilder, LinkBuilder<Customer> linkBuilder)
public Customer get(java.lang.String shopId, GUID customerId)
get
in interface CustomerService
public Customer patch(java.lang.String shopId, GUID customerId, JsonPatch jsonPatch)
patch
in interface CustomerService
public Customer create(java.lang.String shopId, Customer customer)
create
in interface CustomerService
public PageEP6<Customer> getAll(java.lang.String shopId, ShopRequestContext shopRequestContext)
getAll
in interface CustomerService