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 Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull SettlementInstructionsPartsDef.NettingComponents.Builder
addField(@NotNull String key, @NotNull String value)
@NotNull SettlementInstructionsPartsDef.NettingComponents
build()
@NotNull SettlementInstructionsPartsDef.NettingComponents.Builder
setAmount(@NotNull String amount)
@NotNull SettlementInstructionsPartsDef.NettingComponents.Builder
setAmount(@NotNull BigDecimal amount)
@NotNull SettlementInstructionsPartsDef.NettingComponents.Builder
setBuySell(@NotNull String buySell)
@NotNull SettlementInstructionsPartsDef.NettingComponents.Builder
setTradeID(@NotNull String tradeID)
@NotNull String
toString()
-
-
-
Method Detail
-
addField
@NotNull public @NotNull SettlementInstructionsPartsDef.NettingComponents.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value)
-
build
@NotNull public @NotNull SettlementInstructionsPartsDef.NettingComponents build()
-
setTradeID
@NotNull public @NotNull SettlementInstructionsPartsDef.NettingComponents.Builder setTradeID(@NotNull @NotNull String tradeID)
- Parameters:
tradeID
- e.g. 00001561- Returns:
- A unique identifier for this trade
-
setBuySell
@NotNull public @NotNull SettlementInstructionsPartsDef.NettingComponents.Builder setBuySell(@NotNull @NotNull 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 BigDecimal amount)
- Returns:
- The amount of a trade or order in the DealtCurrency.
-
setAmount
@NotNull public @NotNull SettlementInstructionsPartsDef.NettingComponents.Builder setAmount(@NotNull @NotNull String amount)
- Returns:
- The amount of a trade or order in the DealtCurrency.
-
-