Interface PaymentRequestsService
- All Known Implementing Classes:
PaymentRequestsServiceImpl
public interface PaymentRequestsService
PaymentRequestsService
-
Method Summary
Modifier and TypeMethodDescriptionCancel a payment link by order code asynchronously.Cancel a payment link by order code asynchronously.cancel(Long orderCode, String cancellationReason, RequestOptions<CancelPaymentLinkRequest> options) Cancel a payment link by order code asynchronously.Cancel a payment link by payment link ID asynchronously.Cancel a payment link by payment link ID asynchronously.cancel(String paymentLinkId, String cancellationReason, RequestOptions<CancelPaymentLinkRequest> options) Cancel a payment link by payment link ID asynchronously.create(CreatePaymentLinkRequest paymentData) Creates a payment link for the provided order data asynchronously.create(CreatePaymentLinkRequest paymentData, RequestOptions<CreatePaymentLinkRequest> options) Creates a payment link for the provided order data asynchronously.Retrieve payment link information from order code asynchronously.get(Long orderCode, RequestOptions<Void> options) Retrieve payment link information from order code asynchronously.Retrieve payment link information from payment link ID asynchronously.get(String paymentLinkId, RequestOptions<Void> options) Retrieve payment link information from payment link ID asynchronously.invoices()InvoicesService
-
Method Details
-
create
CompletableFuture<CreatePaymentLinkResponse> create(CreatePaymentLinkRequest paymentData, RequestOptions<CreatePaymentLinkRequest> options) Creates a payment link for the provided order data asynchronously.- Parameters:
paymentData- The details of payment link to be created.options- Additional options.- Returns:
- Create payment link detail.
-
create
Creates a payment link for the provided order data asynchronously.- Parameters:
paymentData- The details of payment link to be created.- Returns:
- Create payment link detail.
-
get
Retrieve payment link information from payment link ID asynchronously.- Parameters:
paymentLinkId- The payment link ID.options- Additional options.- Returns:
- Payment link detail.
-
get
Retrieve payment link information from payment link ID asynchronously.- Parameters:
paymentLinkId- The payment link ID.- Returns:
- Payment link detail.
-
get
Retrieve payment link information from order code asynchronously.- Parameters:
orderCode- The order code.options- Additional options.- Returns:
- Payment link detail.
-
get
Retrieve payment link information from order code asynchronously.- Parameters:
orderCode- The order code.- Returns:
- Payment link detail.
-
cancel
CompletableFuture<PaymentLink> cancel(String paymentLinkId, String cancellationReason, RequestOptions<CancelPaymentLinkRequest> options) Cancel a payment link by payment link ID asynchronously.- Parameters:
paymentLinkId- The payment link ID.cancellationReason- The cancellation reason.options- Additional options.- Returns:
- Payment link detail.
-
cancel
Cancel a payment link by payment link ID asynchronously.- Parameters:
paymentLinkId- The payment link ID.cancellationReason- The cancellation reason.- Returns:
- Payment link detail.
-
cancel
Cancel a payment link by payment link ID asynchronously.- Parameters:
paymentLinkId- The payment link ID.- Returns:
- Payment link detail.
-
cancel
CompletableFuture<PaymentLink> cancel(Long orderCode, String cancellationReason, RequestOptions<CancelPaymentLinkRequest> options) Cancel a payment link by order code asynchronously.- Parameters:
orderCode- The order code.cancellationReason- The cancellation reason.options- Additional options.- Returns:
- Payment link detail.
-
cancel
Cancel a payment link by order code asynchronously.- Parameters:
orderCode- The order code.cancellationReason- The cancellation reason.- Returns:
- Payment link detail.
-
cancel
Cancel a payment link by order code asynchronously.- Parameters:
orderCode- The order code.- Returns:
- Payment link detail.
-
invoices
InvoicesService invoices()InvoicesService- Returns:
- InvoicesService
-