Interface SupplierService
-
public interface SupplierService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description retrofit2.Call<Supplier>createSupplier(java.lang.Long cloudId, Supplier supplier)retrofit2.Call<Supplier>deleteSupplier(java.lang.Long cloudId, java.lang.Long id, java.lang.Boolean anonymizeSupplier)retrofit2.Call<Supplier>getSupplier(java.lang.Long cloudId, java.lang.Long id)retrofit2.Call<java.util.Collection<Supplier>>getSuppliers(java.lang.Long cloudId, java.lang.Integer limit, java.lang.Integer offset, java.lang.String sort)retrofit2.Call<Supplier>updateSupplier(java.lang.Long cloudId, java.lang.Long id, Supplier supplier)
-
-
-
Method Detail
-
getSupplier
@GET("{cloudId}/{id}") retrofit2.Call<Supplier> getSupplier(@Path("cloudId") java.lang.Long cloudId, @Path("id") java.lang.Long id)
-
getSuppliers
@GET("{cloudId}") retrofit2.Call<java.util.Collection<Supplier>> getSuppliers(@Path("cloudId") java.lang.Long cloudId, @Query("limit") java.lang.Integer limit, @Query("offset") java.lang.Integer offset, @Query("sort") java.lang.String sort)
-
deleteSupplier
@GET("{cloudId}/{id}/delete") retrofit2.Call<Supplier> deleteSupplier(@Path("cloudId") java.lang.Long cloudId, @Path("id") java.lang.Long id, @Query("anonymize") java.lang.Boolean anonymizeSupplier)
-
updateSupplier
@POST("{cloudId}/{id}/update") @Headers({"Content-Type: application/json","Accept: application/json"}) retrofit2.Call<Supplier> updateSupplier(@Path("cloudId") java.lang.Long cloudId, @Path("id") java.lang.Long id, @Body Supplier supplier)
-
-