Class CommonREOActivityV2
java.lang.Object
markets.alpaca.client.openapi.trading.model.CommonREOActivityV2
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.25.0")
public class CommonREOActivityV2
extends Object
implements Serializable
Reorganization (REO) activity sub-types: - **REOS**: Stock only (1 or more stock legs) - **REOC**: Cash only (one cash leg) - **REOSC**: Stock and cash
- 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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncashPayout(BigDecimal cashPayout) cashRate(BigDecimal cashRate) effectiveDate(LocalDate effectiveDate) booleanstatic CommonREOActivityV2Create an instance of CommonREOActivityV2 given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Cash payout amountCash rate per sharegetCusip()CUSIP received on this stock legEffective date of the reorganizationgetIsin()ISIN received on this stock legNew ratio for this stock legPayable date of the reorganizationgetQty()Quantity received on this stock legPositive quantity removed from the source positionCUSIP of the source securityISIN of the source securitySource position quantitySource ratio for this stock legSymbol of the source securitySymbol received on this stock leginthashCode()newRate(BigDecimal newRate) payableDate(LocalDate payableDate) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.qty(BigDecimal qty) removedQty(BigDecimal removedQty) voidsetCashPayout(BigDecimal cashPayout) voidsetCashRate(BigDecimal cashRate) voidvoidsetEffectiveDate(LocalDate effectiveDate) voidvoidsetNewRate(BigDecimal newRate) voidsetPayableDate(LocalDate payableDate) voidsetQty(BigDecimal qty) voidsetRemovedQty(BigDecimal removedQty) voidsetSourceCusip(String sourceCusip) voidsetSourceIsin(String sourceIsin) voidsetSourceQty(BigDecimal sourceQty) voidsetSourceRate(BigDecimal sourceRate) voidsetSourceSymbol(String sourceSymbol) voidsourceCusip(String sourceCusip) sourceIsin(String sourceIsin) sourceQty(BigDecimal sourceQty) sourceRate(BigDecimal sourceRate) sourceSymbol(String sourceSymbol) toJson()Convert an instance of CommonREOActivityV2 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_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
-
CommonREOActivityV2
public CommonREOActivityV2()
-
-
Method Details
-
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 CommonREOActivityV2 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 CommonREOActivityV2
-
fromJson
Create an instance of CommonREOActivityV2 given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CommonREOActivityV2
- Throws:
IOException- if the JSON string is invalid with respect to CommonREOActivityV2
-
toJson
Convert an instance of CommonREOActivityV2 to an JSON string- Returns:
- JSON string
-