Class PrecisionPartsDef.CommonPrecisionFields.Builder
- java.lang.Object
-
- com.caplin.generated.motif.fx.precision.PrecisionPartsDef.CommonPrecisionFields.Builder
-
- Enclosing class:
- PrecisionPartsDef.CommonPrecisionFields
public static final class PrecisionPartsDef.CommonPrecisionFields.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull PrecisionPartsDef.CommonPrecisionFields.Builder
addField(@NotNull String key, @NotNull String value)
@NotNull PrecisionPartsDef.CommonPrecisionFields
build()
@NotNull PrecisionPartsDef.CommonPrecisionFields.Builder
setAmountDPS(@NotNull String amountDPS)
@NotNull PrecisionPartsDef.CommonPrecisionFields.Builder
setAmountDPS(@NotNull BigDecimal amountDPS)
@NotNull String
toString()
-
-
-
Method Detail
-
addField
@NotNull public @NotNull PrecisionPartsDef.CommonPrecisionFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value)
-
build
@NotNull public @NotNull PrecisionPartsDef.CommonPrecisionFields build()
-
setAmountDPS
@NotNull public @NotNull PrecisionPartsDef.CommonPrecisionFields.Builder setAmountDPS(@NotNull @NotNull BigDecimal amountDPS)
- Parameters:
amountDPS
- e.g. 2- Returns:
- The precision for a specified currency pair and dealt currency
-
setAmountDPS
@NotNull public @NotNull PrecisionPartsDef.CommonPrecisionFields.Builder setAmountDPS(@NotNull @NotNull String amountDPS)
- Parameters:
amountDPS
- e.g. 2- Returns:
- The precision for a specified currency pair and dealt currency
-
-