Package com.courier.services.async
Interface BrandServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface BrandServiceAsync.WithRawResponseA view of BrandServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract BrandServiceAsync.WithRawResponse 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<HttpResponseFor<Brand>> create(BrandCreateParams params)
Returns a raw HTTP response for
post /brands, but is otherwise the same as BrandServiceAsync.create.
-
create
abstract CompletableFuture<HttpResponseFor<Brand>> create(BrandCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<HttpResponseFor<Brand>> retrieve(String brandId)
Returns a raw HTTP response for
get /brands/{brand_id}, but is otherwise the same as BrandServiceAsync.retrieve.
-
retrieve
CompletableFuture<HttpResponseFor<Brand>> retrieve(String brandId, BrandRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<HttpResponseFor<Brand>> retrieve(String brandId, BrandRetrieveParams params)
-
retrieve
abstract CompletableFuture<HttpResponseFor<Brand>> retrieve(BrandRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<HttpResponseFor<Brand>> retrieve(BrandRetrieveParams params)
-
retrieve
CompletableFuture<HttpResponseFor<Brand>> retrieve(String brandId, RequestOptions requestOptions)
-
update
CompletableFuture<HttpResponseFor<Brand>> update(String brandId, BrandUpdateParams params)
Returns a raw HTTP response for
put /brands/{brand_id}, but is otherwise the same as BrandServiceAsync.update.
-
update
CompletableFuture<HttpResponseFor<Brand>> update(String brandId, BrandUpdateParams params, RequestOptions requestOptions)
-
update
CompletableFuture<HttpResponseFor<Brand>> update(BrandUpdateParams params)
-
update
abstract CompletableFuture<HttpResponseFor<Brand>> update(BrandUpdateParams params, RequestOptions requestOptions)
-
list
CompletableFuture<HttpResponseFor<BrandListResponse>> list()
Returns a raw HTTP response for
get /brands, but is otherwise the same as BrandServiceAsync.list.
-
list
abstract CompletableFuture<HttpResponseFor<BrandListResponse>> list(BrandListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<HttpResponseFor<BrandListResponse>> list(BrandListParams params)
-
list
CompletableFuture<HttpResponseFor<BrandListResponse>> list(RequestOptions requestOptions)
-
delete
CompletableFuture<HttpResponse> delete(String brandId)
Returns a raw HTTP response for
delete /brands/{brand_id}, but is otherwise the same as BrandServiceAsync.delete.
-
delete
CompletableFuture<HttpResponse> delete(String brandId, BrandDeleteParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<HttpResponse> delete(String brandId, BrandDeleteParams params)
-
delete
abstract CompletableFuture<HttpResponse> delete(BrandDeleteParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<HttpResponse> delete(BrandDeleteParams params)
-
delete
CompletableFuture<HttpResponse> delete(String brandId, RequestOptions requestOptions)
-
-
-
-