Class LiquidityPartsDef.LiquidityRiskFields
java.lang.Object
com.caplin.generated.motif.fx.liquidity.LiquidityPartsDef.LiquidityRiskFields
- All Implemented Interfaces:
BuilderMessage
,Message
- Enclosing class:
- LiquidityPartsDef
public static final class LiquidityPartsDef.LiquidityRiskFields
extends Object
implements BuilderMessage
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull LiquidityPartsDef.LiquidityRiskFields
static @NotNull LiquidityPartsDef.LiquidityRiskFields
@NotNull Map<String,
Collection<String>> @NotNull Map<String,
Collection<String>> @Nullable BigDecimal
getRisk()
@Nullable String
@Nullable BigDecimal
static @NotNull LiquidityPartsDef.LiquidityRiskFields.Builder
@NotNull String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.caplin.motif.datasource.BuilderMessage
getFieldFlags, getFlagFields
-
Method Details
-
getRisk
- Returns:
- How much risk a user has used, defined in the currency specified by RiskCurrency.
-
getRiskLimit
- Returns:
- The maximum risk a user is entitled to, defined in the currency specified by RiskCurrency.
-
getRiskCurrency
- Returns:
- The currency in which the risk is expressed.
-
getFields
-
getFieldFlags
- Specified by:
getFieldFlags
in interfaceBuilderMessage
- Returns:
- Get the flags for all fields.
-
getFlagFields
- Specified by:
getFlagFields
in interfaceBuilderMessage
- Returns:
- Get the fields for all flags.
-
toString
-
from
@NotNull public static @NotNull LiquidityPartsDef.LiquidityRiskFields from(@NotNull @NotNull Map<String, String> fields) -
from
@NotNull public static @NotNull LiquidityPartsDef.LiquidityRiskFields from(@NotNull @NotNull Map<String, String> fields, @NotNull @NotNull String fieldPrefix) -
newBuilder
-