Class MAActivityV2
java.lang.Object
markets.alpaca.client.openapi.broker.model.MAActivityV2
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class MAActivityV2
extends Object
implements Serializable
Merger and acquisition
- 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 TypeMethodDescriptionacquireeCusip(String acquireeCusip) acquireeQty(String acquireeQty) acquireeRate(String acquireeRate) acquireeSymbol(String acquireeSymbol) acquirerCusip(String acquirerCusip) acquirerQty(String acquirerQty) acquirerRate(String acquirerRate) acquirerSymbol(String acquirerSymbol) cashPayout(String cashPayout) effectiveDate(LocalDate effectiveDate) booleanstatic MAActivityV2Create an instance of MAActivityV2 given an JSON stringCUSIP of the acquireeQuantity of the acquireeRate of the acquireeSymbol of the acquireeCUSIP of the acquirerQuantity of the acquirerRate of the acquirerSymbol of the acquirerReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getCaId()The unique identifier for this corporate actionThe cash payoutThe cash rateWhen the merger/acquisition becomes effectiveOptional group ID which can help grouping together related activitiesThe payable dateThe position_date for this corporate actionThe reorg identifier, if present in the source corporate action definitionThe 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.voidsetAcquireeCusip(String acquireeCusip) voidsetAcquireeQty(String acquireeQty) voidsetAcquireeRate(String acquireeRate) voidsetAcquireeSymbol(String acquireeSymbol) voidsetAcquirerCusip(String acquirerCusip) voidsetAcquirerQty(String acquirerQty) voidsetAcquirerRate(String acquirerRate) voidsetAcquirerSymbol(String acquirerSymbol) voidvoidsetCashPayout(String cashPayout) voidsetCashRate(String cashRate) voidsetEffectiveDate(LocalDate effectiveDate) voidsetGroupId(UUID groupId) voidsetPayableDate(LocalDate payableDate) voidsetPositionDate(LocalDate positionDate) voidsetReorgId(String reorgId) voidsetSystemDate(LocalDate systemDate) systemDate(LocalDate systemDate) toJson()Convert an instance of MAActivityV2 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_ACQUIREE_CUSIP
- See Also:
-
SERIALIZED_NAME_ACQUIREE_RATE
- See Also:
-
SERIALIZED_NAME_ACQUIREE_SYMBOL
- See Also:
-
SERIALIZED_NAME_ACQUIRER_CUSIP
- See Also:
-
SERIALIZED_NAME_ACQUIRER_RATE
- See Also:
-
SERIALIZED_NAME_ACQUIRER_SYMBOL
- See Also:
-
SERIALIZED_NAME_EFFECTIVE_DATE
- See Also:
-
SERIALIZED_NAME_PAYABLE_DATE
- See Also:
-
SERIALIZED_NAME_ACQUIREE_QTY
- See Also:
-
SERIALIZED_NAME_ACQUIRER_QTY
- See Also:
-
SERIALIZED_NAME_CASH_PAYOUT
- See Also:
-
SERIALIZED_NAME_CASH_RATE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
MAActivityV2
public MAActivityV2()
-
-
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
-
acquireeCusip
-
getAcquireeCusip
CUSIP of the acquiree- Returns:
- acquireeCusip
-
setAcquireeCusip
-
acquireeRate
-
getAcquireeRate
Rate of the acquiree- Returns:
- acquireeRate
-
setAcquireeRate
-
acquireeSymbol
-
getAcquireeSymbol
Symbol of the acquiree- Returns:
- acquireeSymbol
-
setAcquireeSymbol
-
acquirerCusip
-
getAcquirerCusip
CUSIP of the acquirer- Returns:
- acquirerCusip
-
setAcquirerCusip
-
acquirerRate
-
getAcquirerRate
Rate of the acquirer- Returns:
- acquirerRate
-
setAcquirerRate
-
acquirerSymbol
-
getAcquirerSymbol
Symbol of the acquirer- Returns:
- acquirerSymbol
-
setAcquirerSymbol
-
effectiveDate
-
getEffectiveDate
When the merger/acquisition becomes effective- Returns:
- effectiveDate
-
setEffectiveDate
-
payableDate
-
getPayableDate
The payable date- Returns:
- payableDate
-
setPayableDate
-
acquireeQty
-
getAcquireeQty
Quantity of the acquiree- Returns:
- acquireeQty
-
setAcquireeQty
-
acquirerQty
-
getAcquirerQty
Quantity of the acquirer- Returns:
- acquirerQty
-
setAcquirerQty
-
cashPayout
-
getCashPayout
The cash payout- Returns:
- cashPayout
-
setCashPayout
-
cashRate
-
getCashRate
The cash rate- Returns:
- cashRate
-
setCashRate
-
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 MAActivityV2 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 MAActivityV2
-
fromJson
Create an instance of MAActivityV2 given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MAActivityV2
- Throws:
IOException- if the JSON string is invalid with respect to MAActivityV2
-
toJson
Convert an instance of MAActivityV2 to an JSON string- Returns:
- JSON string
-