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 Object
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setDirection
(@NotNull String direction) setPremium
(@NotNull String premium) setPremium
(@NotNull BigDecimal premium) setPremiumPayer
(@NotNull String premiumPayer) setPremiumPaymentDate
(@NotNull String premiumPaymentDate) setStrike
(@NotNull BigDecimal strike) setTotalQuantity
(@NotNull String totalQuantity) setTotalQuantity
(@NotNull BigDecimal totalQuantity) @NotNull String
toString()
-
Method Details
-
addField
@NotNull public @NotNull TradeConfPartsDef.EuroPutCallTradeConfirmationFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
setDirection
@NotNull public @NotNull TradeConfPartsDef.EuroPutCallTradeConfirmationFields.Builder setDirection(@NotNull @NotNull String direction) - Returns:
- The direction of the trade, from the client's perspective.
-
setTotalQuantity
@NotNull public @NotNull TradeConfPartsDef.EuroPutCallTradeConfirmationFields.Builder setTotalQuantity(@NotNull @NotNull BigDecimal totalQuantity) - Returns:
- The total amounts of the deal breakdown.
-
setTotalQuantity
@NotNull public @NotNull TradeConfPartsDef.EuroPutCallTradeConfirmationFields.Builder setTotalQuantity(@NotNull @NotNull String totalQuantity) - Returns:
- The total amounts of the deal breakdown.
-
setStrike
@NotNull public @NotNull TradeConfPartsDef.EuroPutCallTradeConfirmationFields.Builder setStrike(@NotNull @NotNull BigDecimal strike) - Returns:
- The strike price of the commodity deal.
-
setStrike
@NotNull public @NotNull TradeConfPartsDef.EuroPutCallTradeConfirmationFields.Builder setStrike(@NotNull @NotNull String strike) - Returns:
- The strike price of the commodity deal.
-
setPremium
@NotNull public @NotNull TradeConfPartsDef.EuroPutCallTradeConfirmationFields.Builder setPremium(@NotNull @NotNull BigDecimal premium) - Parameters:
premium
- e.g. 1000- Returns:
- premium
-
setPremium
@NotNull public @NotNull TradeConfPartsDef.EuroPutCallTradeConfirmationFields.Builder setPremium(@NotNull @NotNull String premium) - Parameters:
premium
- e.g. 1000- Returns:
- premium
-
setPremiumPaymentDate
@NotNull public @NotNull TradeConfPartsDef.EuroPutCallTradeConfirmationFields.Builder setPremiumPaymentDate(@NotNull @NotNull String premiumPaymentDate) - Returns:
- The date by when the premium payment needs to be done.
-
setPremiumPayer
@NotNull public @NotNull TradeConfPartsDef.EuroPutCallTradeConfirmationFields.Builder setPremiumPayer(@NotNull @NotNull String premiumPayer) - Returns:
- The identifier for whoever is the premium payer.
-
setBuyer
@NotNull public @NotNull TradeConfPartsDef.EuroPutCallTradeConfirmationFields.Builder setBuyer(@NotNull @NotNull String buyer) - Returns:
- The buying entity's identifier.
-
setSeller
@NotNull public @NotNull TradeConfPartsDef.EuroPutCallTradeConfirmationFields.Builder setSeller(@NotNull @NotNull String seller) - Returns:
- The selling entity's identifier.
-