Class TradeConfTypesDef.AllocationConfirmation.Builder
java.lang.Object
com.caplin.generated.motif.fx.tradeconfirmation.TradeConfTypesDef.AllocationConfirmation.Builder
- Enclosing class:
- TradeConfTypesDef.AllocationConfirmation
-
Method Summary
Modifier and TypeMethodDescriptionaddAllAllocationNettedLegTradeConfirmationFields
(@NotNull Collection<TradeConfTypesDef.AllocationNettedLegTradeConfirmationFields> allocationNettedLegTradeConfirmationFields) addAllNettedLegTradeConfirmationFields
(@NotNull Collection<TradeConfTypesDef.NettedLegTradeConfirmationFields> nettedLegTradeConfirmationFields) addAllocationNettedLegTradeConfirmationFields
(@NotNull TradeConfTypesDef.AllocationNettedLegTradeConfirmationFields allocationNettedLegTradeConfirmationFields) addNettedLegTradeConfirmationFields
(@NotNull TradeConfTypesDef.NettedLegTradeConfirmationFields nettedLegTradeConfirmationFields) build()
setAllocationNettedLegTradeConfirmationFields
(@NotNull TradeConfTypesDef.AllocationNettedLegTradeConfirmationFields allocationNettedLegTradeConfirmationFields, int id) setDisplayFields
(@NotNull DisplayFields displayFields) setDisplayFields
(@NotNull String displayFields) setNettedAmount
(@NotNull String nettedAmount) Deprecated.setNettedAmount
(@NotNull BigDecimal nettedAmount) Deprecated.setNettedLegTradeConfirmationFields
(@NotNull TradeConfTypesDef.NettedLegTradeConfirmationFields nettedLegTradeConfirmationFields, int id) @NotNull String
toString()
-
Method Details
-
addField
@NotNull public @NotNull TradeConfTypesDef.AllocationConfirmation.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
setNettedAmount
@Deprecated @NotNull public @NotNull TradeConfTypesDef.AllocationConfirmation.Builder setNettedAmount(@NotNull @NotNull BigDecimal nettedAmount) Deprecated.- Returns:
- Use NetDealtAmount and NetContraAmount instead
-
setNettedAmount
@Deprecated @NotNull public @NotNull TradeConfTypesDef.AllocationConfirmation.Builder setNettedAmount(@NotNull @NotNull String nettedAmount) Deprecated.- Returns:
- Use NetDealtAmount and NetContraAmount instead
-
setDisplayFields
@NotNull public @NotNull TradeConfTypesDef.AllocationConfirmation.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.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 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 Collection<TradeConfTypesDef.AllocationNettedLegTradeConfirmationFields> allocationNettedLegTradeConfirmationFields) - Returns:
- allocationNettedLegTradeConfirmationFields
-