Class TradeConfPartsDef.AllocationLegTradeConfirmationFields.Builder
- java.lang.Object
-
- com.caplin.generated.motif.fx.tradeconfirmation.TradeConfPartsDef.AllocationLegTradeConfirmationFields.Builder
-
- Enclosing class:
- TradeConfPartsDef.AllocationLegTradeConfirmationFields
public static final class TradeConfPartsDef.AllocationLegTradeConfirmationFields.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull TradeConfPartsDef.AllocationLegTradeConfirmationFields.Builder
addField(@NotNull java.lang.String key, @NotNull java.lang.String value)
@NotNull TradeConfPartsDef.AllocationLegTradeConfirmationFields
build()
@NotNull TradeConfPartsDef.AllocationLegTradeConfirmationFields.Builder
setDisplayFields(@NotNull DisplayFields displayFields)
@NotNull TradeConfPartsDef.AllocationLegTradeConfirmationFields.Builder
setDisplayFields(@NotNull java.lang.String displayFields)
@NotNull TradeConfPartsDef.AllocationLegTradeConfirmationFields.Builder
setMarkToMarket(@NotNull java.lang.String markToMarket)
@NotNull TradeConfPartsDef.AllocationLegTradeConfirmationFields.Builder
setMarkToMarket(@NotNull java.math.BigDecimal markToMarket)
@NotNull java.lang.String
toString()
-
-
-
Method Detail
-
addField
@NotNull public @NotNull TradeConfPartsDef.AllocationLegTradeConfirmationFields.Builder addField(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
-
build
@NotNull public @NotNull TradeConfPartsDef.AllocationLegTradeConfirmationFields build()
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setMarkToMarket
@NotNull public @NotNull TradeConfPartsDef.AllocationLegTradeConfirmationFields.Builder setMarkToMarket(@NotNull @NotNull java.math.BigDecimal markToMarket)
- Parameters:
markToMarket
- e.g. 12.45- Returns:
- A signed numerical value which represents a positive or negative cashflow when rolling forward or back a new deal from the original deal
-
setMarkToMarket
@NotNull public @NotNull TradeConfPartsDef.AllocationLegTradeConfirmationFields.Builder setMarkToMarket(@NotNull @NotNull java.lang.String markToMarket)
- Parameters:
markToMarket
- e.g. 12.45- Returns:
- A signed numerical value which represents a positive or negative cashflow when rolling forward or back a new deal from the original deal
-
setDisplayFields
@NotNull public @NotNull TradeConfPartsDef.AllocationLegTradeConfirmationFields.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 TradeConfPartsDef.AllocationLegTradeConfirmationFields.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.
-
-