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