Class TradeConfPartsDef.BlockTradeConfirmationFields
java.lang.Object
com.caplin.generated.motif.fx.tradeconfirmation.TradeConfPartsDef.BlockTradeConfirmationFields
- All Implemented Interfaces:
BuilderMessage,Message
- Enclosing class:
- TradeConfPartsDef
public static final class TradeConfPartsDef.BlockTradeConfirmationFields
extends Object
implements BuilderMessage
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull TradeConfPartsDef.BlockTradeConfirmationFieldsstatic @NotNull TradeConfPartsDef.BlockTradeConfirmationFields@NotNull Map<String,Collection<String>> @NotNull Map<String,Collection<String>> @Nullable String@Nullable BigDecimal@Nullable BigDecimalstatic @NotNull TradeConfPartsDef.BlockTradeConfirmationFields.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
-
getNetBuySell
- Returns:
- The net direction of all the trade legs, from the client's perspective. This always refers to the BaseCurrency, NOT the DealtCurrency.
-
getNetDealtAmount
- Returns:
- The net dealt amount (unsigned) for all the trade legs
-
getNetContraAmount
- Returns:
- The net contra amount (unsigned) for all the trade legs
-
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.BlockTradeConfirmationFields from(@NotNull @NotNull Map<String, String> fields) -
from
@NotNull public static @NotNull TradeConfPartsDef.BlockTradeConfirmationFields from(@NotNull @NotNull Map<String, String> fields, @NotNull @NotNull String fieldPrefix) -
newBuilder
-