Class REOActivityV2
java.lang.Object
markets.alpaca.client.openapi.broker.model.REOActivityV2
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.25.0")
public class REOActivityV2
extends Object
implements Serializable
Reorganization (REO)
- See Also:
-
Nested Class Summary
Nested Classes -
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 Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncashPayout(BigDecimal cashPayout) cashRate(BigDecimal cashRate) effectiveDate(LocalDate effectiveDate) booleanstatic REOActivityV2Create an instance of REOActivityV2 given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getCaId()The unique identifier for this corporate actionCash payout amountCash rate per sharegetCusip()CUSIP received on this stock legEffective date of the reorganizationOptional group ID which can help grouping together related activitiesgetIsin()ISIN received on this stock legNew ratio for this stock legPayable date of the reorganizationThe position_date for this corporate actiongetQty()Quantity received on this stock legPositive quantity removed from the source positionThe reorg identifier, if present in the source corporate action definitionCUSIP of the source securityISIN of the source securitySource position quantitySource ratio for this stock legSymbol of the source securitySymbol received on this stock legThe date when the activity was bookedinthashCode()newRate(BigDecimal newRate) payableDate(LocalDate payableDate) positionDate(LocalDate positionDate) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.qty(BigDecimal qty) removedQty(BigDecimal removedQty) voidvoidsetCashPayout(BigDecimal cashPayout) voidsetCashRate(BigDecimal cashRate) voidvoidsetEffectiveDate(LocalDate effectiveDate) voidsetGroupId(UUID groupId) voidvoidsetNewRate(BigDecimal newRate) voidsetPayableDate(LocalDate payableDate) voidsetPositionDate(LocalDate positionDate) voidsetQty(BigDecimal qty) voidsetRemovedQty(BigDecimal removedQty) voidsetReorgId(String reorgId) voidsetSourceCusip(String sourceCusip) voidsetSourceIsin(String sourceIsin) voidsetSourceQty(BigDecimal sourceQty) voidsetSourceRate(BigDecimal sourceRate) voidsetSourceSymbol(String sourceSymbol) voidvoidsetSystemDate(LocalDate systemDate) sourceCusip(String sourceCusip) sourceIsin(String sourceIsin) sourceQty(BigDecimal sourceQty) sourceRate(BigDecimal sourceRate) sourceSymbol(String sourceSymbol) systemDate(LocalDate systemDate) toJson()Convert an instance of REOActivityV2 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_CASH_PAYOUT
- See Also:
-
SERIALIZED_NAME_CASH_RATE
- See Also:
-
SERIALIZED_NAME_CUSIP
- See Also:
-
SERIALIZED_NAME_EFFECTIVE_DATE
- See Also:
-
SERIALIZED_NAME_ISIN
- See Also:
-
SERIALIZED_NAME_NEW_RATE
- See Also:
-
SERIALIZED_NAME_PAYABLE_DATE
- See Also:
-
SERIALIZED_NAME_QTY
- See Also:
-
SERIALIZED_NAME_REMOVED_QTY
- See Also:
-
SERIALIZED_NAME_SOURCE_CUSIP
- See Also:
-
SERIALIZED_NAME_SOURCE_ISIN
- See Also:
-
SERIALIZED_NAME_SOURCE_QTY
- See Also:
-
SERIALIZED_NAME_SOURCE_RATE
- See Also:
-
SERIALIZED_NAME_SOURCE_SYMBOL
- See Also:
-
SERIALIZED_NAME_SYMBOL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
REOActivityV2
public REOActivityV2()
-
-
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
-
cashPayout
-
getCashPayout
Cash payout amount- Returns:
- cashPayout
-
setCashPayout
-
cashRate
-
getCashRate
Cash rate per share- Returns:
- cashRate
-
setCashRate
-
cusip
-
getCusip
CUSIP received on this stock leg- Returns:
- cusip
-
setCusip
-
effectiveDate
-
getEffectiveDate
Effective date of the reorganization- Returns:
- effectiveDate
-
setEffectiveDate
-
isin
-
getIsin
ISIN received on this stock leg- Returns:
- isin
-
setIsin
-
newRate
-
getNewRate
New ratio for this stock leg- Returns:
- newRate
-
setNewRate
-
payableDate
-
getPayableDate
Payable date of the reorganization- Returns:
- payableDate
-
setPayableDate
-
qty
-
getQty
Quantity received on this stock leg- Returns:
- qty
-
setQty
-
removedQty
-
getRemovedQty
Positive quantity removed from the source position- Returns:
- removedQty
-
setRemovedQty
-
sourceCusip
-
getSourceCusip
CUSIP of the source security- Returns:
- sourceCusip
-
setSourceCusip
-
sourceIsin
-
getSourceIsin
ISIN of the source security- Returns:
- sourceIsin
-
setSourceIsin
-
sourceQty
-
getSourceQty
Source position quantity- Returns:
- sourceQty
-
setSourceQty
-
sourceRate
-
getSourceRate
Source ratio for this stock leg- Returns:
- sourceRate
-
setSourceRate
-
sourceSymbol
-
getSourceSymbol
Symbol of the source security- Returns:
- sourceSymbol
-
setSourceSymbol
-
symbol
-
getSymbol
Symbol received on this stock leg- Returns:
- symbol
-
setSymbol
-
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 REOActivityV2 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 REOActivityV2
-
fromJson
Create an instance of REOActivityV2 given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of REOActivityV2
- Throws:
IOException- if the JSON string is invalid with respect to REOActivityV2
-
toJson
Convert an instance of REOActivityV2 to an JSON string- Returns:
- JSON string
-