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 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 StringtoString()
-
Method Details
-
addField
@NotNull public @NotNull TradeConfPartsDef.AsianCapFloorTradeConfirmationFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
setDirection
@NotNull public @NotNull TradeConfPartsDef.AsianCapFloorTradeConfirmationFields.Builder setDirection(@NotNull @NotNull String direction) - Returns:
- The direction of the trade, from the client's perspective.
-
setTotalQuantity
@NotNull public @NotNull TradeConfPartsDef.AsianCapFloorTradeConfirmationFields.Builder setTotalQuantity(@NotNull @NotNull BigDecimal totalQuantity) - Returns:
- The total amounts of the deal breakdown for a premium invoice.
-
setTotalQuantity
@NotNull public @NotNull TradeConfPartsDef.AsianCapFloorTradeConfirmationFields.Builder setTotalQuantity(@NotNull @NotNull String totalQuantity) - Returns:
- The total amounts of the deal breakdown for a premium invoice.
-
setStrike
@NotNull public @NotNull TradeConfPartsDef.AsianCapFloorTradeConfirmationFields.Builder setStrike(@NotNull @NotNull BigDecimal strike) - Returns:
- The strike price of the commodity deal.
-
setStrike
@NotNull public @NotNull TradeConfPartsDef.AsianCapFloorTradeConfirmationFields.Builder setStrike(@NotNull @NotNull String strike) - Returns:
- The strike price of the commodity deal.
-
setPremium
@NotNull public @NotNull TradeConfPartsDef.AsianCapFloorTradeConfirmationFields.Builder setPremium(@NotNull @NotNull BigDecimal premium) - Parameters:
premium- e.g. 1000- Returns:
- premium
-
setPremium
@NotNull public @NotNull TradeConfPartsDef.AsianCapFloorTradeConfirmationFields.Builder setPremium(@NotNull @NotNull String premium) - Parameters:
premium- e.g. 1000- Returns:
- premium
-
setPremiumPaymentDate
@NotNull public @NotNull TradeConfPartsDef.AsianCapFloorTradeConfirmationFields.Builder setPremiumPaymentDate(@NotNull @NotNull String premiumPaymentDate) - Returns:
- The agreed-upon date by which the buyer must transfer payment to the seller for the commodity delivered.
-
setPremiumPayer
@NotNull public @NotNull TradeConfPartsDef.AsianCapFloorTradeConfirmationFields.Builder setPremiumPayer(@NotNull @NotNull String premiumPayer) - Returns:
- The identifier for whoever is the premium payer.
-
setBuyer
@NotNull public @NotNull TradeConfPartsDef.AsianCapFloorTradeConfirmationFields.Builder setBuyer(@NotNull @NotNull String buyer) - Returns:
- The buying entity's identifier.
-
setSeller
@NotNull public @NotNull TradeConfPartsDef.AsianCapFloorTradeConfirmationFields.Builder setSeller(@NotNull @NotNull String seller) - Returns:
- The selling entity's identifier.
-