Package com.courier.services.async
Interface BrandServiceAsync
-
- All Implemented Interfaces:
public interface BrandServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceBrandServiceAsync.WithRawResponseA view of BrandServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract BrandServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract BrandServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
CompletableFuture<Brand> create(BrandCreateParams params)
Create a new brand. Requires
nameandsettings(with at leastcolors.primaryandcolors.secondary).
-
create
abstract CompletableFuture<Brand> create(BrandCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<Brand> retrieve(String brandId)
Fetch a specific brand by brand ID.
-
retrieve
CompletableFuture<Brand> retrieve(String brandId, BrandRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<Brand> retrieve(String brandId, BrandRetrieveParams params)
-
retrieve
abstract CompletableFuture<Brand> retrieve(BrandRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<Brand> retrieve(BrandRetrieveParams params)
-
retrieve
CompletableFuture<Brand> retrieve(String brandId, RequestOptions requestOptions)
-
update
CompletableFuture<Brand> update(String brandId, BrandUpdateParams params)
Replace an existing brand with the supplied values.
-
update
CompletableFuture<Brand> update(String brandId, BrandUpdateParams params, RequestOptions requestOptions)
-
update
CompletableFuture<Brand> update(BrandUpdateParams params)
-
update
abstract CompletableFuture<Brand> update(BrandUpdateParams params, RequestOptions requestOptions)
-
list
CompletableFuture<BrandListResponse> list()
Get the list of brands.
-
list
abstract CompletableFuture<BrandListResponse> list(BrandListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<BrandListResponse> list(BrandListParams params)
-
list
CompletableFuture<BrandListResponse> list(RequestOptions requestOptions)
-
delete
CompletableFuture<Void> delete(String brandId)
Delete a brand by brand ID.
-
delete
CompletableFuture<Void> delete(String brandId, BrandDeleteParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<Void> delete(String brandId, BrandDeleteParams params)
-
delete
abstract CompletableFuture<Void> delete(BrandDeleteParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<Void> delete(BrandDeleteParams params)
-
delete
CompletableFuture<Void> delete(String brandId, RequestOptions requestOptions)
-
-
-
-