Package com.chargebee.v4.services
Class PriceVariantService
java.lang.Object
com.chargebee.v4.services.BaseService<PriceVariantService>
com.chargebee.v4.services.PriceVariantService
-
Field Summary
Fields inherited from class com.chargebee.v4.services.BaseService
client, options -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(PriceVariantCreateParams params) createAsync(PriceVariantCreateParams params) Async variant of create for priceVariant with params.deleteAsync(String priceVariantId) Async variant of delete for priceVariant without params.list()list(PriceVariantListParams params) Async variant of list for priceVariant without params.listAsync(PriceVariantListParams params) Async variant of list for priceVariant with params.retrieveAsync(String priceVariantId) Async variant of retrieve for priceVariant without params.update(String priceVariantId, PriceVariantUpdateParams params) updateAsync(String priceVariantId) Async variant of update for priceVariant without params.updateAsync(String priceVariantId, PriceVariantUpdateParams params) Async variant of update for priceVariant with params.withOptions(RequestOptions options) Apply per-request options for this service instance.Methods inherited from class com.chargebee.v4.services.BaseService
buildPathWithParams, clientForBuilders, clientWithOptions, get, getAsync, getMergedHeaders, getWithSubDomain, getWithSubDomainAsync, header, headers, options, parseResponse, post, postAsync, postJson, postJsonAsync, postJsonWithSubDomain, postJsonWithSubDomainAsync, postWithSubDomain, postWithSubDomainAsync
-
Constructor Details
-
PriceVariantService
-
-
Method Details
-
withOptions
Apply per-request options for this service instance. Users can chain .withOptions or .options to set headers and other options.- Overrides:
withOptionsin classBaseService<PriceVariantService>
-
delete
- Throws:
ChargebeeException
-
deleteAsync
Async variant of delete for priceVariant without params. -
list
- Throws:
ChargebeeException
-
listAsync
Async variant of list for priceVariant with params. -
list
- Throws:
ChargebeeException
-
listAsync
Async variant of list for priceVariant without params. -
create
- Throws:
ChargebeeException
-
createAsync
Async variant of create for priceVariant with params. -
retrieve
- Throws:
ChargebeeException
-
retrieveAsync
Async variant of retrieve for priceVariant without params. -
update
public PriceVariantUpdateResponse update(String priceVariantId, PriceVariantUpdateParams params) throws ChargebeeException - Throws:
ChargebeeException
-
updateAsync
public CompletableFuture<PriceVariantUpdateResponse> updateAsync(String priceVariantId, PriceVariantUpdateParams params) Async variant of update for priceVariant with params. -
update
- Throws:
ChargebeeException
-
updateAsync
Async variant of update for priceVariant without params.
-