Class TradeConfPartsDef.SalesLegTradeConfirmationFields
java.lang.Object
com.caplin.generated.motif.fx.tradeconfirmation.TradeConfPartsDef.SalesLegTradeConfirmationFields
- All Implemented Interfaces:
BuilderMessage,Message
- Enclosing class:
- TradeConfPartsDef
public static final class TradeConfPartsDef.SalesLegTradeConfirmationFields
extends Object
implements BuilderMessage
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull TradeConfPartsDef.SalesLegTradeConfirmationFieldsstatic @NotNull TradeConfPartsDef.SalesLegTradeConfirmationFields@Nullable BigDecimal@Nullable BigDecimal@Nullable BigDecimal@Nullable BigDecimal@Nullable BigDecimal@NotNull Map<String,Collection<String>> @NotNull Map<String,Collection<String>> @Nullable BigDecimal@org.jetbrains.annotations.Nullable int@Nullable BigDecimal@Nullable BigDecimal@Nullable String@Nullable BigDecimal@Nullable BigDecimal@Nullable BigDecimal@Nullable TradeConfPartsDef.RemarksEntrygetTraderRemarks(int id) @Nullable BigDecimal@Nullable BigDecimalstatic @NotNull TradeConfPartsDef.SalesLegTradeConfirmationFields.Builder@NotNull StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.caplin.motif.datasource.BuilderMessage
getFieldFlags, getFlagFields
-
Method Details
-
getTraderAllInRate
- Returns:
- The all-in rate, with no client margin applied to it
-
getTraderFwdPoints
- Returns:
- The forward points with no client margin applied to them.
-
getFwdMargin
- Returns:
- The Forward margin that the user has selected. This field should be sent raw and unformatted.
-
getAllInMargin
- Returns:
- The sales user's selected SpotMargin added to the sales user's selected L1_FwdMargin.
-
getTOBOUser
- Returns:
- The user the trade is on behalf of. For example, if the logged in user dealer1@novobank.co.za wishes to make a trade on behalf of user client@customer.co.za, then the value of this field will be client@customer.co.za.
-
getTraderOriginalRate
- Returns:
- The TraderRate of the trade that this trade was created from.
-
getOriginalMargin
- Returns:
- The Margin of the trade that this trade was created from.
-
getAdjustedTraderSwapPoints
- Returns:
- The trader swap points adjusted for this repriced trade
-
getAdjustedSwapMargin
- Returns:
- The swap margin adjusted for this repriced trade
-
getReferenceFwdPoints
- Returns:
- This field represents the reference fwd points with no client margin applied to it.
-
getXVAAmount
- Returns:
- The XVA amount on a TradeConfirmation
-
getXVAPoints
- Returns:
- The XVA points on a TradeConfirmation
-
getAskDiscountFactor
- Returns:
- The ask discount factor value
-
getBidDiscountFactor
- Returns:
- The bid discount factor value
-
getComponent1
@NotNull public @NotNull TradeConfPartsDef.SalesSyntheticComponentLegTradeConfirmationFields getComponent1()- Returns:
- component1
-
getComponent2
@NotNull public @NotNull TradeConfPartsDef.SalesSyntheticComponentLegTradeConfirmationFields getComponent2()- Returns:
- component2
-
getTraderRemarks
- Returns:
- traderRemarks
-
getNumTraderRemarks
@Nullable public @org.jetbrains.annotations.Nullable int getNumTraderRemarks() -
getFields
-
getFieldFlags
- Specified by:
getFieldFlagsin interfaceBuilderMessage- Returns:
- Get the flags for all fields.
-
getFlagFields
- Specified by:
getFlagFieldsin interfaceBuilderMessage- Returns:
- Get the fields for all flags.
-
toString
-
from
@NotNull public static @NotNull TradeConfPartsDef.SalesLegTradeConfirmationFields from(@NotNull @NotNull Map<String, String> fields) -
from
@NotNull public static @NotNull TradeConfPartsDef.SalesLegTradeConfirmationFields from(@NotNull @NotNull Map<String, String> fields, @NotNull @NotNull String fieldPrefix) -
newBuilder
@NotNull public static @NotNull TradeConfPartsDef.SalesLegTradeConfirmationFields.Builder newBuilder()
-