Class TradeConfTypesDef.AllocationForwardDetailsUpdate.Builder
- java.lang.Object
-
- com.caplin.generated.motif.fx.tradeconfirmation.TradeConfTypesDef.AllocationForwardDetailsUpdate.Builder
-
- Enclosing class:
- TradeConfTypesDef.AllocationForwardDetailsUpdate
public static final class TradeConfTypesDef.AllocationForwardDetailsUpdate.Builder extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
addField
@NotNull public @NotNull TradeConfTypesDef.AllocationForwardDetailsUpdate.Builder addField(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
-
build
@NotNull public @NotNull TradeConfTypesDef.AllocationForwardDetailsUpdate build()
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setDisplayFields
@NotNull public @NotNull TradeConfTypesDef.AllocationForwardDetailsUpdate.Builder setDisplayFields(@NotNull @NotNull java.lang.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 java.lang.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 java.lang.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
-
-