Class CommonCDIVActivityV2
java.lang.Object
markets.alpaca.client.openapi.trading.model.CommonCDIVActivityV2
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class CommonCDIVActivityV2
extends Object
implements Serializable
CommonCDIVActivityV2
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondueBillOffDate(LocalDate dueBillOffDate) dueBillOnDate(LocalDate dueBillOnDate) booleanstatic CommonCDIVActivityV2Create an instance of CommonCDIVActivityV2 given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getCusip()The CUSIP of the security involved with the activityWhen due bills stop applying for this eventWhen due bills begin to apply for this eventThe ex_date for this corporate actionIndicates if related to a non-US securityThe payable_date for this corporate actiongetRate()Dividend rate per shareThe record_date for this corporate actionIndicates if this is a special dividendThe symbol of the security involved with the activityinthashCode()payableDate(LocalDate payableDate) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.recordDate(LocalDate recordDate) voidvoidsetDueBillOffDate(LocalDate dueBillOffDate) voidsetDueBillOnDate(LocalDate dueBillOnDate) voidvoidsetForeign(Boolean foreign) voidsetPayableDate(LocalDate payableDate) voidvoidsetRecordDate(LocalDate recordDate) voidsetSpecial(Boolean special) voidtoJson()Convert an instance of CommonCDIVActivityV2 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_CUSIP
- See Also:
-
SERIALIZED_NAME_DUE_BILL_OFF_DATE
- See Also:
-
SERIALIZED_NAME_DUE_BILL_ON_DATE
- See Also:
-
SERIALIZED_NAME_EX_DATE
- See Also:
-
SERIALIZED_NAME_FOREIGN
- See Also:
-
SERIALIZED_NAME_PAYABLE_DATE
- See Also:
-
SERIALIZED_NAME_RATE
- See Also:
-
SERIALIZED_NAME_RECORD_DATE
- See Also:
-
SERIALIZED_NAME_SPECIAL
- See Also:
-
SERIALIZED_NAME_SYMBOL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CommonCDIVActivityV2
public CommonCDIVActivityV2()
-
-
Method Details
-
cusip
-
getCusip
The CUSIP of the security involved with the activity- Returns:
- cusip
-
setCusip
-
dueBillOffDate
-
getDueBillOffDate
When due bills stop applying for this event- Returns:
- dueBillOffDate
-
setDueBillOffDate
-
dueBillOnDate
-
getDueBillOnDate
When due bills begin to apply for this event- Returns:
- dueBillOnDate
-
setDueBillOnDate
-
exDate
-
getExDate
The ex_date for this corporate action- Returns:
- exDate
-
setExDate
-
foreign
-
getForeign
Indicates if related to a non-US security- Returns:
- foreign
-
setForeign
-
payableDate
-
getPayableDate
The payable_date for this corporate action- Returns:
- payableDate
-
setPayableDate
-
rate
-
getRate
Dividend rate per share- Returns:
- rate
-
setRate
-
recordDate
-
getRecordDate
The record_date for this corporate action- Returns:
- recordDate
-
setRecordDate
-
special
-
getSpecial
Indicates if this is a special dividend- Returns:
- special
-
setSpecial
-
symbol
-
getSymbol
The symbol of the security involved with the activity- 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 CommonCDIVActivityV2 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 CommonCDIVActivityV2
-
fromJson
Create an instance of CommonCDIVActivityV2 given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CommonCDIVActivityV2
- Throws:
IOException- if the JSON string is invalid with respect to CommonCDIVActivityV2
-
toJson
Convert an instance of CommonCDIVActivityV2 to an JSON string- Returns:
- JSON string
-