Package com.chargebee.v4.services
Class CouponCodeService
java.lang.Object
com.chargebee.v4.services.BaseService<CouponCodeService>
com.chargebee.v4.services.CouponCodeService
-
Field Summary
Fields inherited from class com.chargebee.v4.services.BaseService
client, options -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarchiveAsync(String couponCodeCode) Async variant of archive for couponCode without params.create(CouponCodeCreateParams params) createAsync(CouponCodeCreateParams params) Async variant of create for couponCode with params.list()list(CouponCodeListParams params) Async variant of list for couponCode without params.listAsync(CouponCodeListParams params) Async variant of list for couponCode with params.retrieveAsync(String couponCodeCode) Async variant of retrieve for couponCode without 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
-
CouponCodeService
-
-
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<CouponCodeService>
-
list
- Throws:
ChargebeeException
-
listAsync
Async variant of list for couponCode with params. -
list
- Throws:
ChargebeeException
-
listAsync
Async variant of list for couponCode without params. -
create
- Throws:
ChargebeeException
-
createAsync
Async variant of create for couponCode with params. -
retrieve
- Throws:
ChargebeeException
-
retrieveAsync
Async variant of retrieve for couponCode without params. -
archive
- Throws:
ChargebeeException
-
archiveAsync
Async variant of archive for couponCode without params.
-