Class TradeDetailsPartsDef.CommonTradeDetailsFields.Builder
- java.lang.Object
-
- com.caplin.generated.motif.mm.tradedetails.TradeDetailsPartsDef.CommonTradeDetailsFields.Builder
-
- Enclosing class:
- TradeDetailsPartsDef.CommonTradeDetailsFields
public static final class TradeDetailsPartsDef.CommonTradeDetailsFields.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull TradeDetailsPartsDef.CommonTradeDetailsFields.Builder
addField(@NotNull java.lang.String key, @NotNull java.lang.String value)
@NotNull TradeDetailsPartsDef.CommonTradeDetailsFields
build()
@NotNull TradeDetailsPartsDef.CommonTradeDetailsFields.Builder
setAccount(@NotNull java.lang.String account)
@NotNull TradeDetailsPartsDef.CommonTradeDetailsFields.Builder
setTOBOUser(@NotNull java.lang.String tOBOUser)
@NotNull TradeDetailsPartsDef.CommonTradeDetailsFields.Builder
setTradingType(@NotNull java.lang.String tradingType)
@NotNull java.lang.String
toString()
-
-
-
Method Detail
-
addField
@NotNull public @NotNull TradeDetailsPartsDef.CommonTradeDetailsFields.Builder addField(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
-
build
@NotNull public @NotNull TradeDetailsPartsDef.CommonTradeDetailsFields build()
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setAccount
@NotNull public @NotNull TradeDetailsPartsDef.CommonTradeDetailsFields.Builder setAccount(@NotNull @NotNull java.lang.String account)
- Returns:
- The used account for the trade.
-
setTOBOUser
@NotNull public @NotNull TradeDetailsPartsDef.CommonTradeDetailsFields.Builder setTOBOUser(@NotNull @NotNull java.lang.String tOBOUser)
- Returns:
- The client who the trade is for.
-
setTradingType
@NotNull public @NotNull TradeDetailsPartsDef.CommonTradeDetailsFields.Builder setTradingType(@NotNull @NotNull java.lang.String tradingType)
- Returns:
- The type of the trade. Supported types are [LOAN, DEPOSIT, CALL-DEPOSIT, TERM-DEPOSIT, FLEXI-NOTICE-DEPOSIT, TREASURY-BILL or GOVERNMENT-BOND].
-
-