Class DIVNRAActivityV2
java.lang.Object
markets.alpaca.client.openapi.broker.model.DIVNRAActivityV2
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.25.0")
public class DIVNRAActivityV2
extends Object
implements Serializable
Dividend withholding for non resident aliens
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic DIVNRAActivityV2Create an instance of DIVNRAActivityV2 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 activityOptional group ID which can help grouping together related activitiesThe ref_id of the parent dividendThe symbol of the security involved with the activityThe date when the activity was bookedTax country used as the primary jurisdiction when determining withholding treatment for the dividend.The tax withholding rate applied to the dividend, represented as a value between 0 and 1inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetGroupId(UUID groupId) voidsetParentId(UUID parentId) voidvoidsetSystemDate(LocalDate systemDate) voidsetTaxCountry(String taxCountry) voidsetTaxRate(BigDecimal taxRate) systemDate(LocalDate systemDate) taxCountry(String taxCountry) taxRate(BigDecimal taxRate) toJson()Convert an instance of DIVNRAActivityV2 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_CUSIP
- See Also:
-
SERIALIZED_NAME_PARENT_ID
- See Also:
-
SERIALIZED_NAME_SYMBOL
- See Also:
-
SERIALIZED_NAME_TAX_COUNTRY
- See Also:
-
SERIALIZED_NAME_TAX_RATE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
DIVNRAActivityV2
public DIVNRAActivityV2()
-
-
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
-
cusip
-
getCusip
The CUSIP of the security involved with the activity- Returns:
- cusip
-
setCusip
-
parentId
-
getParentId
The ref_id of the parent dividend- Returns:
- parentId
-
setParentId
-
symbol
-
getSymbol
The symbol of the security involved with the activity- Returns:
- symbol
-
setSymbol
-
taxCountry
-
getTaxCountry
Tax country used as the primary jurisdiction when determining withholding treatment for the dividend. Other factors may affect the final withholding rate. The value is an [ISO 3166-1 alpha-3](https://www.iso.org/iso-3166-country-codes.html) country code.- Returns:
- taxCountry
-
setTaxCountry
-
taxRate
-
getTaxRate
The tax withholding rate applied to the dividend, represented as a value between 0 and 1- Returns:
- taxRate
-
setTaxRate
-
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 DIVNRAActivityV2 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 DIVNRAActivityV2
-
fromJson
Create an instance of DIVNRAActivityV2 given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DIVNRAActivityV2
- Throws:
IOException- if the JSON string is invalid with respect to DIVNRAActivityV2
-
toJson
Convert an instance of DIVNRAActivityV2 to an JSON string- Returns:
- JSON string
-