Package com.chargebee.v4.services
Class UsageChargeService
java.lang.Object
com.chargebee.v4.services.BaseService<UsageChargeService>
com.chargebee.v4.services.UsageChargeService
-
Field Summary
Fields inherited from class com.chargebee.v4.services.BaseService
client, options -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionretrieveUsageChargesForSubscription(String subscriptionId) retrieveUsageChargesForSubscription(String subscriptionId, RetrieveUsageChargesForSubscriptionParams params) retrieveUsageChargesForSubscriptionAsync(String subscriptionId) Async variant of retrieveUsageChargesForSubscription for usageCharge without params.retrieveUsageChargesForSubscriptionAsync(String subscriptionId, RetrieveUsageChargesForSubscriptionParams params) Async variant of retrieveUsageChargesForSubscription for usageCharge 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
-
UsageChargeService
-
-
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<UsageChargeService>
-
retrieveUsageChargesForSubscription
public RetrieveUsageChargesForSubscriptionResponse retrieveUsageChargesForSubscription(String subscriptionId, RetrieveUsageChargesForSubscriptionParams params) throws ChargebeeException - Throws:
ChargebeeException
-
retrieveUsageChargesForSubscription
public RetrieveUsageChargesForSubscriptionResponse retrieveUsageChargesForSubscription(String subscriptionId) throws ChargebeeException - Throws:
ChargebeeException
-
retrieveUsageChargesForSubscriptionAsync
public CompletableFuture<RetrieveUsageChargesForSubscriptionResponse> retrieveUsageChargesForSubscriptionAsync(String subscriptionId, RetrieveUsageChargesForSubscriptionParams params) Async variant of retrieveUsageChargesForSubscription for usageCharge with params. -
retrieveUsageChargesForSubscriptionAsync
public CompletableFuture<RetrieveUsageChargesForSubscriptionResponse> retrieveUsageChargesForSubscriptionAsync(String subscriptionId) Async variant of retrieveUsageChargesForSubscription for usageCharge without params.
-