Package com.chargebee.v4.services
Class CardService
-
Field Summary
Fields inherited from class com.chargebee.v4.services.BaseService
client, options -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopyCardForCustomer(String customerId, CopyCardForCustomerParams params) copyCardForCustomerAsync(String customerId, CopyCardForCustomerParams params) Async variant of copyCardForCustomer for card with params.deleteCardForCustomer(String customerId) deleteCardForCustomerAsync(String customerId) Async variant of deleteCardForCustomer for card without params.retrieveAsync(String customerId) Async variant of retrieve for card without params.switchGatewayForCustomer(String customerId, CardSwitchGatewayForCustomerParams params) switchGatewayForCustomerAsync(String customerId, CardSwitchGatewayForCustomerParams params) Async variant of switchGatewayForCustomer for card with params.updateCardForCustomer(String customerId, UpdateCardForCustomerParams params) updateCardForCustomerAsync(String customerId, UpdateCardForCustomerParams params) Async variant of updateCardForCustomer for card 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
-
CardService
-
-
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<CardService>
-
copyCardForCustomer
public CopyCardForCustomerResponse copyCardForCustomer(String customerId, CopyCardForCustomerParams params) throws ChargebeeException - Throws:
ChargebeeException
-
copyCardForCustomerAsync
public CompletableFuture<CopyCardForCustomerResponse> copyCardForCustomerAsync(String customerId, CopyCardForCustomerParams params) Async variant of copyCardForCustomer for card with params. -
retrieve
- Throws:
ChargebeeException
-
retrieveAsync
Async variant of retrieve for card without params. -
switchGatewayForCustomer
public CardSwitchGatewayForCustomerResponse switchGatewayForCustomer(String customerId, CardSwitchGatewayForCustomerParams params) throws ChargebeeException - Throws:
ChargebeeException
-
switchGatewayForCustomerAsync
public CompletableFuture<CardSwitchGatewayForCustomerResponse> switchGatewayForCustomerAsync(String customerId, CardSwitchGatewayForCustomerParams params) Async variant of switchGatewayForCustomer for card with params. -
deleteCardForCustomer
public DeleteCardForCustomerResponse deleteCardForCustomer(String customerId) throws ChargebeeException - Throws:
ChargebeeException
-
deleteCardForCustomerAsync
public CompletableFuture<DeleteCardForCustomerResponse> deleteCardForCustomerAsync(String customerId) Async variant of deleteCardForCustomer for card without params. -
updateCardForCustomer
public UpdateCardForCustomerResponse updateCardForCustomer(String customerId, UpdateCardForCustomerParams params) throws ChargebeeException - Throws:
ChargebeeException
-
updateCardForCustomerAsync
public CompletableFuture<UpdateCardForCustomerResponse> updateCardForCustomerAsync(String customerId, UpdateCardForCustomerParams params) Async variant of updateCardForCustomer for card with params.
-