Class AbstractRequestData

java.lang.Object
org.nekosoft.pdffer.web.AbstractRequestData
Direct Known Subclasses:
DownloadRequestData, EmailRequestData

public abstract class AbstractRequestData extends Object
A DTO with the payload for a PDF template. This class is used as a base class to define the structure of the JSON messages that can be sent to the PDFfer endpoints in order to generate PDFs on the fly through the PDFfer web endpoints.
  • Constructor Details

    • AbstractRequestData

      public AbstractRequestData()
  • Method Details

    • getPayload

      public Map<String,​Object> getPayload()
      The payload data that the PDF template will use to generate the PDF.
      Returns:
      the payload data
    • setPayload

      public void setPayload(Map<String,​Object> payload)
      Sets payload data that the PDF template will use to generate the PDF.
      Parameters:
      payload - the payload data