Class UnitSplit
java.lang.Object
markets.alpaca.client.openapi.data.model.UnitSplit
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class UnitSplit
extends Object
implements Serializable
Unit split.
- 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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalternateCusip(String alternateCusip) alternateIsin(String alternateIsin) alternateRate(Double alternateRate) alternateSymbol(String alternateSymbol) effectiveDate(LocalDate effectiveDate) booleanstatic UnitSplitCreate an instance of UnitSplit given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get alternateCusipInternational Securities Identification Number (ISIN) as defined by ISO 6166.Get alternateRateGet alternateSymbolThe ISO 4217 currency code associated with the corporate action.The effective date marks the cutoff point for shareholders to be credited.getId()The internal Alpaca identifier of the corporate action.Get newCusipInternational Securities Identification Number (ISIN) as defined by ISO 6166.Get newRateGet newSymbolGet oldCusipInternational Securities Identification Number (ISIN) as defined by ISO 6166.Get oldRateGet oldSymbolThe date when the corporate action benefit is paid or distributed.The date when the corporate action is processed by Alpaca.inthashCode()payableDate(LocalDate payableDate) processDate(LocalDate processDate) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAlternateCusip(String alternateCusip) voidsetAlternateIsin(String alternateIsin) voidsetAlternateRate(Double alternateRate) voidsetAlternateSymbol(String alternateSymbol) voidsetCurrency(String currency) voidsetEffectiveDate(LocalDate effectiveDate) voidvoidsetNewCusip(String newCusip) voidsetNewIsin(String newIsin) voidsetNewRate(Double newRate) voidsetNewSymbol(String newSymbol) voidsetOldCusip(String oldCusip) voidsetOldIsin(String oldIsin) voidsetOldRate(Double oldRate) voidsetOldSymbol(String oldSymbol) voidsetPayableDate(LocalDate payableDate) voidsetProcessDate(LocalDate processDate) toJson()Convert an instance of UnitSplit 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_ALTERNATE_CUSIP
- See Also:
-
SERIALIZED_NAME_ALTERNATE_ISIN
- See Also:
-
SERIALIZED_NAME_ALTERNATE_RATE
- See Also:
-
SERIALIZED_NAME_ALTERNATE_SYMBOL
- See Also:
-
SERIALIZED_NAME_CURRENCY
- See Also:
-
SERIALIZED_NAME_EFFECTIVE_DATE
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NEW_CUSIP
- See Also:
-
SERIALIZED_NAME_NEW_ISIN
- See Also:
-
SERIALIZED_NAME_NEW_RATE
- See Also:
-
SERIALIZED_NAME_NEW_SYMBOL
- See Also:
-
SERIALIZED_NAME_OLD_CUSIP
- See Also:
-
SERIALIZED_NAME_OLD_ISIN
- See Also:
-
SERIALIZED_NAME_OLD_RATE
- See Also:
-
SERIALIZED_NAME_OLD_SYMBOL
- See Also:
-
SERIALIZED_NAME_PAYABLE_DATE
- See Also:
-
SERIALIZED_NAME_PROCESS_DATE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
UnitSplit
public UnitSplit()
-
-
Method Details
-
alternateCusip
-
getAlternateCusip
Get alternateCusip- Returns:
- alternateCusip
-
setAlternateCusip
-
alternateIsin
-
getAlternateIsin
International Securities Identification Number (ISIN) as defined by ISO 6166. May be empty for US corporate actions.- Returns:
- alternateIsin
-
setAlternateIsin
-
alternateRate
-
getAlternateRate
Get alternateRate- Returns:
- alternateRate
-
setAlternateRate
-
alternateSymbol
-
getAlternateSymbol
Get alternateSymbol- Returns:
- alternateSymbol
-
setAlternateSymbol
-
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
-
effectiveDate
-
getEffectiveDate
The effective date marks the cutoff point for shareholders to be credited.- Returns:
- effectiveDate
-
setEffectiveDate
-
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
-
newRate
-
getNewRate
Get newRate- Returns:
- newRate
-
setNewRate
-
newSymbol
-
getNewSymbol
Get newSymbol- Returns:
- newSymbol
-
setNewSymbol
-
oldCusip
-
getOldCusip
Get oldCusip- Returns:
- oldCusip
-
setOldCusip
-
oldIsin
-
getOldIsin
International Securities Identification Number (ISIN) as defined by ISO 6166. May be empty for US corporate actions.- Returns:
- oldIsin
-
setOldIsin
-
oldRate
-
getOldRate
Get oldRate- Returns:
- oldRate
-
setOldRate
-
oldSymbol
-
getOldSymbol
Get oldSymbol- Returns:
- oldSymbol
-
setOldSymbol
-
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
-
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 UnitSplit 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 UnitSplit
-
fromJson
Create an instance of UnitSplit given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UnitSplit
- Throws:
IOException- if the JSON string is invalid with respect to UnitSplit
-
toJson
Convert an instance of UnitSplit to an JSON string- Returns:
- JSON string
-