Package com.chargebee.v4.services
Class VariantService
-
Field Summary
Fields inherited from class com.chargebee.v4.services.BaseService
client, options -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateProductVariant(String productId, CreateProductVariantParams params) listProductVariants(String productId) listProductVariants(String productId, ListProductVariantsParams params) update(String productVariantId, VariantUpdateParams 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, header, headers, options, parseResponse, post, postAsync, postJson, postJsonAsync, postJsonWithSubDomain, postWithSubDomain
-
Constructor Details
-
VariantService
-
-
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<VariantService>
-
listProductVariants
public ListProductVariantsResponse listProductVariants(String productId, ListProductVariantsParams params) throws ChargebeeException - Throws:
ChargebeeException
-
listProductVariants
- Throws:
ChargebeeException
-
createProductVariant
public CreateProductVariantResponse createProductVariant(String productId, CreateProductVariantParams params) throws ChargebeeException - Throws:
ChargebeeException
-
retrieve
- Throws:
ChargebeeException
-
update
public VariantUpdateResponse update(String productVariantId, VariantUpdateParams params) throws ChargebeeException - Throws:
ChargebeeException
-
update
- Throws:
ChargebeeException
-
delete
- Throws:
ChargebeeException
-