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 java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull PrecisionPartsDef.CommonPrecisionFields.Builder
addField(@NotNull java.lang.String key, @NotNull java.lang.String value)
@NotNull PrecisionPartsDef.CommonPrecisionFields
build()
@NotNull PrecisionPartsDef.CommonPrecisionFields.Builder
setAmountDPS(@NotNull java.lang.String amountDPS)
@NotNull PrecisionPartsDef.CommonPrecisionFields.Builder
setAmountDPS(@NotNull java.math.BigDecimal amountDPS)
@NotNull java.lang.String
toString()
-
-
-
Method Detail
-
addField
@NotNull public @NotNull PrecisionPartsDef.CommonPrecisionFields.Builder addField(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
-
build
@NotNull public @NotNull PrecisionPartsDef.CommonPrecisionFields build()
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setAmountDPS
@NotNull public @NotNull PrecisionPartsDef.CommonPrecisionFields.Builder setAmountDPS(@NotNull @NotNull java.math.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 java.lang.String amountDPS)
- Parameters:
amountDPS
- e.g. 2- Returns:
- The precision for a specified currency pair and dealt currency
-
-