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