Class DisplayFieldArgument
- java.lang.Object
-
- com.caplin.motif.fx.config.definitions.common.DisplayFieldArgument
-
@Generated(value="org.openapitools.codegen.languages.SpringCodegen", date="2022-09-09T12:46:21.102270Z[GMT]") public class DisplayFieldArgument extends Object
DisplayFieldArgument
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DisplayFieldArgument.TypeEnum
Type of the value.
-
Constructor Summary
Constructors Constructor Description DisplayFieldArgument()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DisplayFieldArgument
digitsBeforePips(Integer digitsBeforePips)
DisplayFieldArgument
dps(Integer dps)
boolean
equals(Object o)
Integer
getDigitsBeforePips()
Digits before pips for a points or rate value.Integer
getDps()
Number of decimal places for a points, rate or amount value.Integer
getNumberOfPips()
Number of pips for a points or rate value.@NotNull DisplayFieldArgument.TypeEnum
getType()
Type of the value.@NotNull String
getValue()
The value to be applied to the template.int
hashCode()
DisplayFieldArgument
numberOfPips(Integer numberOfPips)
void
setDigitsBeforePips(Integer digitsBeforePips)
void
setDps(Integer dps)
void
setNumberOfPips(Integer numberOfPips)
void
setType(DisplayFieldArgument.TypeEnum type)
void
setValue(String value)
String
toString()
DisplayFieldArgument
type(DisplayFieldArgument.TypeEnum type)
DisplayFieldArgument
value(String value)
-
-
-
Method Detail
-
value
public DisplayFieldArgument value(String value)
-
getValue
@NotNull public @NotNull String getValue()
The value to be applied to the template.- Returns:
- value
-
setValue
public void setValue(String value)
-
type
public DisplayFieldArgument type(DisplayFieldArgument.TypeEnum type)
-
getType
@NotNull public @NotNull DisplayFieldArgument.TypeEnum getType()
Type of the value. Used by the frontend for formatting. * `TEXT` - Plaintext value that should be displayed unmodified. * `TOKEN` - Translation token. The token must be known to the frontend. * `NUMBER` - A number. The frontend applies number formatting as specified by the user's locale. Please set the value with the intended precision, as the frontends do not make any precision adjustments for NUMBER values. * `DATE` - An ISO date (`YYYY-MM-DD`). Will be formatted as per user's locale setting. * `TIME` - An ISO date-time (`YYYY-MM-DD[T]HH:mm:ss.SSS`) or time (`HH:mm:ss.SSS`) with or without milliseconds. Input must be in UTC. Milliseconds will be displayed only if the input format contained milliseconds. Frontend will convert to local time and display the time part only, formatted as per user's locale setting. * `DATETIME` - An ISO date-time (`YYYY-MM-DD[T]HH:mm:ss.SSS`) with or without milliseconds. Input must be in UTC. Milliseconds will be displayed only if the input format contained milliseconds. Frontend will convert to local time and display the date and time formatted as per user's locale setting. * `RATE` - A rate value that may be formatted with adapter-provided formatting attributes. * `POINTS` - A points value that may be formatted with adapter-provided formatting attributes. * `AMOUNT` - An amount value that may be formatted with adapter-provided formatting attributes.- Returns:
- type
-
setType
public void setType(DisplayFieldArgument.TypeEnum type)
-
digitsBeforePips
public DisplayFieldArgument digitsBeforePips(Integer digitsBeforePips)
-
getDigitsBeforePips
public Integer getDigitsBeforePips()
Digits before pips for a points or rate value.- Returns:
- digitsBeforePips
-
setDigitsBeforePips
public void setDigitsBeforePips(Integer digitsBeforePips)
-
numberOfPips
public DisplayFieldArgument numberOfPips(Integer numberOfPips)
-
getNumberOfPips
public Integer getNumberOfPips()
Number of pips for a points or rate value.- Returns:
- numberOfPips
-
setNumberOfPips
public void setNumberOfPips(Integer numberOfPips)
-
dps
public DisplayFieldArgument dps(Integer dps)
-
getDps
public Integer getDps()
Number of decimal places for a points, rate or amount value.- Returns:
- dps
-
setDps
public void setDps(Integer dps)
-
-