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 java.lang.Object implements BuilderMessage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TradeConfPartsDef.CommonTradeConfirmationFields.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NotNull TradeConfPartsDef.CommonTradeConfirmationFields
from(@NotNull java.util.Map<java.lang.String,java.lang.String> fields)
static @NotNull TradeConfPartsDef.CommonTradeConfirmationFields
from(@NotNull java.util.Map<java.lang.String,java.lang.String> fields, @NotNull java.lang.String fieldPrefix)
@Nullable java.lang.Boolean
getCanAffirm()
@Nullable java.lang.String
getCommodity()
@Nullable java.lang.String
getCurrency()
@Nullable java.lang.String
getDealBreakdown()
@Nullable java.lang.String
getEffectiveDate()
@Nullable java.lang.String
getEntityDescription()
@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.lang.String
getLEI()
@Nullable java.lang.String
getMarket()
@Nullable java.time.Instant
getNextActionDeadline()
@Nullable java.lang.String
getNextActionDeadlineDisplayTimezone()
@Nullable java.lang.String
getPaymentDate()
@Nullable java.lang.String
getPricingDate()
@Nullable java.math.BigDecimal
getReferencePrice()
@Nullable java.lang.String
getSettlementStatus()
@Nullable java.lang.String
getTerminationDate()
@Nullable java.lang.String
getTOBOUser()
@Nullable java.math.BigDecimal
getTotalPremium()
@Nullable java.lang.String
getTradeDate()
@Nullable java.lang.String
getTradeID()
@Nullable java.lang.String
getTradingType()
@Nullable java.lang.String
getUnit()
@Nullable java.lang.String
getUPI()
static @NotNull TradeConfPartsDef.CommonTradeConfirmationFields.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
-
getTradingType
@Nullable public @Nullable java.lang.String 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
@Nullable public @Nullable java.lang.String getCommodity()
- Returns:
- The commodity of the trade.
-
getTradeID
@Nullable public @Nullable java.lang.String getTradeID()
- Returns:
- A unique identifier for this trade.
-
getEffectiveDate
@Nullable public @Nullable java.lang.String getEffectiveDate()
- Returns:
- The date the trade comes into effect.
-
getTerminationDate
@Nullable public @Nullable java.lang.String getTerminationDate()
- Returns:
- The termination date of the trade.
-
getTradeDate
@Nullable public @Nullable java.lang.String getTradeDate()
- Returns:
- tradeDate e.g. 20160314
-
getReferencePrice
@Nullable public @Nullable java.math.BigDecimal getReferencePrice()
- Returns:
- The reference price of the traded commodity
-
getPricingDate
@Nullable public @Nullable java.lang.String getPricingDate()
- Returns:
- The date the price was generated on.
-
getPaymentDate
@Nullable public @Nullable java.lang.String getPaymentDate()
- Returns:
- The date by when the payment needs to be done.
-
getLEI
@Nullable public @Nullable java.lang.String getLEI()
- Returns:
- Legal entity identifier, unique number to identify the entity engaging in a financial transaction.
-
getUPI
@Nullable public @Nullable java.lang.String getUPI()
- Returns:
- Unique product identifier, similar to USI/UTI but at product level not transaction level.
-
getDealBreakdown
@Nullable public @Nullable java.lang.String 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
@Nullable public @Nullable java.lang.String getSettlementStatus()
- Returns:
- Caplin supported statuses are [PENDING, AFFIRMED, CONFIRMED, DISPUTED, CANCELLED, REPLACED, AUTO_CONFIRMED, OVERDUE, REJECTED]
-
getNextActionDeadline
@Nullable public @Nullable java.time.Instant getNextActionDeadline()
- Returns:
- The deadline for a user to perform a trade's next action in ISO-8601 format
-
getNextActionDeadlineDisplayTimezone
@Nullable public @Nullable java.lang.String getNextActionDeadlineDisplayTimezone()
- Returns:
- The timezone for the NextActionDeadline field in the form Area/Location
-
getTOBOUser
@Nullable public @Nullable java.lang.String getTOBOUser()
- Returns:
- The user the trade is on behalf of.
-
getEntityDescription
@Nullable public @Nullable java.lang.String getEntityDescription()
- Returns:
- The entity the trade is on behalf of.
-
getMarket
@Nullable public @Nullable java.lang.String getMarket()
- Returns:
- market e.g. Metals
-
getCanAffirm
@Nullable public @Nullable java.lang.Boolean getCanAffirm()
- Returns:
- Ability to Affirm the Trade Details are as agreed.
-
getUnit
@Nullable public @Nullable java.lang.String getUnit()
- Returns:
- unit e.g. bbl
-
getCurrency
@Nullable public @Nullable java.lang.String getCurrency()
- Returns:
- The currency the transaction has been made in.
-
getTotalPremium
@Nullable public @Nullable java.math.BigDecimal 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
@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.CommonTradeConfirmationFields from(@NotNull @NotNull java.util.Map<java.lang.String,java.lang.String> fields)
-
from
@NotNull public static @NotNull TradeConfPartsDef.CommonTradeConfirmationFields 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.CommonTradeConfirmationFields.Builder newBuilder()
-
-