Class TradeDetailsTypesDef.AllocationTradeDetails.Builder
java.lang.Object
com.caplin.generated.motif.fx.tradedetails.TradeDetailsTypesDef.AllocationTradeDetails.Builder
- Enclosing class:
- TradeDetailsTypesDef.AllocationTradeDetails
-
Method Summary
Modifier and TypeMethodDescriptionaddAllLegTradeDetails
(@NotNull Collection<TradeDetailsTypesDef.NettedLegTradeDetailsFields> legTradeDetails) addLegTradeDetails
(@NotNull TradeDetailsTypesDef.NettedLegTradeDetailsFields legTradeDetails) build()
setAllocatingFromTrade
(TradeConfTypesDef.CommonForwardSalesTradeConfirmation allocatingFromTrade) setCommonTradeDetailsFields
(TradeDetailsPartsDef.CommonTradeDetailsFields commonTradeDetailsFields) setInterventionTradeDetailsFields
(TradeDetailsPartsDef.InterventionTradeDetailsFields interventionTradeDetailsFields) setLegTradeDetails
(@NotNull TradeDetailsTypesDef.NettedLegTradeDetailsFields legTradeDetails, int id) setTradeDetailsFields
(TradeDetailsPartsDef.TradeDetailsFields tradeDetailsFields) @NotNull String
toString()
-
Method Details
-
addField
@NotNull public @NotNull TradeDetailsTypesDef.AllocationTradeDetails.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value) -
build
-
toString
-
setCommonTradeDetailsFields
@NotNull public @NotNull TradeDetailsTypesDef.AllocationTradeDetails.Builder setCommonTradeDetailsFields(@NotNull TradeDetailsPartsDef.CommonTradeDetailsFields commonTradeDetailsFields) - Returns:
- commonTradeDetailsFields
-
setTradeDetailsFields
@NotNull public @NotNull TradeDetailsTypesDef.AllocationTradeDetails.Builder setTradeDetailsFields(@NotNull TradeDetailsPartsDef.TradeDetailsFields tradeDetailsFields) - Returns:
- tradeDetailsFields
-
setInterventionTradeDetailsFields
@NotNull public @NotNull TradeDetailsTypesDef.AllocationTradeDetails.Builder setInterventionTradeDetailsFields(@NotNull TradeDetailsPartsDef.InterventionTradeDetailsFields interventionTradeDetailsFields) - Returns:
- interventionTradeDetailsFields
-
setAllocatingFromTrade
@NotNull public @NotNull TradeDetailsTypesDef.AllocationTradeDetails.Builder setAllocatingFromTrade(@NotNull TradeConfTypesDef.CommonForwardSalesTradeConfirmation allocatingFromTrade) - Returns:
- allocatingFromTrade
-
addLegTradeDetails
@NotNull public @NotNull TradeDetailsTypesDef.AllocationTradeDetails.Builder addLegTradeDetails(@NotNull @NotNull TradeDetailsTypesDef.NettedLegTradeDetailsFields legTradeDetails) - Returns:
- legTradeDetails
-
setLegTradeDetails
@NotNull public @NotNull TradeDetailsTypesDef.AllocationTradeDetails.Builder setLegTradeDetails(@NotNull @NotNull TradeDetailsTypesDef.NettedLegTradeDetailsFields legTradeDetails, int id) - Returns:
- legTradeDetails
-
addAllLegTradeDetails
@NotNull public @NotNull TradeDetailsTypesDef.AllocationTradeDetails.Builder addAllLegTradeDetails(@NotNull @NotNull Collection<TradeDetailsTypesDef.NettedLegTradeDetailsFields> legTradeDetails) - Returns:
- legTradeDetails
-