Class TradeConfTypesDef.AllocationForwardSalesDetailsUpdate.Builder
java.lang.Object
com.caplin.generated.motif.fx.tradeconfirmation.TradeConfTypesDef.AllocationForwardSalesDetailsUpdate.Builder
- Enclosing class:
- TradeConfTypesDef.AllocationForwardSalesDetailsUpdate
public static final class TradeConfTypesDef.AllocationForwardSalesDetailsUpdate.Builder
extends Object
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setCommonForwardSalesTradeConfirmation
(@NotNull TradeConfTypesDef.CommonForwardSalesTradeConfirmation commonForwardSalesTradeConfirmation) 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.AllocationForwardSalesDetailsUpdate.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
setDisplayFields
@NotNull public @NotNull TradeConfTypesDef.AllocationForwardSalesDetailsUpdate.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.AllocationForwardSalesDetailsUpdate.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.AllocationForwardSalesDetailsUpdate.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.AllocationForwardSalesDetailsUpdate.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
-
setCommonForwardSalesTradeConfirmation
@NotNull public @NotNull TradeConfTypesDef.AllocationForwardSalesDetailsUpdate.Builder setCommonForwardSalesTradeConfirmation(@NotNull @NotNull TradeConfTypesDef.CommonForwardSalesTradeConfirmation commonForwardSalesTradeConfirmation) - Returns:
- commonForwardSalesTradeConfirmation
-