Class TradeConfTypesDef.TicketSpotTradeConfirmation.Builder
- java.lang.Object
-
- com.caplin.generated.motif.fx.tradeconfirmation.TradeConfTypesDef.TicketSpotTradeConfirmation.Builder
-
- Enclosing class:
- TradeConfTypesDef.TicketSpotTradeConfirmation
public static final class TradeConfTypesDef.TicketSpotTradeConfirmation.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull TradeConfTypesDef.TicketSpotTradeConfirmation.Builder
addField(@NotNull java.lang.String key, @NotNull java.lang.String value)
@NotNull TradeConfTypesDef.TicketSpotTradeConfirmation
build()
@NotNull TradeConfTypesDef.TicketSpotTradeConfirmation.Builder
setCommonSpotTradeConfirmation(@NotNull TradeConfTypesDef.CommonSpotTradeConfirmation commonSpotTradeConfirmation)
@NotNull TradeConfTypesDef.TicketSpotTradeConfirmation.Builder
setDisplayFields(@NotNull DisplayFields displayFields)
@NotNull TradeConfTypesDef.TicketSpotTradeConfirmation.Builder
setDisplayFields(@NotNull java.lang.String displayFields)
@NotNull TradeConfTypesDef.TicketSpotTradeConfirmation.Builder
setSettlementTradeFields(SettlementInstructionsPartsDef.SettlementSummaryTradeFields settlementTradeFields)
@NotNull java.lang.String
toString()
-
-
-
Method Detail
-
addField
@NotNull public @NotNull TradeConfTypesDef.TicketSpotTradeConfirmation.Builder addField(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
-
build
@NotNull public @NotNull TradeConfTypesDef.TicketSpotTradeConfirmation build()
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setDisplayFields
@NotNull public @NotNull TradeConfTypesDef.TicketSpotTradeConfirmation.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.TicketSpotTradeConfirmation.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.
-
setCommonSpotTradeConfirmation
@NotNull public @NotNull TradeConfTypesDef.TicketSpotTradeConfirmation.Builder setCommonSpotTradeConfirmation(@NotNull @NotNull TradeConfTypesDef.CommonSpotTradeConfirmation commonSpotTradeConfirmation)
- Returns:
- commonSpotTradeConfirmation
-
setSettlementTradeFields
@NotNull public @NotNull TradeConfTypesDef.TicketSpotTradeConfirmation.Builder setSettlementTradeFields(@NotNull SettlementInstructionsPartsDef.SettlementSummaryTradeFields settlementTradeFields)
- Returns:
- settlementTradeFields
-
-