Class TradeConfPartsDef.CommonTradeConfirmationFields

    • 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()
        Specified by:
        getFields in interface Message
      • getFieldFlags

        @NotNull
        public @NotNull java.util.Map<java.lang.String,​java.util.Collection<java.lang.String>> getFieldFlags()
        Specified by:
        getFieldFlags in interface BuilderMessage
        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 interface BuilderMessage
        Returns:
        Get the fields for all flags.
      • toString

        @NotNull
        public @NotNull java.lang.String toString()
        Overrides:
        toString in class java.lang.Object