Class QuotePartsDef.SalesSwapQuoteFields
- java.lang.Object
-
- com.caplin.generated.motif.fx.rates.QuotePartsDef.SalesSwapQuoteFields
-
- All Implemented Interfaces:
BuilderMessage
,Message
- Enclosing class:
- QuotePartsDef
public static final class QuotePartsDef.SalesSwapQuoteFields extends Object implements BuilderMessage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QuotePartsDef.SalesSwapQuoteFields.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NotNull QuotePartsDef.SalesSwapQuoteFields
from(@NotNull Map<String,String> fields)
static @NotNull QuotePartsDef.SalesSwapQuoteFields
from(@NotNull Map<String,String> fields, @NotNull String fieldPrefix)
@Nullable BigDecimal
getDefaultSwapAskMargin()
@Nullable BigDecimal
getDefaultSwapBidMargin()
@NotNull Map<String,Collection<String>>
getFieldFlags()
@NotNull Map<String,String>
getFields()
@NotNull Map<String,Collection<String>>
getFlagFields()
@Nullable BigDecimal
getTraderSwapAskPoints()
@Nullable BigDecimal
getTraderSwapBidPoints()
static @NotNull QuotePartsDef.SalesSwapQuoteFields.Builder
newBuilder()
@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 Detail
-
getTraderSwapAskPoints
@Nullable public @Nullable BigDecimal getTraderSwapAskPoints()
- Returns:
- The swap ask points with no client margins applied to them.
-
getDefaultSwapAskMargin
@Nullable public @Nullable BigDecimal getDefaultSwapAskMargin()
- Returns:
- The default swap margin to be applied to the ask side: L1_DefaultFwdBidMargin + L2_DefaultFwdAskMargin
-
getTraderSwapBidPoints
@Nullable public @Nullable BigDecimal getTraderSwapBidPoints()
- Returns:
- The swap bid points with no client margins applied to them.
-
getDefaultSwapBidMargin
@Nullable public @Nullable BigDecimal getDefaultSwapBidMargin()
- Returns:
- The default swap margin to be applied to the bid side: L1_DefaultFwdAskMargin + L2_DefaultFwdBidMargin
-
getFieldFlags
@NotNull public @NotNull Map<String,Collection<String>> getFieldFlags()
- Specified by:
getFieldFlags
in interfaceBuilderMessage
- Returns:
- Get the flags for all fields.
-
getFlagFields
@NotNull public @NotNull Map<String,Collection<String>> getFlagFields()
- Specified by:
getFlagFields
in interfaceBuilderMessage
- Returns:
- Get the fields for all flags.
-
from
@NotNull public static @NotNull QuotePartsDef.SalesSwapQuoteFields from(@NotNull @NotNull Map<String,String> fields)
-
from
@NotNull public static @NotNull QuotePartsDef.SalesSwapQuoteFields from(@NotNull @NotNull Map<String,String> fields, @NotNull @NotNull String fieldPrefix)
-
newBuilder
@NotNull public static @NotNull QuotePartsDef.SalesSwapQuoteFields.Builder newBuilder()
-
-