Class DocumentParameter

java.lang.Object
com.whatsapp.api.domain.messages.Parameter
com.whatsapp.api.domain.messages.DocumentParameter

public class DocumentParameter extends Parameter
The type Document parameter.
  • Constructor Details

    • DocumentParameter

      public DocumentParameter()
      Instantiates a new Document parameter.
    • DocumentParameter

      public DocumentParameter(Document document)
      Instantiates a new Document parameter.
      Parameters:
      document - the document
  • Method Details

    • getDocument

      public Document getDocument()
      Gets document.
      Returns:
      the document
    • setDocument

      public DocumentParameter setDocument(Document document)
      Sets document.
      Parameters:
      document - the document
      Returns:
      the document