Class LiquidityPartsDef.LiquidityRiskFields.Builder
java.lang.Object
com.caplin.generated.motif.fx.liquidity.LiquidityPartsDef.LiquidityRiskFields.Builder
- Enclosing class:
- LiquidityPartsDef.LiquidityRiskFields
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setRisk
(@NotNull BigDecimal risk) setRiskCurrency
(@NotNull String riskCurrency) setRiskLimit
(@NotNull String riskLimit) setRiskLimit
(@NotNull BigDecimal riskLimit) @NotNull String
toString()
-
Method Details
-
addField
@NotNull public @NotNull LiquidityPartsDef.LiquidityRiskFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
setRisk
@NotNull public @NotNull LiquidityPartsDef.LiquidityRiskFields.Builder setRisk(@NotNull @NotNull BigDecimal risk) - Returns:
- How much risk a user has used, defined in the currency specified by RiskCurrency.
-
setRisk
@NotNull public @NotNull LiquidityPartsDef.LiquidityRiskFields.Builder setRisk(@NotNull @NotNull String risk) - Returns:
- How much risk a user has used, defined in the currency specified by RiskCurrency.
-
setRiskLimit
@NotNull public @NotNull LiquidityPartsDef.LiquidityRiskFields.Builder setRiskLimit(@NotNull @NotNull BigDecimal riskLimit) - Returns:
- The maximum risk a user is entitled to, defined in the currency specified by RiskCurrency.
-
setRiskLimit
@NotNull public @NotNull LiquidityPartsDef.LiquidityRiskFields.Builder setRiskLimit(@NotNull @NotNull String riskLimit) - Returns:
- The maximum risk a user is entitled to, defined in the currency specified by RiskCurrency.
-
setRiskCurrency
@NotNull public @NotNull LiquidityPartsDef.LiquidityRiskFields.Builder setRiskCurrency(@NotNull @NotNull String riskCurrency) - Returns:
- The currency in which the risk is expressed.
-