Class DateTimeParameter

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

public class DateTimeParameter extends Parameter
The type Date time parameter.
  • Constructor Details

    • DateTimeParameter

      public DateTimeParameter()
      Instantiates a new Date time parameter.
    • DateTimeParameter

      public DateTimeParameter(DateTime dateTime)
      Instantiates a new Date time parameter.
      Parameters:
      dateTime - the date time
  • Method Details

    • getDateTime

      public DateTime getDateTime()
      Gets date time.
      Returns:
      the date time
    • setDateTime

      public DateTimeParameter setDateTime(DateTime dateTime)
      Sets date time.
      Parameters:
      dateTime - the date time
      Returns:
      the date time