Class TradeConfPartsDef.FixedSwapTradeConfirmationFields.Builder
- java.lang.Object
-
- com.caplin.generated.motif.commodities.tradeconfirmation.TradeConfPartsDef.FixedSwapTradeConfirmationFields.Builder
-
- Enclosing class:
- TradeConfPartsDef.FixedSwapTradeConfirmationFields
public static final class TradeConfPartsDef.FixedSwapTradeConfirmationFields.Builder extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
addField
@NotNull public @NotNull TradeConfPartsDef.FixedSwapTradeConfirmationFields.Builder addField(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
-
build
@NotNull public @NotNull TradeConfPartsDef.FixedSwapTradeConfirmationFields build()
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setDirection
@NotNull public @NotNull TradeConfPartsDef.FixedSwapTradeConfirmationFields.Builder setDirection(@NotNull @NotNull java.lang.String direction)
- Returns:
- The direction of the trade, from the client's perspective.
-
setTotalQuantity
@NotNull public @NotNull TradeConfPartsDef.FixedSwapTradeConfirmationFields.Builder setTotalQuantity(@NotNull @NotNull java.math.BigDecimal totalQuantity)
- Returns:
- The total amounts of the deal breakdown.
-
setTotalQuantity
@NotNull public @NotNull TradeConfPartsDef.FixedSwapTradeConfirmationFields.Builder setTotalQuantity(@NotNull @NotNull java.lang.String totalQuantity)
- Returns:
- The total amounts of the deal breakdown.
-
setFixedPrice
@NotNull public @NotNull TradeConfPartsDef.FixedSwapTradeConfirmationFields.Builder setFixedPrice(@NotNull @NotNull java.math.BigDecimal fixedPrice)
- Returns:
- The fixed price of the commodity deal.
-
setFixedPrice
@NotNull public @NotNull TradeConfPartsDef.FixedSwapTradeConfirmationFields.Builder setFixedPrice(@NotNull @NotNull java.lang.String fixedPrice)
- Returns:
- The fixed price of the commodity deal.
-
setFixedPricePayer
@NotNull public @NotNull TradeConfPartsDef.FixedSwapTradeConfirmationFields.Builder setFixedPricePayer(@NotNull @NotNull java.lang.String fixedPricePayer)
- Returns:
- The identifier for whoever is the fixed price payer.
-
setFloatingPricePayer
@NotNull public @NotNull TradeConfPartsDef.FixedSwapTradeConfirmationFields.Builder setFloatingPricePayer(@NotNull @NotNull java.lang.String floatingPricePayer)
- Returns:
- The identifier for whoever is the floating price payer
-
-