Class RightsDistribution
java.lang.Object
markets.alpaca.client.openapi.data.model.RightsDistribution
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class RightsDistribution
extends Object
implements Serializable
Rights distribution.
- 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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexpirationDate(LocalDate expirationDate) static RightsDistributionCreate an instance of RightsDistribution given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The ISO 4217 currency code associated with the corporate action.The ex-date marks the cutoff point for shareholders to be credited.Get expirationDategetId()The internal Alpaca identifier of the corporate action.Get newCusipInternational Securities Identification Number (ISIN) as defined by ISO 6166.Get newSymbolThe date when the corporate action benefit is paid or distributed.The date when the corporate action is processed by Alpaca.getRate()Get rateThe date shareholders must own shares to receive the benefit.Get sourceCusipInternational Securities Identification Number (ISIN) as defined by ISO 6166.Get sourceSymbolinthashCode()payableDate(LocalDate payableDate) processDate(LocalDate processDate) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.recordDate(LocalDate recordDate) voidsetCurrency(String currency) voidvoidsetExpirationDate(LocalDate expirationDate) voidvoidsetNewCusip(String newCusip) voidsetNewIsin(String newIsin) voidsetNewSymbol(String newSymbol) voidsetPayableDate(LocalDate payableDate) voidsetProcessDate(LocalDate processDate) voidvoidsetRecordDate(LocalDate recordDate) voidsetSourceCusip(String sourceCusip) voidsetSourceIsin(String sourceIsin) voidsetSourceSymbol(String sourceSymbol) sourceCusip(String sourceCusip) sourceIsin(String sourceIsin) sourceSymbol(String sourceSymbol) toJson()Convert an instance of RightsDistribution 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_CURRENCY
- See Also:
-
SERIALIZED_NAME_EX_DATE
- See Also:
-
SERIALIZED_NAME_EXPIRATION_DATE
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NEW_CUSIP
- See Also:
-
SERIALIZED_NAME_NEW_ISIN
- See Also:
-
SERIALIZED_NAME_NEW_SYMBOL
- See Also:
-
SERIALIZED_NAME_PAYABLE_DATE
- See Also:
-
SERIALIZED_NAME_PROCESS_DATE
- See Also:
-
SERIALIZED_NAME_RATE
- See Also:
-
SERIALIZED_NAME_RECORD_DATE
- See Also:
-
SERIALIZED_NAME_SOURCE_CUSIP
- See Also:
-
SERIALIZED_NAME_SOURCE_ISIN
- See Also:
-
SERIALIZED_NAME_SOURCE_SYMBOL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
RightsDistribution
public RightsDistribution()
-
-
Method Details
-
currency
-
getCurrency
The ISO 4217 currency code associated with the corporate action. Empty value can mean USD, non-applicable (e.g. for name changes) or unknown (can change later to a valid currency).- Returns:
- currency
-
setCurrency
-
exDate
-
getExDate
The ex-date marks the cutoff point for shareholders to be credited.- Returns:
- exDate
-
setExDate
-
expirationDate
-
getExpirationDate
Get expirationDate- Returns:
- expirationDate
-
setExpirationDate
-
id
-
getId
The internal Alpaca identifier of the corporate action.- Returns:
- id
-
setId
-
newCusip
-
getNewCusip
Get newCusip- Returns:
- newCusip
-
setNewCusip
-
newIsin
-
getNewIsin
International Securities Identification Number (ISIN) as defined by ISO 6166. May be empty for US corporate actions.- Returns:
- newIsin
-
setNewIsin
-
newSymbol
-
getNewSymbol
Get newSymbol- Returns:
- newSymbol
-
setNewSymbol
-
payableDate
-
getPayableDate
The date when the corporate action benefit is paid or distributed.- Returns:
- payableDate
-
setPayableDate
-
processDate
-
getProcessDate
The date when the corporate action is processed by Alpaca.- Returns:
- processDate
-
setProcessDate
-
rate
-
getRate
Get rate- Returns:
- rate
-
setRate
-
recordDate
-
getRecordDate
The date shareholders must own shares to receive the benefit.- Returns:
- recordDate
-
setRecordDate
-
sourceCusip
-
getSourceCusip
Get sourceCusip- Returns:
- sourceCusip
-
setSourceCusip
-
sourceIsin
-
getSourceIsin
International Securities Identification Number (ISIN) as defined by ISO 6166. May be empty for US corporate actions.- Returns:
- sourceIsin
-
setSourceIsin
-
sourceSymbol
-
getSourceSymbol
Get sourceSymbol- 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 RightsDistribution 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 RightsDistribution
-
fromJson
Create an instance of RightsDistribution given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RightsDistribution
- Throws:
IOException- if the JSON string is invalid with respect to RightsDistribution
-
toJson
Convert an instance of RightsDistribution to an JSON string- Returns:
- JSON string
-