Class TransferIRADetails

java.lang.Object
markets.alpaca.client.openapi.broker.model.TransferIRADetails
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.23.0") public class TransferIRADetails extends Object implements Serializable
TransferIRADetails
See Also:
  • Field Details

  • Constructor Details

    • TransferIRADetails

      public TransferIRADetails()
  • Method Details

    • distributionReason

      public TransferIRADetails distributionReason(@Nullable String distributionReason)
    • getDistributionReason

      @Nullable public String getDistributionReason()
      Get distributionReason
      Returns:
      distributionReason
    • setDistributionReason

      public void setDistributionReason(@Nullable String distributionReason)
    • fedWithholdingAmount

      public TransferIRADetails fedWithholdingAmount(@Nullable String fedWithholdingAmount)
    • getFedWithholdingAmount

      @Nullable public String getFedWithholdingAmount()
      Get fedWithholdingAmount
      Returns:
      fedWithholdingAmount
    • setFedWithholdingAmount

      public void setFedWithholdingAmount(@Nullable String fedWithholdingAmount)
    • fedWithholdingPct

      public TransferIRADetails fedWithholdingPct(@Nullable String fedWithholdingPct)
    • getFedWithholdingPct

      @Nullable public String getFedWithholdingPct()
      Get fedWithholdingPct
      Returns:
      fedWithholdingPct
    • setFedWithholdingPct

      public void setFedWithholdingPct(@Nullable String fedWithholdingPct)
    • stateWithholdingAmount

      public TransferIRADetails stateWithholdingAmount(@Nullable String stateWithholdingAmount)
    • getStateWithholdingAmount

      @Nullable public String getStateWithholdingAmount()
      Get stateWithholdingAmount
      Returns:
      stateWithholdingAmount
    • setStateWithholdingAmount

      public void setStateWithholdingAmount(@Nullable String stateWithholdingAmount)
    • stateWithholdingPct

      public TransferIRADetails stateWithholdingPct(@Nullable String stateWithholdingPct)
    • getStateWithholdingPct

      @Nullable public String getStateWithholdingPct()
      Get stateWithholdingPct
      Returns:
      stateWithholdingPct
    • setStateWithholdingPct

      public void setStateWithholdingPct(@Nullable String stateWithholdingPct)
    • taxYear

      public TransferIRADetails taxYear(@Nullable String taxYear)
    • getTaxYear

      @Nullable public String getTaxYear()
      Get taxYear
      Returns:
      taxYear
    • setTaxYear

      public void setTaxYear(@Nullable String taxYear)
    • putAdditionalProperty

      public TransferIRADetails putAdditionalProperty(String key, Object value)
      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 property
      value - value of the property
      Returns:
      the TransferIRADetails instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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 TransferIRADetails
    • fromJson

      public static TransferIRADetails fromJson(String jsonString) throws IOException
      Create an instance of TransferIRADetails given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of TransferIRADetails
      Throws:
      IOException - if the JSON string is invalid with respect to TransferIRADetails
    • toJson

      public String toJson()
      Convert an instance of TransferIRADetails to an JSON string
      Returns:
      JSON string