Class SettlementInstructionsPartsDef.NettingComponents.Builder
- java.lang.Object
-
- com.caplin.generated.motif.fx.settlementinstructions.SettlementInstructionsPartsDef.NettingComponents.Builder
-
- Enclosing class:
- SettlementInstructionsPartsDef.NettingComponents
public static final class SettlementInstructionsPartsDef.NettingComponents.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull SettlementInstructionsPartsDef.NettingComponents.Builder
addField(@NotNull java.lang.String key, @NotNull java.lang.String value)
@NotNull SettlementInstructionsPartsDef.NettingComponents
build()
@NotNull SettlementInstructionsPartsDef.NettingComponents.Builder
setAmount(@NotNull java.lang.String amount)
@NotNull SettlementInstructionsPartsDef.NettingComponents.Builder
setAmount(@NotNull java.math.BigDecimal amount)
@NotNull SettlementInstructionsPartsDef.NettingComponents.Builder
setBuySell(@NotNull java.lang.String buySell)
@NotNull SettlementInstructionsPartsDef.NettingComponents.Builder
setTradeID(@NotNull java.lang.String tradeID)
@NotNull java.lang.String
toString()
-
-
-
Method Detail
-
addField
@NotNull public @NotNull SettlementInstructionsPartsDef.NettingComponents.Builder addField(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
-
build
@NotNull public @NotNull SettlementInstructionsPartsDef.NettingComponents build()
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setTradeID
@NotNull public @NotNull SettlementInstructionsPartsDef.NettingComponents.Builder setTradeID(@NotNull @NotNull java.lang.String tradeID)
- Parameters:
tradeID
- e.g. 00001561- Returns:
- A unique identifier for this trade
-
setBuySell
@NotNull public @NotNull SettlementInstructionsPartsDef.NettingComponents.Builder setBuySell(@NotNull @NotNull java.lang.String buySell)
- Returns:
- The direction of the trade or trade leg, from the client's perspective. This always refers to the BaseCurrency, NOT the DealtCurrency.
-
setAmount
@NotNull public @NotNull SettlementInstructionsPartsDef.NettingComponents.Builder setAmount(@NotNull @NotNull java.math.BigDecimal amount)
- Returns:
- The amount of a trade or order in the DealtCurrency.
-
setAmount
@NotNull public @NotNull SettlementInstructionsPartsDef.NettingComponents.Builder setAmount(@NotNull @NotNull java.lang.String amount)
- Returns:
- The amount of a trade or order in the DealtCurrency.
-
-