Class TradeConfPartsDef.SpreadPutTradeConfirmationFields.Builder
java.lang.Object
com.caplin.generated.motif.commodities.tradeconfirmation.TradeConfPartsDef.SpreadPutTradeConfirmationFields.Builder
- Enclosing class:
- TradeConfPartsDef.SpreadPutTradeConfirmationFields
-
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.SpreadPutTradeConfirmationFields.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
setDirection
@NotNull public @NotNull TradeConfPartsDef.SpreadPutTradeConfirmationFields.Builder setDirection(@NotNull @NotNull String direction) - Returns:
- The direction of the trade, from the client's perspective.
-
setTotalQuantity
@NotNull public @NotNull TradeConfPartsDef.SpreadPutTradeConfirmationFields.Builder setTotalQuantity(@NotNull @NotNull BigDecimal totalQuantity) - Returns:
- The total amounts of the deal breakdown for a premium invoice.
-
setTotalQuantity
@NotNull public @NotNull TradeConfPartsDef.SpreadPutTradeConfirmationFields.Builder setTotalQuantity(@NotNull @NotNull String totalQuantity) - Returns:
- The total amounts of the deal breakdown for a premium invoice.
-
setStrike
@NotNull public @NotNull TradeConfPartsDef.SpreadPutTradeConfirmationFields.Builder setStrike(@NotNull @NotNull BigDecimal strike) - Returns:
- The strike price of the commodity deal.
-
setStrike
@NotNull public @NotNull TradeConfPartsDef.SpreadPutTradeConfirmationFields.Builder setStrike(@NotNull @NotNull String strike) - Returns:
- The strike price of the commodity deal.
-
setPremium
@NotNull public @NotNull TradeConfPartsDef.SpreadPutTradeConfirmationFields.Builder setPremium(@NotNull @NotNull BigDecimal premium) - Parameters:
premium- e.g. 1000- Returns:
- premium
-
setPremium
@NotNull public @NotNull TradeConfPartsDef.SpreadPutTradeConfirmationFields.Builder setPremium(@NotNull @NotNull String premium) - Parameters:
premium- e.g. 1000- Returns:
- premium
-
setPremiumPaymentDate
@NotNull public @NotNull TradeConfPartsDef.SpreadPutTradeConfirmationFields.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.SpreadPutTradeConfirmationFields.Builder setPremiumPayer(@NotNull @NotNull String premiumPayer) - Returns:
- The identifier for whoever is the premium payer.
-