Class TradeConfPartsDef.CommonTradeConfirmationFields
java.lang.Object
com.caplin.generated.motif.commodities.tradeconfirmation.TradeConfPartsDef.CommonTradeConfirmationFields
- All Implemented Interfaces:
BuilderMessage
,Message
- Enclosing class:
- TradeConfPartsDef
public static final class TradeConfPartsDef.CommonTradeConfirmationFields
extends Object
implements BuilderMessage
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull TradeConfPartsDef.CommonTradeConfirmationFields
static @NotNull TradeConfPartsDef.CommonTradeConfirmationFields
@Nullable Boolean
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@NotNull Map<String,
Collection<String>> @NotNull Map<String,
Collection<String>> @Nullable String
getLEI()
@Nullable String
@Nullable Instant
@Nullable String
@Nullable String
@Nullable String
@Nullable BigDecimal
@Nullable String
@Nullable String
@Nullable String
@Nullable BigDecimal
@Nullable String
@Nullable String
@Nullable String
@Nullable String
getUnit()
@Nullable String
getUPI()
static @NotNull TradeConfPartsDef.CommonTradeConfirmationFields.Builder
@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 Details
-
getTradingType
- Returns:
- Caplin supported values are [FIXED_SWAP, BASIS_SWAP, EURO_PUT, EURO_CALL, EURO_COLLAR, EURO_3_WAY_COLLAR, EURO_CALL_SPREAD, ASIAN_CAP, ASIAN_FLOOR, ASIAN_COLLAR, ASIAN_3_WAY_COLLAR, ASIAN_CAP_SPREAD, ASIAN_FLOOR_SPREAD, SPREAD_PUT]. See the constants defined within com.caplin.motif.commodities.trading.CommoditiesTradingType for further details.
-
getCommodity
- Returns:
- The commodity of the trade.
-
getTradeID
- Returns:
- A unique identifier for this trade.
-
getEffectiveDate
- Returns:
- The date the trade comes into effect.
-
getTerminationDate
- Returns:
- The termination date of the trade.
-
getTradeDate
- Returns:
- tradeDate e.g. 20160314
-
getReferencePrice
- Returns:
- The reference price of the traded commodity
-
getPricingDate
- Returns:
- The date the price was generated on.
-
getPaymentDate
- Returns:
- The date by when the payment needs to be done.
-
getLEI
- Returns:
- Legal entity identifier, unique number to identify the entity engaging in a financial transaction.
-
getUPI
- Returns:
- Unique product identifier, similar to USI/UTI but at product level not transaction level.
-
getDealBreakdown
- Returns:
- A JSON structure containing all the individual deals of a commodities trade. Use DefaultTableFields builders to provide Caplin default and/or custom fields.
-
getSettlementStatus
- Returns:
- Caplin supported statuses are [PENDING, AFFIRMED, CONFIRMED, DISPUTED, CANCELLED, REPLACED, AUTO_CONFIRMED, OVERDUE, REJECTED]
-
getNextActionDeadline
- Returns:
- The deadline for a user to perform a trade's next action in ISO-8601 format
-
getNextActionDeadlineDisplayTimezone
- Returns:
- The timezone for the NextActionDeadline field in the form Area/Location
-
getTOBOUser
- Returns:
- The user the trade is on behalf of.
-
getEntityDescription
- Returns:
- The entity the trade is on behalf of.
-
getMarket
- Returns:
- market e.g. Metals
-
getCanAffirm
- Returns:
- Ability to Affirm the Trade Details are as agreed.
-
getUnit
- Returns:
- unit e.g. bbl
-
getCurrency
- Returns:
- The currency the transaction has been made in.
-
getTotalPremium
- Returns:
- The total premiums of deal breakdown. When there is no deal breakdown present it will be the actual premium paid for the deal.
-
getFields
-
getFieldFlags
- Specified by:
getFieldFlags
in interfaceBuilderMessage
- Returns:
- Get the flags for all fields.
-
getFlagFields
- Specified by:
getFlagFields
in interfaceBuilderMessage
- Returns:
- Get the fields for all flags.
-
toString
-
from
@NotNull public static @NotNull TradeConfPartsDef.CommonTradeConfirmationFields from(@NotNull @NotNull Map<String, String> fields) -
from
@NotNull public static @NotNull TradeConfPartsDef.CommonTradeConfirmationFields from(@NotNull @NotNull Map<String, String> fields, @NotNull @NotNull String fieldPrefix) -
newBuilder
@NotNull public static @NotNull TradeConfPartsDef.CommonTradeConfirmationFields.Builder newBuilder()
-