Class TradeConfPartsDef.EuroPutCallTradeConfirmationFields.Builder
- java.lang.Object
-
- com.caplin.generated.motif.commodities.tradeconfirmation.TradeConfPartsDef.EuroPutCallTradeConfirmationFields.Builder
-
- Enclosing class:
- TradeConfPartsDef.EuroPutCallTradeConfirmationFields
public static final class TradeConfPartsDef.EuroPutCallTradeConfirmationFields.Builder extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
addField
@NotNull public @NotNull TradeConfPartsDef.EuroPutCallTradeConfirmationFields.Builder addField(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
-
build
@NotNull public @NotNull TradeConfPartsDef.EuroPutCallTradeConfirmationFields build()
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setDirection
@NotNull public @NotNull TradeConfPartsDef.EuroPutCallTradeConfirmationFields.Builder setDirection(@NotNull @NotNull java.lang.String direction)
- Returns:
- The direction of the trade, from the client's perspective.
-
setTotalQuantity
@NotNull public @NotNull TradeConfPartsDef.EuroPutCallTradeConfirmationFields.Builder setTotalQuantity(@NotNull @NotNull java.math.BigDecimal totalQuantity)
- Returns:
- The total amounts of the deal breakdown.
-
setTotalQuantity
@NotNull public @NotNull TradeConfPartsDef.EuroPutCallTradeConfirmationFields.Builder setTotalQuantity(@NotNull @NotNull java.lang.String totalQuantity)
- Returns:
- The total amounts of the deal breakdown.
-
setStrike
@NotNull public @NotNull TradeConfPartsDef.EuroPutCallTradeConfirmationFields.Builder setStrike(@NotNull @NotNull java.math.BigDecimal strike)
- Returns:
- The strike price of the commodity deal.
-
setStrike
@NotNull public @NotNull TradeConfPartsDef.EuroPutCallTradeConfirmationFields.Builder setStrike(@NotNull @NotNull java.lang.String strike)
- Returns:
- The strike price of the commodity deal.
-
setPremium
@NotNull public @NotNull TradeConfPartsDef.EuroPutCallTradeConfirmationFields.Builder setPremium(@NotNull @NotNull java.math.BigDecimal premium)
- Parameters:
premium
- e.g. 1000- Returns:
- premium
-
setPremium
@NotNull public @NotNull TradeConfPartsDef.EuroPutCallTradeConfirmationFields.Builder setPremium(@NotNull @NotNull java.lang.String premium)
- Parameters:
premium
- e.g. 1000- Returns:
- premium
-
setPremiumPaymentDate
@NotNull public @NotNull TradeConfPartsDef.EuroPutCallTradeConfirmationFields.Builder setPremiumPaymentDate(@NotNull @NotNull java.lang.String premiumPaymentDate)
- Returns:
- The date by when the premium payment needs to be done.
-
setPremiumPayer
@NotNull public @NotNull TradeConfPartsDef.EuroPutCallTradeConfirmationFields.Builder setPremiumPayer(@NotNull @NotNull java.lang.String premiumPayer)
- Returns:
- The identifier for whoever is the premium payer.
-
setBuyer
@NotNull public @NotNull TradeConfPartsDef.EuroPutCallTradeConfirmationFields.Builder setBuyer(@NotNull @NotNull java.lang.String buyer)
- Returns:
- The buying entity's identifier.
-
setSeller
@NotNull public @NotNull TradeConfPartsDef.EuroPutCallTradeConfirmationFields.Builder setSeller(@NotNull @NotNull java.lang.String seller)
- Returns:
- The selling entity's identifier.
-
-