public static final class TradeConfPartsDef.SalesCommonTradeConfirmationFields extends Object implements BuilderMessage
Modifier and Type | Class and Description |
---|---|
static class |
TradeConfPartsDef.SalesCommonTradeConfirmationFields.Builder |
Modifier and Type | Method and Description |
---|---|
static @NotNull TradeConfPartsDef.SalesCommonTradeConfirmationFields |
from(@NotNull Map<String,String> fields) |
static @NotNull TradeConfPartsDef.SalesCommonTradeConfirmationFields |
from(@NotNull Map<String,String> fields,
@NotNull String fieldPrefix) |
@Nullable Boolean |
getCompetition()
Whether a quote request is in competition.
|
@NotNull Map<String,Collection<String>> |
getFieldFlags()
Get the flags for all fields.
|
@NotNull Map<String,String> |
getFields() |
@NotNull Map<String,Collection<String>> |
getFlagFields()
Get the fields for all flags.
|
@Nullable Boolean |
getIsAdvised()
Indicates whether the trader gave the client advice
|
@Nullable BigDecimal |
getProfit()
The sales profit in the specified currency.
|
@Nullable String |
getProfitCurrency()
The profit currency that the ProfitBidRate is being provided for.
|
@Nullable Integer |
getProfitCurrencyDPS()
The number of decimal places that should be used for formatting the amount in profit currency field.
|
@Nullable Boolean |
getProfitIsHouse()
Whether the field ProfitCurrency is the system/house currency or not.
|
@Nullable BigDecimal |
getProfitRate()
The conversion rate from the contra currency into the profit currency.
|
@Nullable String |
getReason()
Deprecated.
|
@Nullable String |
getSource()
The source of a quote request.
|
@Nullable BigDecimal |
getSpotMargin()
Can be formatted using DigitsBeforePips, NumberOfPips and SpotRateDPS
|
@Nullable String |
getTraderRemarks()
The trader's comments on an order leg - visible to only the Trader
|
@Nullable BigDecimal |
getTraderSpotRate()
Can be formatted using DigitsBeforePips, NumberOfPips and SpotRateDPS
|
static @NotNull TradeConfPartsDef.SalesCommonTradeConfirmationFields.Builder |
newBuilder() |
@NotNull String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFieldFlags, getFlagFields
@Nullable public @Nullable String getProfitCurrency()
@Nullable public @Nullable Integer getProfitCurrencyDPS()
@Nullable public @Nullable Boolean getProfitIsHouse()
@Nullable public @Nullable BigDecimal getProfitRate()
@Nullable public @Nullable BigDecimal getTraderSpotRate()
@Nullable public @Nullable BigDecimal getSpotMargin()
@Nullable public @Nullable BigDecimal getProfit()
@Nullable public @Nullable Boolean getCompetition()
@Nullable public @Nullable String getSource()
@Deprecated @Nullable public @Nullable String getReason()
@Nullable public @Nullable String getTraderRemarks()
@Nullable public @Nullable Boolean getIsAdvised()
@NotNull public @NotNull Map<String,Collection<String>> getFieldFlags()
BuilderMessage
getFieldFlags
in interface BuilderMessage
@NotNull public @NotNull Map<String,Collection<String>> getFlagFields()
BuilderMessage
getFlagFields
in interface BuilderMessage
@NotNull public static @NotNull TradeConfPartsDef.SalesCommonTradeConfirmationFields from(@NotNull @NotNull Map<String,String> fields)
@NotNull public static @NotNull TradeConfPartsDef.SalesCommonTradeConfirmationFields from(@NotNull @NotNull Map<String,String> fields, @NotNull @NotNull String fieldPrefix)
@NotNull public static @NotNull TradeConfPartsDef.SalesCommonTradeConfirmationFields.Builder newBuilder()
Copyright © 2018 Caplin Systems.