Class DateTimeParameter
- java.lang.Object
-
- com.flowable.engage.external.system.whatsapp.dto.DateTimeParameter
-
- All Implemented Interfaces:
WhatsAppTemplateParameter
public class DateTimeParameter extends Object implements WhatsAppTemplateParameter
- Author:
- Anatolii Balakiriev
-
-
Field Summary
Fields Modifier and Type Field Description protected String
calendar
Type of calendar: GREGORIAN, SOLAR_HIJRIprotected LocalDateTime
dateTime
protected String
fallbackValue
Default value, if the device is unsuccessful in localizing a parameter, it should fall back to using this value (e.g.
-
Constructor Summary
Constructors Constructor Description DateTimeParameter(String fallbackValue, LocalDateTime dateTime, String calendar)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCalendar()
LocalDateTime
getDateTime()
String
getFallbackValue()
void
setCalendar(String calendar)
void
setDateTime(LocalDateTime dateTime)
void
setFallbackValue(String fallbackValue)
-
-
-
Field Detail
-
fallbackValue
protected String fallbackValue
Default value, if the device is unsuccessful in localizing a parameter, it should fall back to using this value (e.g. February 25, 1977)
-
dateTime
protected LocalDateTime dateTime
-
calendar
protected String calendar
Type of calendar: GREGORIAN, SOLAR_HIJRI
-
-
Constructor Detail
-
DateTimeParameter
public DateTimeParameter(String fallbackValue, LocalDateTime dateTime, String calendar)
-
-
Method Detail
-
getFallbackValue
public String getFallbackValue()
-
setFallbackValue
public void setFallbackValue(String fallbackValue)
-
getDateTime
public LocalDateTime getDateTime()
-
setDateTime
public void setDateTime(LocalDateTime dateTime)
-
getCalendar
public String getCalendar()
-
setCalendar
public void setCalendar(String calendar)
-
-