public class ConversationHsmLocalizableParameter extends Object
| Modifier and Type | Method and Description |
|---|---|
static ConversationHsmLocalizableParameter |
currency(String defaultValue,
String code,
int amount)
Gets a parameter that localizes a currency.
|
static ConversationHsmLocalizableParameter |
dateTime(String defaultValue,
Date dateTime)
Gets a parameter that localizes a date/time.
|
static ConversationHsmLocalizableParameter |
defaultValue(String defaultValue)
Gets a parameter that does a simple replacement without localization.
|
ConversationHsmLocalizableParameterCurrency |
getCurrency() |
Date |
getDateTime() |
String |
getDefaultValue() |
String |
toString() |
public static ConversationHsmLocalizableParameter defaultValue(String defaultValue)
defaultValue - String to replace parameter with.public static ConversationHsmLocalizableParameter currency(String defaultValue, String code, int amount)
defaultValue - Default for when localization fails.code - ISO 4217 compliant currency code.amount - Amount multiplied by 1000. E.g. 12.34 becomes 12340.public static ConversationHsmLocalizableParameter dateTime(String defaultValue, Date dateTime)
defaultValue - Default for when localization fails.dateTime - Localizable date/time.public String getDefaultValue()
public ConversationHsmLocalizableParameterCurrency getCurrency()
public Date getDateTime()
Copyright © 2024. All rights reserved.