Class TradeConfTypesDef.AllocationForwardDetailsUpdate.Builder
java.lang.Object
com.caplin.generated.motif.fx.tradeconfirmation.TradeConfTypesDef.AllocationForwardDetailsUpdate.Builder
- Enclosing class:
- TradeConfTypesDef.AllocationForwardDetailsUpdate
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setCommonForwardTradeConfirmation
(@NotNull TradeConfTypesDef.CommonForwardTradeConfirmation commonForwardTradeConfirmation) setDisplayFields
(@NotNull DisplayFields displayFields) setDisplayFields
(@NotNull String displayFields) setMaxRepriceDate
(@NotNull String maxRepriceDate) setMinRepriceDate
(@NotNull String minRepriceDate) @NotNull String
toString()
-
Method Details
-
addField
@NotNull public @NotNull TradeConfTypesDef.AllocationForwardDetailsUpdate.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
setDisplayFields
@NotNull public @NotNull TradeConfTypesDef.AllocationForwardDetailsUpdate.Builder setDisplayFields(@NotNull @NotNull String displayFields) - Parameters:
displayFields
- e.g. method={'import':'static com.caplin.motif.fx.config.DefaultDisplayFields.addDefaultSalesAllocationDetailsUpdateFields','name':'addDefaultSalesAllocationDetailsUpdateFields','comment':'See DefaultDisplayFields javadoc for parameters and available builder methods.'}- Returns:
- Configuration for a frontend to display label-value pairs. Use DefaultDisplayFields builders to provide Caplin default and/or custom fields.
-
setDisplayFields
@NotNull public @NotNull TradeConfTypesDef.AllocationForwardDetailsUpdate.Builder setDisplayFields(@NotNull @NotNull DisplayFields displayFields) - Parameters:
displayFields
- e.g. method={'import':'static com.caplin.motif.fx.config.DefaultDisplayFields.addDefaultSalesAllocationDetailsUpdateFields','name':'addDefaultSalesAllocationDetailsUpdateFields','comment':'See DefaultDisplayFields javadoc for parameters and available builder methods.'}- Returns:
- Configuration for a frontend to display label-value pairs. Use DefaultDisplayFields builders to provide Caplin default and/or custom fields.
-
setMinRepriceDate
@NotNull public @NotNull TradeConfTypesDef.AllocationForwardDetailsUpdate.Builder setMinRepriceDate(@NotNull @NotNull String minRepriceDate) - Parameters:
minRepriceDate
- e.g. 2023-06-17- Returns:
- The minimum settlement date that can be chosen when repricing a trade
-
setMaxRepriceDate
@NotNull public @NotNull TradeConfTypesDef.AllocationForwardDetailsUpdate.Builder setMaxRepriceDate(@NotNull @NotNull String maxRepriceDate) - Parameters:
maxRepriceDate
- e.g. 2023-06-17- Returns:
- The maximum settlement date that can be chosen when repricing a trade
-
setCommonForwardTradeConfirmation
@NotNull public @NotNull TradeConfTypesDef.AllocationForwardDetailsUpdate.Builder setCommonForwardTradeConfirmation(@NotNull @NotNull TradeConfTypesDef.CommonForwardTradeConfirmation commonForwardTradeConfirmation) - Returns:
- commonForwardTradeConfirmation
-