Class TradeConfTypesDef.AllocationConfirmation.Builder
- java.lang.Object
-
- com.caplin.generated.motif.fx.tradeconfirmation.TradeConfTypesDef.AllocationConfirmation.Builder
-
- Enclosing class:
- TradeConfTypesDef.AllocationConfirmation
public static final class TradeConfTypesDef.AllocationConfirmation.Builder extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
addField
@NotNull public @NotNull TradeConfTypesDef.AllocationConfirmation.Builder addField(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
-
build
@NotNull public @NotNull TradeConfTypesDef.AllocationConfirmation build()
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setNettedAmount
@Deprecated @NotNull public @NotNull TradeConfTypesDef.AllocationConfirmation.Builder setNettedAmount(@NotNull @NotNull java.math.BigDecimal nettedAmount)
Deprecated.- Returns:
- Use NetDealtAmount and NetContraAmount instead
-
setNettedAmount
@Deprecated @NotNull public @NotNull TradeConfTypesDef.AllocationConfirmation.Builder setNettedAmount(@NotNull @NotNull java.lang.String nettedAmount)
Deprecated.- Returns:
- Use NetDealtAmount and NetContraAmount instead
-
setDisplayFields
@NotNull public @NotNull TradeConfTypesDef.AllocationConfirmation.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.AllocationConfirmation.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.
-
setCommonFields
@NotNull public @NotNull TradeConfTypesDef.AllocationConfirmation.Builder setCommonFields(@NotNull TradeConfPartsDef.CommonTradeConfirmationFields commonFields)
- Returns:
- commonFields
-
setNdfFields
@NotNull public @NotNull TradeConfTypesDef.AllocationConfirmation.Builder setNdfFields(@NotNull TradeConfPartsDef.NDFTradeConfirmationFields ndfFields)
- Returns:
- ndfFields
-
setNetFields
@NotNull public @NotNull TradeConfTypesDef.AllocationConfirmation.Builder setNetFields(@NotNull TradeConfPartsDef.NetConfirmationFields netFields)
- Returns:
- netFields
-
addNettedLegTradeConfirmationFields
@NotNull public @NotNull TradeConfTypesDef.AllocationConfirmation.Builder addNettedLegTradeConfirmationFields(@NotNull @NotNull TradeConfTypesDef.NettedLegTradeConfirmationFields nettedLegTradeConfirmationFields)
- Returns:
- nettedLegTradeConfirmationFields
-
setNettedLegTradeConfirmationFields
@NotNull public @NotNull TradeConfTypesDef.AllocationConfirmation.Builder setNettedLegTradeConfirmationFields(@NotNull @NotNull TradeConfTypesDef.NettedLegTradeConfirmationFields nettedLegTradeConfirmationFields, int id)
- Returns:
- nettedLegTradeConfirmationFields
-
addAllNettedLegTradeConfirmationFields
@NotNull public @NotNull TradeConfTypesDef.AllocationConfirmation.Builder addAllNettedLegTradeConfirmationFields(@NotNull @NotNull java.util.Collection<TradeConfTypesDef.NettedLegTradeConfirmationFields> nettedLegTradeConfirmationFields)
- Returns:
- nettedLegTradeConfirmationFields
-
addAllocationNettedLegTradeConfirmationFields
@NotNull public @NotNull TradeConfTypesDef.AllocationConfirmation.Builder addAllocationNettedLegTradeConfirmationFields(@NotNull @NotNull TradeConfTypesDef.AllocationNettedLegTradeConfirmationFields allocationNettedLegTradeConfirmationFields)
- Returns:
- allocationNettedLegTradeConfirmationFields
-
setAllocationNettedLegTradeConfirmationFields
@NotNull public @NotNull TradeConfTypesDef.AllocationConfirmation.Builder setAllocationNettedLegTradeConfirmationFields(@NotNull @NotNull TradeConfTypesDef.AllocationNettedLegTradeConfirmationFields allocationNettedLegTradeConfirmationFields, int id)
- Returns:
- allocationNettedLegTradeConfirmationFields
-
addAllAllocationNettedLegTradeConfirmationFields
@NotNull public @NotNull TradeConfTypesDef.AllocationConfirmation.Builder addAllAllocationNettedLegTradeConfirmationFields(@NotNull @NotNull java.util.Collection<TradeConfTypesDef.AllocationNettedLegTradeConfirmationFields> allocationNettedLegTradeConfirmationFields)
- Returns:
- allocationNettedLegTradeConfirmationFields
-
-