Package com.chargebee.v4.services
Class UsageEventService
java.lang.Object
com.chargebee.v4.services.BaseService<UsageEventService>
com.chargebee.v4.services.UsageEventService
-
Field Summary
Fields inherited from class com.chargebee.v4.services.BaseService
client, options -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAsync variant of batchIngest for usageEvent with params.create(UsageEventCreateParams params) createAsync(UsageEventCreateParams params) Async variant of create for usageEvent 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
-
UsageEventService
-
-
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<UsageEventService>
-
create
- Throws:
ChargebeeException
-
createAsync
Async variant of create for usageEvent with params. -
batchIngest
public UsageEventBatchIngestResponse batchIngest(UsageEventBatchIngestParams params) throws ChargebeeException - Throws:
ChargebeeException
-
batchIngestAsync
public CompletableFuture<UsageEventBatchIngestResponse> batchIngestAsync(UsageEventBatchIngestParams params) Async variant of batchIngest for usageEvent with params.
-