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 java.lang.Object implements BuilderMessage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TradeConfPartsDef.SalesLegTradeConfirmationFields.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NotNull TradeConfPartsDef.SalesLegTradeConfirmationFields
from(@NotNull java.util.Map<java.lang.String,java.lang.String> fields)
static @NotNull TradeConfPartsDef.SalesLegTradeConfirmationFields
from(@NotNull java.util.Map<java.lang.String,java.lang.String> fields, @NotNull java.lang.String fieldPrefix)
@Nullable java.math.BigDecimal
getAllInMargin()
@NotNull java.util.Map<java.lang.String,java.util.Collection<java.lang.String>>
getFieldFlags()
@NotNull java.util.Map<java.lang.String,java.lang.String>
getFields()
@NotNull java.util.Map<java.lang.String,java.util.Collection<java.lang.String>>
getFlagFields()
@Nullable java.math.BigDecimal
getFwdMargin()
@Nullable java.math.BigDecimal
getTraderAllInRate()
@Nullable java.math.BigDecimal
getTraderFwdPoints()
static @NotNull TradeConfPartsDef.SalesLegTradeConfirmationFields.Builder
newBuilder()
@NotNull java.lang.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 Detail
-
getTraderAllInRate
@Nullable public @Nullable java.math.BigDecimal getTraderAllInRate()
- Returns:
- The all-in rate, with no client margin applied to it
-
getTraderFwdPoints
@Nullable public @Nullable java.math.BigDecimal getTraderFwdPoints()
- Returns:
- The forward points with no client margin applied to them.
-
getFwdMargin
@Nullable public @Nullable java.math.BigDecimal getFwdMargin()
- Returns:
- The Forward margin that the user has selected. This field should be sent raw and unformatted.
-
getAllInMargin
@Nullable public @Nullable java.math.BigDecimal getAllInMargin()
- Returns:
- The sales user's selected SpotMargin added to the sales user's selected L1_FwdMargin.
-
getFields
@NotNull public @NotNull java.util.Map<java.lang.String,java.lang.String> getFields()
-
getFieldFlags
@NotNull public @NotNull java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> getFieldFlags()
- Specified by:
getFieldFlags
in interfaceBuilderMessage
- Returns:
- Get the flags for all fields.
-
getFlagFields
@NotNull public @NotNull java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> getFlagFields()
- Specified by:
getFlagFields
in interfaceBuilderMessage
- Returns:
- Get the fields for all flags.
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
from
@NotNull public static @NotNull TradeConfPartsDef.SalesLegTradeConfirmationFields from(@NotNull @NotNull java.util.Map<java.lang.String,java.lang.String> fields)
-
from
@NotNull public static @NotNull TradeConfPartsDef.SalesLegTradeConfirmationFields from(@NotNull @NotNull java.util.Map<java.lang.String,java.lang.String> fields, @NotNull @NotNull java.lang.String fieldPrefix)
-
newBuilder
@NotNull public static @NotNull TradeConfPartsDef.SalesLegTradeConfirmationFields.Builder newBuilder()
-
-