Package com.chargebee.v4.services
Class OrderService
-
Field Summary
Fields inherited from class com.chargebee.v4.services.BaseService
client, options -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassignOrderNumber(String orderId) assignOrderNumberAsync(String orderId) Async variant of assignOrderNumber for order without params.cancel(String orderId, OrderCancelParams params) cancelAsync(String orderId, OrderCancelParams params) Async variant of cancel for order with params.create(OrderCreateParams params) createAsync(OrderCreateParams params) Async variant of create for order with params.createRefundableCreditNote(String orderId) createRefundableCreditNote(String orderId, OrderCreateRefundableCreditNoteParams params) createRefundableCreditNoteAsync(String orderId) Async variant of createRefundableCreditNote for order without params.createRefundableCreditNoteAsync(String orderId, OrderCreateRefundableCreditNoteParams params) Async variant of createRefundableCreditNote for order with params.deleteAsync(String orderId) Async variant of delete for order without params.importOrder(ImportOrderParams params) importOrderAsync(ImportOrderParams params) Async variant of importOrder for order with params.list()list(OrderListParams params) Async variant of list for order without params.listAsync(OrderListParams params) Async variant of list for order with params.ordersForInvoice(String invoiceId) ordersForInvoice(String invoiceId, OrdersForInvoiceParams params) ordersForInvoiceAsync(String invoiceId) Async variant of ordersForInvoice for order without params.ordersForInvoiceAsync(String invoiceId, OrdersForInvoiceParams params) Async variant of ordersForInvoice for order with params.reopen(String orderId, OrderReopenParams params) reopenAsync(String orderId) Async variant of reopen for order without params.reopenAsync(String orderId, OrderReopenParams params) Async variant of reopen for order with params.resend(String orderId, OrderResendParams params) resendAsync(String orderId) Async variant of resend for order without params.resendAsync(String orderId, OrderResendParams params) Async variant of resend for order with params.retrieveAsync(String orderId) Async variant of retrieve for order without params.update(String orderId, OrderUpdateParams params) updateAsync(String orderId) Async variant of update for order without params.updateAsync(String orderId, OrderUpdateParams params) Async variant of update for order 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
-
OrderService
-
-
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<OrderService>
-
list
- Throws:
ChargebeeException
-
listAsync
Async variant of list for order with params. -
list
- Throws:
ChargebeeException
-
listAsync
Async variant of list for order without params. -
create
- Throws:
ChargebeeException
-
createAsync
Async variant of create for order with params. -
importOrder
- Throws:
ChargebeeException
-
importOrderAsync
Async variant of importOrder for order with params. -
assignOrderNumber
- Throws:
ChargebeeException
-
assignOrderNumberAsync
Async variant of assignOrderNumber for order without params. -
resend
public OrderResendResponse resend(String orderId, OrderResendParams params) throws ChargebeeException - Throws:
ChargebeeException
-
resendAsync
Async variant of resend for order with params. -
resend
- Throws:
ChargebeeException
-
resendAsync
Async variant of resend for order without params. -
reopen
public OrderReopenResponse reopen(String orderId, OrderReopenParams params) throws ChargebeeException - Throws:
ChargebeeException
-
reopenAsync
Async variant of reopen for order with params. -
reopen
- Throws:
ChargebeeException
-
reopenAsync
Async variant of reopen for order without params. -
ordersForInvoice
public OrdersForInvoiceResponse ordersForInvoice(String invoiceId, OrdersForInvoiceParams params) throws ChargebeeException - Throws:
ChargebeeException
-
ordersForInvoice
- Throws:
ChargebeeException
-
ordersForInvoiceAsync
public CompletableFuture<OrdersForInvoiceResponse> ordersForInvoiceAsync(String invoiceId, OrdersForInvoiceParams params) Async variant of ordersForInvoice for order with params. -
ordersForInvoiceAsync
Async variant of ordersForInvoice for order without params. -
cancel
public OrderCancelResponse cancel(String orderId, OrderCancelParams params) throws ChargebeeException - Throws:
ChargebeeException
-
cancelAsync
Async variant of cancel for order with params. -
retrieve
- Throws:
ChargebeeException
-
retrieveAsync
Async variant of retrieve for order without params. -
update
public OrderUpdateResponse update(String orderId, OrderUpdateParams params) throws ChargebeeException - Throws:
ChargebeeException
-
updateAsync
Async variant of update for order with params. -
update
- Throws:
ChargebeeException
-
updateAsync
Async variant of update for order without params. -
delete
- Throws:
ChargebeeException
-
deleteAsync
Async variant of delete for order without params. -
createRefundableCreditNote
public OrderCreateRefundableCreditNoteResponse createRefundableCreditNote(String orderId, OrderCreateRefundableCreditNoteParams params) throws ChargebeeException - Throws:
ChargebeeException
-
createRefundableCreditNoteAsync
public CompletableFuture<OrderCreateRefundableCreditNoteResponse> createRefundableCreditNoteAsync(String orderId, OrderCreateRefundableCreditNoteParams params) Async variant of createRefundableCreditNote for order with params. -
createRefundableCreditNote
public OrderCreateRefundableCreditNoteResponse createRefundableCreditNote(String orderId) throws ChargebeeException - Throws:
ChargebeeException
-
createRefundableCreditNoteAsync
public CompletableFuture<OrderCreateRefundableCreditNoteResponse> createRefundableCreditNoteAsync(String orderId) Async variant of createRefundableCreditNote for order without params.
-