Class TransferIRA
java.lang.Object
markets.alpaca.client.openapi.broker.model.TransferIRA
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class TransferIRA
extends Object
implements Serializable
This field is used for IRA Account only
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondistributionReason(String distributionReason) booleanstatic TransferIRACreate an instance of TransferIRA given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get distributionReasonGet taxWithholdingGet taxYearinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDistributionReason(String distributionReason) voidsetTaxWithholding(TransferIRATaxWithholding taxWithholding) voidsetTaxYear(String taxYear) taxWithholding(TransferIRATaxWithholding taxWithholding) toJson()Convert an instance of TransferIRA 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_DISTRIBUTION_REASON
- See Also:
-
SERIALIZED_NAME_TAX_WITHHOLDING
- See Also:
-
SERIALIZED_NAME_TAX_YEAR
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TransferIRA
public TransferIRA()
-
-
Method Details
-
distributionReason
-
getDistributionReason
Get distributionReason- Returns:
- distributionReason
-
setDistributionReason
-
taxWithholding
-
getTaxWithholding
Get taxWithholding- Returns:
- taxWithholding
-
setTaxWithholding
-
taxYear
-
getTaxYear
Get taxYear- Returns:
- taxYear
-
setTaxYear
-
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 TransferIRA 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 TransferIRA
-
fromJson
Create an instance of TransferIRA given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TransferIRA
- Throws:
IOException- if the JSON string is invalid with respect to TransferIRA
-
toJson
Convert an instance of TransferIRA to an JSON string- Returns:
- JSON string
-