Package com.courier.services.async
Class BrandServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.courier.services.async.BrandServiceAsync
public final class BrandServiceAsyncImpl implements BrandServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBrandServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description BrandServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. BrandServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<Brand>create(BrandCreateParams params, RequestOptions requestOptions)CompletableFuture<Brand>retrieve(BrandRetrieveParams params, RequestOptions requestOptions)CompletableFuture<Brand>update(BrandUpdateParams params, RequestOptions requestOptions)CompletableFuture<BrandListResponse>list(BrandListParams params, RequestOptions requestOptions)CompletableFuture<Void>delete(BrandDeleteParams params, RequestOptions requestOptions)-
Methods inherited from class com.courier.services.async.BrandServiceAsync
create, delete, delete, delete, delete, delete, list, list, list, retrieve, retrieve, retrieve, retrieve, retrieve, update, update, update -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
BrandServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
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, RequestOptions requestOptions)
-
retrieve
CompletableFuture<Brand> retrieve(BrandRetrieveParams params, RequestOptions requestOptions)
-
update
CompletableFuture<Brand> update(BrandUpdateParams params, RequestOptions requestOptions)
-
list
CompletableFuture<BrandListResponse> list(BrandListParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<Void> delete(BrandDeleteParams params, RequestOptions requestOptions)
-
-
-
-