Interface PaymentRequestsService

All Known Implementing Classes:
PaymentRequestsServiceImpl

public interface PaymentRequestsService
PaymentRequestsService
  • Method Details

    • create

      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

      CompletableFuture<PaymentLink> get(String paymentLinkId, RequestOptions<Void> options)
      Retrieve payment link information from payment link ID asynchronously.
      Parameters:
      paymentLinkId - The payment link ID.
      options - Additional options.
      Returns:
      Payment link detail.
    • get

      CompletableFuture<PaymentLink> get(String paymentLinkId)
      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

      CompletableFuture<PaymentLink> cancel(String paymentLinkId, String cancellationReason)
      Cancel a payment link by payment link ID asynchronously.
      Parameters:
      paymentLinkId - The payment link ID.
      cancellationReason - The cancellation reason.
      Returns:
      Payment link detail.
    • cancel

      CompletableFuture<PaymentLink> cancel(String paymentLinkId)
      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

      CompletableFuture<PaymentLink> cancel(Long orderCode, String cancellationReason)
      Cancel a payment link by order code asynchronously.
      Parameters:
      orderCode - The order code.
      cancellationReason - The cancellation reason.
      Returns:
      Payment link detail.
    • cancel

      CompletableFuture<PaymentLink> cancel(Long orderCode)
      Cancel a payment link by order code asynchronously.
      Parameters:
      orderCode - The order code.
      Returns:
      Payment link detail.
    • invoices

      InvoicesService invoices()
      InvoicesService
      Returns:
      InvoicesService