Interface InvoicesService

All Known Implementing Classes:
InvoicesServiceImpl

public interface InvoicesService
InvoicesService
  • Method Details

    • get

      InvoicesInfo get(String paymentLinkId, RequestOptions<Void> options)
      Retrieve invoices of a payment link by payment link ID.
      Parameters:
      paymentLinkId - Payment link ID.
      options - Additional options.
      Returns:
      Invoice information.
    • get

      InvoicesInfo get(Long orderCode, RequestOptions<Void> options)
      Retrieve invoices of a payment link by order code.
      Parameters:
      orderCode - Order code.
      options - Additional options.
      Returns:
      Invoice information.
    • get

      InvoicesInfo get(String paymentLinkId)
      Retrieve invoices of a payment link by payment link ID.
      Parameters:
      paymentLinkId - Payment link ID.
      Returns:
      Invoice information.
    • get

      InvoicesInfo get(Long orderCode)
      Retrieve invoices of a payment link by order code.
      Parameters:
      orderCode - Order code.
      Returns:
      Invoice information.
    • download

      FileDownloadResponse download(String invoiceId, String paymentLinkId, RequestOptions<Void> options)
      Download an invoice in PDF format by payment link ID.
      Parameters:
      invoiceId - Invoice ID.
      paymentLinkId - Payment link ID.
      options - Additional options.
      Returns:
      Invoice file.
    • download

      FileDownloadResponse download(String invoiceId, Long orderCode, RequestOptions<Void> options)
      Download an invoice in PDF format by order code.
      Parameters:
      invoiceId - Invoice ID.
      orderCode - Order code.
      options - Additional options.
      Returns:
      Invoice file.
    • download

      FileDownloadResponse download(String invoiceId, String paymentLinkId)
      Download an invoice in PDF format by payment link ID.
      Parameters:
      invoiceId - Invoice ID.
      paymentLinkId - Payment link ID.
      Returns:
      Invoice file.
    • download

      FileDownloadResponse download(String invoiceId, Long orderCode)
      Download an invoice in PDF format by order code.
      Parameters:
      invoiceId - Invoice ID.
      orderCode - Order code.
      Returns:
      Invoice file.