Class SpinoffActivityV2
java.lang.Object
markets.alpaca.client.openapi.broker.model.SpinoffActivityV2
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class SpinoffActivityV2
extends Object
implements Serializable
Spinoff
- 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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondueBillRedemptionDate(LocalDate dueBillRedemptionDate) booleanstatic SpinoffActivityV2Create an instance of SpinoffActivityV2 given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getCaId()The unique identifier for this corporate actionWhen due bills related to the spinoff are redeemedThe ex_date for this corporate actionOptional group ID which can help grouping together related activitiesCUSIP of the new securityMarket price of new shares after the spinoffThe new quantityRatio of new shares receivedSymbol of the new securityThe payable_date for this corporate actionThe position_date for this corporate actionThe record_date for this corporate actionThe reorg identifier, if present in the source corporate action definitionCUSIP of the parent securityMarket price of parent shares before the spinoffThe source quantityRatio of parent sharesSymbol of the parent securityThe date when the activity was bookedinthashCode()payableDate(LocalDate payableDate) positionDate(LocalDate positionDate) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.recordDate(LocalDate recordDate) voidvoidsetDueBillRedemptionDate(LocalDate dueBillRedemptionDate) voidvoidsetGroupId(UUID groupId) voidsetNewCusip(String newCusip) voidsetNewPrice(String newPrice) voidvoidsetNewRate(String newRate) voidsetNewSymbol(String newSymbol) voidsetPayableDate(LocalDate payableDate) voidsetPositionDate(LocalDate positionDate) voidsetRecordDate(LocalDate recordDate) voidsetReorgId(String reorgId) voidsetSourceCusip(String sourceCusip) voidsetSourcePrice(String sourcePrice) voidsetSourceQty(String sourceQty) voidsetSourceRate(String sourceRate) voidsetSourceSymbol(String sourceSymbol) voidsetSystemDate(LocalDate systemDate) sourceCusip(String sourceCusip) sourcePrice(String sourcePrice) sourceRate(String sourceRate) sourceSymbol(String sourceSymbol) systemDate(LocalDate systemDate) toJson()Convert an instance of SpinoffActivityV2 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_DUE_BILL_REDEMPTION_DATE
- See Also:
-
SERIALIZED_NAME_EX_DATE
- See Also:
-
SERIALIZED_NAME_NEW_CUSIP
- See Also:
-
SERIALIZED_NAME_NEW_PRICE
- See Also:
-
SERIALIZED_NAME_NEW_RATE
- See Also:
-
SERIALIZED_NAME_NEW_SYMBOL
- See Also:
-
SERIALIZED_NAME_PAYABLE_DATE
- See Also:
-
SERIALIZED_NAME_RECORD_DATE
- See Also:
-
SERIALIZED_NAME_SOURCE_CUSIP
- See Also:
-
SERIALIZED_NAME_SOURCE_PRICE
- See Also:
-
SERIALIZED_NAME_SOURCE_RATE
- See Also:
-
SERIALIZED_NAME_SOURCE_SYMBOL
- See Also:
-
SERIALIZED_NAME_NEW_QTY
- See Also:
-
SERIALIZED_NAME_SOURCE_QTY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SpinoffActivityV2
public SpinoffActivityV2()
-
-
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
-
dueBillRedemptionDate
-
getDueBillRedemptionDate
When due bills related to the spinoff are redeemed- Returns:
- dueBillRedemptionDate
-
setDueBillRedemptionDate
-
exDate
-
getExDate
The ex_date for this corporate action- Returns:
- exDate
-
setExDate
-
newCusip
-
getNewCusip
CUSIP of the new security- Returns:
- newCusip
-
setNewCusip
-
newPrice
-
getNewPrice
Market price of new shares after the spinoff- Returns:
- newPrice
-
setNewPrice
-
newRate
-
getNewRate
Ratio of new shares received- Returns:
- newRate
-
setNewRate
-
newSymbol
-
getNewSymbol
Symbol of the new security- Returns:
- newSymbol
-
setNewSymbol
-
payableDate
-
getPayableDate
The payable_date for this corporate action- Returns:
- payableDate
-
setPayableDate
-
recordDate
-
getRecordDate
The record_date for this corporate action- Returns:
- recordDate
-
setRecordDate
-
sourceCusip
-
getSourceCusip
CUSIP of the parent security- Returns:
- sourceCusip
-
setSourceCusip
-
sourcePrice
-
getSourcePrice
Market price of parent shares before the spinoff- Returns:
- sourcePrice
-
setSourcePrice
-
sourceRate
-
getSourceRate
Ratio of parent shares- Returns:
- sourceRate
-
setSourceRate
-
sourceSymbol
-
getSourceSymbol
Symbol of the parent security- Returns:
- sourceSymbol
-
setSourceSymbol
-
newQty
-
getNewQty
The new quantity- Returns:
- newQty
-
setNewQty
-
sourceQty
-
getSourceQty
The source quantity- Returns:
- sourceQty
-
setSourceQty
-
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 SpinoffActivityV2 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 SpinoffActivityV2
-
fromJson
Create an instance of SpinoffActivityV2 given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SpinoffActivityV2
- Throws:
IOException- if the JSON string is invalid with respect to SpinoffActivityV2
-
toJson
Convert an instance of SpinoffActivityV2 to an JSON string- Returns:
- JSON string
-