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