Class FixedIncomeInterestActivityV2

java.lang.Object
markets.alpaca.client.openapi.broker.model.FixedIncomeInterestActivityV2
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.25.0") public class FixedIncomeInterestActivityV2 extends Object implements Serializable
Fixed income interest (INT/FI)
See Also:
  • Field Details

  • Constructor Details

    • FixedIncomeInterestActivityV2

      public FixedIncomeInterestActivityV2()
  • Method Details

    • groupId

      public FixedIncomeInterestActivityV2 groupId(@Nullable UUID groupId)
    • getGroupId

      @Nullable public UUID getGroupId()
      Optional group ID which can help grouping together related activities
      Returns:
      groupId
    • setGroupId

      public void setGroupId(@Nullable UUID groupId)
    • systemDate

      public FixedIncomeInterestActivityV2 systemDate(@Nonnull LocalDate systemDate)
    • getSystemDate

      @Nonnull public LocalDate getSystemDate()
      The date when the activity was booked
      Returns:
      systemDate
    • setSystemDate

      public void setSystemDate(@Nonnull LocalDate systemDate)
    • caId

      public FixedIncomeInterestActivityV2 caId(@Nullable UUID caId)
    • getCaId

      @Nullable public UUID getCaId()
      The unique identifier for this corporate action
      Returns:
      caId
    • setCaId

      public void setCaId(@Nullable UUID caId)
    • positionDate

      public FixedIncomeInterestActivityV2 positionDate(@Nonnull LocalDate positionDate)
    • getPositionDate

      @Nonnull public LocalDate getPositionDate()
      The position_date for this corporate action
      Returns:
      positionDate
    • setPositionDate

      public void setPositionDate(@Nonnull LocalDate positionDate)
    • reorgId

      public FixedIncomeInterestActivityV2 reorgId(@Nullable String reorgId)
    • getReorgId

      @Nullable public String getReorgId()
      The reorg identifier, if present in the source corporate action definition
      Returns:
      reorgId
    • setReorgId

      public void setReorgId(@Nullable String reorgId)
    • accruedInterestRate

      public FixedIncomeInterestActivityV2 accruedInterestRate(@Nullable BigDecimal accruedInterestRate)
    • getAccruedInterestRate

      @Nullable public BigDecimal getAccruedInterestRate()
      Accrued interest rate (present for accrued-interest-on-call variants)
      Returns:
      accruedInterestRate
    • setAccruedInterestRate

      public void setAccruedInterestRate(@Nullable BigDecimal accruedInterestRate)
    • cashPayout

      public FixedIncomeInterestActivityV2 cashPayout(@Nonnull BigDecimal cashPayout)
    • getCashPayout

      @Nonnull public BigDecimal getCashPayout()
      The cash payout for this interest activity
      Returns:
      cashPayout
    • setCashPayout

      public void setCashPayout(@Nonnull BigDecimal cashPayout)
    • cusip

      public FixedIncomeInterestActivityV2 cusip(@Nonnull String cusip)
    • getCusip

      @Nonnull public String getCusip()
      The CUSIP of the security involved with the activity
      Returns:
      cusip
    • setCusip

      public void setCusip(@Nonnull String cusip)
    • entitledQty

      public FixedIncomeInterestActivityV2 entitledQty(@Nonnull String entitledQty)
    • getEntitledQty

      @Nonnull public String getEntitledQty()
      The entitled quantity (principal / face amount)
      Returns:
      entitledQty
    • setEntitledQty

      public void setEntitledQty(@Nonnull String entitledQty)
    • interestType

      public FixedIncomeInterestActivityV2 interestType(@Nonnull FixedIncomeInterestType interestType)
    • getInterestType

      @Nonnull public FixedIncomeInterestType getInterestType()
      Get interestType
      Returns:
      interestType
    • setInterestType

      public void setInterestType(@Nonnull FixedIncomeInterestType interestType)
    • isin

      public FixedIncomeInterestActivityV2 isin(@Nullable String isin)
    • getIsin

      @Nullable public String getIsin()
      The ISIN of the security involved with the activity
      Returns:
      isin
    • setIsin

      public void setIsin(@Nullable String isin)
    • orderId

      public FixedIncomeInterestActivityV2 orderId(@Nullable UUID orderId)
    • getOrderId

      @Nullable public UUID getOrderId()
      The order that generated this accrued interest. Present for trade-accrued INT/FI.
      Returns:
      orderId
    • setOrderId

      public void setOrderId(@Nullable UUID orderId)
    • parentId

      public FixedIncomeInterestActivityV2 parentId(@Nullable UUID parentId)
    • getParentId

      @Nullable public UUID getParentId()
      The ref_id of the parent trade this interest is attached to. Present for trade-accrued INT/FI when a parent trade `ref_id` is available.
      Returns:
      parentId
    • setParentId

      public void setParentId(@Nullable UUID parentId)
    • paymentDate

      public FixedIncomeInterestActivityV2 paymentDate(@Nullable LocalDate paymentDate)
    • getPaymentDate

      @Nullable public LocalDate getPaymentDate()
      The payment date
      Returns:
      paymentDate
    • setPaymentDate

      public void setPaymentDate(@Nullable LocalDate paymentDate)
    • price

      public FixedIncomeInterestActivityV2 price(@Nullable BigDecimal price)
    • getPrice

      @Nullable public BigDecimal getPrice()
      Call price used for accrued-interest-on-call variants
      Returns:
      price
    • setPrice

      public void setPrice(@Nullable BigDecimal price)
    • rate

      public FixedIncomeInterestActivityV2 rate(@Nullable BigDecimal rate)
    • getRate

      @Nullable public BigDecimal getRate()
      Coupon rate amount (present for regular coupon payments)
      Returns:
      rate
    • setRate

      public void setRate(@Nullable BigDecimal rate)
    • recordDate

      public FixedIncomeInterestActivityV2 recordDate(@Nullable LocalDate recordDate)
    • getRecordDate

      @Nullable public LocalDate getRecordDate()
      The record date
      Returns:
      recordDate
    • setRecordDate

      public void setRecordDate(@Nullable LocalDate recordDate)
    • putAdditionalProperty

      public FixedIncomeInterestActivityV2 putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - name of the property
      value - value of the property
      Returns:
      the FixedIncomeInterestActivityV2 instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to FixedIncomeInterestActivityV2
    • fromJson

      public static FixedIncomeInterestActivityV2 fromJson(String jsonString) throws IOException
      Create an instance of FixedIncomeInterestActivityV2 given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of FixedIncomeInterestActivityV2
      Throws:
      IOException - if the JSON string is invalid with respect to FixedIncomeInterestActivityV2
    • toJson

      public String toJson()
      Convert an instance of FixedIncomeInterestActivityV2 to an JSON string
      Returns:
      JSON string