Class LiquidityPartsDef.LiquidityRiskFields.Builder
- java.lang.Object
-
- com.caplin.generated.motif.fx.liquidity.LiquidityPartsDef.LiquidityRiskFields.Builder
-
- Enclosing class:
- LiquidityPartsDef.LiquidityRiskFields
public static final class LiquidityPartsDef.LiquidityRiskFields.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull LiquidityPartsDef.LiquidityRiskFields.Builder
addField(@NotNull String key, @NotNull String value)
@NotNull LiquidityPartsDef.LiquidityRiskFields
build()
@NotNull LiquidityPartsDef.LiquidityRiskFields.Builder
setRisk(@NotNull String risk)
@NotNull LiquidityPartsDef.LiquidityRiskFields.Builder
setRisk(@NotNull BigDecimal risk)
@NotNull LiquidityPartsDef.LiquidityRiskFields.Builder
setRiskCurrency(@NotNull String riskCurrency)
@NotNull LiquidityPartsDef.LiquidityRiskFields.Builder
setRiskLimit(@NotNull String riskLimit)
@NotNull LiquidityPartsDef.LiquidityRiskFields.Builder
setRiskLimit(@NotNull BigDecimal riskLimit)
@NotNull String
toString()
-
-
-
Method Detail
-
addField
@NotNull public @NotNull LiquidityPartsDef.LiquidityRiskFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value)
-
build
@NotNull public @NotNull LiquidityPartsDef.LiquidityRiskFields build()
-
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.
-
-