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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccruedInterestRate(BigDecimal accruedInterestRate) cashPayout(BigDecimal cashPayout) entitledQty(String entitledQty) booleanCreate an instance of FixedIncomeInterestActivityV2 given an JSON stringAccrued interest rate (present for accrued-interest-on-call variants)Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getCaId()The unique identifier for this corporate actionThe cash payout for this interest activitygetCusip()The CUSIP of the security involved with the activityThe entitled quantity (principal / face amount)Optional group ID which can help grouping together related activitiesGet interestTypegetIsin()The ISIN of the security involved with the activityThe order that generated this accrued interest.The ref_id of the parent trade this interest is attached to.The payment dateThe position_date for this corporate actiongetPrice()Call price used for accrued-interest-on-call variantsgetRate()Coupon rate amount (present for regular coupon payments)The record dateThe reorg identifier, if present in the source corporate action definitionThe date when the activity was bookedinthashCode()interestType(FixedIncomeInterestType interestType) paymentDate(LocalDate paymentDate) positionDate(LocalDate positionDate) price(BigDecimal price) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.rate(BigDecimal rate) recordDate(LocalDate recordDate) voidsetAccruedInterestRate(BigDecimal accruedInterestRate) voidvoidsetCashPayout(BigDecimal cashPayout) voidvoidsetEntitledQty(String entitledQty) voidsetGroupId(UUID groupId) voidsetInterestType(FixedIncomeInterestType interestType) voidvoidsetOrderId(UUID orderId) voidsetParentId(UUID parentId) voidsetPaymentDate(LocalDate paymentDate) voidsetPositionDate(LocalDate positionDate) voidsetPrice(BigDecimal price) voidsetRate(BigDecimal rate) voidsetRecordDate(LocalDate recordDate) voidsetReorgId(String reorgId) voidsetSystemDate(LocalDate systemDate) systemDate(LocalDate systemDate) toJson()Convert an instance of FixedIncomeInterestActivityV2 to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_GROUP_ID
- See Also:
-
SERIALIZED_NAME_SYSTEM_DATE
- See Also:
-
SERIALIZED_NAME_CA_ID
- See Also:
-
SERIALIZED_NAME_POSITION_DATE
- See Also:
-
SERIALIZED_NAME_REORG_ID
- See Also:
-
SERIALIZED_NAME_ACCRUED_INTEREST_RATE
- See Also:
-
SERIALIZED_NAME_CASH_PAYOUT
- See Also:
-
SERIALIZED_NAME_CUSIP
- See Also:
-
SERIALIZED_NAME_ENTITLED_QTY
- See Also:
-
SERIALIZED_NAME_INTEREST_TYPE
- See Also:
-
SERIALIZED_NAME_ISIN
- See Also:
-
SERIALIZED_NAME_ORDER_ID
- See Also:
-
SERIALIZED_NAME_PARENT_ID
- See Also:
-
SERIALIZED_NAME_PAYMENT_DATE
- See Also:
-
SERIALIZED_NAME_PRICE
- See Also:
-
SERIALIZED_NAME_RATE
- See Also:
-
SERIALIZED_NAME_RECORD_DATE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
FixedIncomeInterestActivityV2
public FixedIncomeInterestActivityV2()
-
-
Method Details
-
groupId
-
getGroupId
Optional group ID which can help grouping together related activities- Returns:
- groupId
-
setGroupId
-
systemDate
-
getSystemDate
The date when the activity was booked- Returns:
- systemDate
-
setSystemDate
-
caId
-
getCaId
The unique identifier for this corporate action- Returns:
- caId
-
setCaId
-
positionDate
-
getPositionDate
The position_date for this corporate action- Returns:
- positionDate
-
setPositionDate
-
reorgId
-
getReorgId
The reorg identifier, if present in the source corporate action definition- Returns:
- reorgId
-
setReorgId
-
accruedInterestRate
-
getAccruedInterestRate
Accrued interest rate (present for accrued-interest-on-call variants)- Returns:
- accruedInterestRate
-
setAccruedInterestRate
-
cashPayout
-
getCashPayout
The cash payout for this interest activity- Returns:
- cashPayout
-
setCashPayout
-
cusip
-
getCusip
The CUSIP of the security involved with the activity- Returns:
- cusip
-
setCusip
-
entitledQty
-
getEntitledQty
The entitled quantity (principal / face amount)- Returns:
- entitledQty
-
setEntitledQty
-
interestType
-
getInterestType
Get interestType- Returns:
- interestType
-
setInterestType
-
isin
-
getIsin
The ISIN of the security involved with the activity- Returns:
- isin
-
setIsin
-
orderId
-
getOrderId
The order that generated this accrued interest. Present for trade-accrued INT/FI.- Returns:
- orderId
-
setOrderId
-
parentId
-
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
-
paymentDate
-
getPaymentDate
The payment date- Returns:
- paymentDate
-
setPaymentDate
-
price
-
getPrice
Call price used for accrued-interest-on-call variants- Returns:
- price
-
setPrice
-
rate
-
getRate
Coupon rate amount (present for regular coupon payments)- Returns:
- rate
-
setRate
-
recordDate
-
getRecordDate
The record date- Returns:
- recordDate
-
setRecordDate
-
putAdditionalProperty
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 propertyvalue- value of the property- Returns:
- the FixedIncomeInterestActivityV2 instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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
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
Convert an instance of FixedIncomeInterestActivityV2 to an JSON string- Returns:
- JSON string
-