Class CommonSpinoffActivityV2
java.lang.Object
markets.alpaca.client.openapi.broker.model.CommonSpinoffActivityV2
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class CommonSpinoffActivityV2
extends Object
implements Serializable
CommonSpinoffActivityV2
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondueBillRedemptionDate(LocalDate dueBillRedemptionDate) booleanstatic CommonSpinoffActivityV2Create an instance of CommonSpinoffActivityV2 given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.When due bills related to the spinoff are redeemedThe ex_date for this corporate actionCUSIP of the new securityMarket price of new shares after the spinoffRatio of new shares receivedSymbol of the new securityThe payable_date for this corporate actionThe record_date for this corporate actionCUSIP of the parent securityMarket price of parent shares before the spinoffRatio of parent sharesSymbol of the parent securityinthashCode()payableDate(LocalDate payableDate) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.recordDate(LocalDate recordDate) voidsetDueBillRedemptionDate(LocalDate dueBillRedemptionDate) voidvoidsetNewCusip(String newCusip) voidsetNewPrice(String newPrice) voidsetNewRate(String newRate) voidsetNewSymbol(String newSymbol) voidsetPayableDate(LocalDate payableDate) voidsetRecordDate(LocalDate recordDate) voidsetSourceCusip(String sourceCusip) voidsetSourcePrice(String sourcePrice) voidsetSourceRate(String sourceRate) voidsetSourceSymbol(String sourceSymbol) sourceCusip(String sourceCusip) sourcePrice(String sourcePrice) sourceRate(String sourceRate) sourceSymbol(String sourceSymbol) toJson()Convert an instance of CommonSpinoffActivityV2 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_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:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CommonSpinoffActivityV2
public CommonSpinoffActivityV2()
-
-
Method Details
-
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
-
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 CommonSpinoffActivityV2 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 CommonSpinoffActivityV2
-
fromJson
Create an instance of CommonSpinoffActivityV2 given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CommonSpinoffActivityV2
- Throws:
IOException- if the JSON string is invalid with respect to CommonSpinoffActivityV2
-
toJson
Convert an instance of CommonSpinoffActivityV2 to an JSON string- Returns:
- JSON string
-