Class TradeConfPartsDef.SalesSwapTradeConfirmationFields
java.lang.Object
com.caplin.generated.motif.fx.tradeconfirmation.TradeConfPartsDef.SalesSwapTradeConfirmationFields
- All Implemented Interfaces:
BuilderMessage
,Message
- Enclosing class:
- TradeConfPartsDef
public static final class TradeConfPartsDef.SalesSwapTradeConfirmationFields
extends Object
implements BuilderMessage
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields
static @NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields
@NotNull Map<String,
Collection<String>> @NotNull Map<String,
Collection<String>> @Nullable BigDecimal
@Nullable BigDecimal
static @NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields.Builder
@NotNull String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.caplin.motif.datasource.BuilderMessage
getFieldFlags, getFlagFields
-
Method Details
-
getTraderSwapPoints
- Returns:
- The spot points with no client margins applied to them.
-
getSwapMargin
- Returns:
- The swap margin that the sales user has selected. It should be sent as a raw value, and unformatted.
-
getComponent1
@NotNull public @NotNull TradeConfPartsDef.SalesSwapSyntheticComponentTradeConfirmationFields getComponent1()- Returns:
- component1
-
getComponent2
@NotNull public @NotNull TradeConfPartsDef.SalesSwapSyntheticComponentTradeConfirmationFields getComponent2()- Returns:
- component2
-
getFields
-
getFieldFlags
- Specified by:
getFieldFlags
in interfaceBuilderMessage
- Returns:
- Get the flags for all fields.
-
getFlagFields
- Specified by:
getFlagFields
in interfaceBuilderMessage
- Returns:
- Get the fields for all flags.
-
toString
-
from
@NotNull public static @NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields from(@NotNull @NotNull Map<String, String> fields) -
from
@NotNull public static @NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields from(@NotNull @NotNull Map<String, String> fields, @NotNull @NotNull String fieldPrefix) -
newBuilder
@NotNull public static @NotNull TradeConfPartsDef.SalesSwapTradeConfirmationFields.Builder newBuilder()
-