Interface CustomerService
-
public interface CustomerService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description retrofit2.Call<Customer>createCustomer(java.lang.Integer cloudId, Customer consumer)retrofit2.Call<Customer>deleteCustomer(java.lang.Integer cloudId, java.lang.Long id, java.lang.Boolean anonymizeCustomer)retrofit2.Call<Customer>getCustomer(java.lang.Integer cloudId, java.lang.Long id)retrofit2.Call<java.util.Collection<Customer>>getCustomers(java.lang.Integer cloudId, java.lang.Integer limit, java.lang.Integer offset)retrofit2.Call<java.util.Collection<Customer>>getCustomers(java.lang.Integer cloudId, java.lang.Integer limit, java.lang.Integer offset, java.lang.String sort)retrofit2.Call<Customer>updateCustomer(java.lang.Integer cloudId, java.lang.Long id, Customer consumer)
-
-
-
Method Detail
-
getCustomer
@GET("{cloudId}/{id}") retrofit2.Call<Customer> getCustomer(@Path("cloudId") java.lang.Integer cloudId, @Path("id") java.lang.Long id)
-
getCustomers
@GET("{cloudId}") retrofit2.Call<java.util.Collection<Customer>> getCustomers(@Path("cloudId") java.lang.Integer cloudId, @Query("limit") java.lang.Integer limit, @Query("offset") java.lang.Integer offset)
-
getCustomers
@GET("{cloudId}") retrofit2.Call<java.util.Collection<Customer>> getCustomers(@Path("cloudId") java.lang.Integer cloudId, @Query("limit") java.lang.Integer limit, @Query("offset") java.lang.Integer offset, @Query("sort") java.lang.String sort)
-
createCustomer
@Headers({"Content-Type: application/json","Accept: application/json"}) @POST("{cloudId}/create") retrofit2.Call<Customer> createCustomer(@Path("cloudId") java.lang.Integer cloudId, @Body Customer consumer)
-
deleteCustomer
@GET("{cloudId}/{id}/delete") retrofit2.Call<Customer> deleteCustomer(@Path("cloudId") java.lang.Integer cloudId, @Path("id") java.lang.Long id, @Query("anonymize") java.lang.Boolean anonymizeCustomer)
-
-