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

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

  • Constructor Details

    • APRTier

      public APRTier()
  • Method Details

    • accountRateBps

      public APRTier accountRateBps(@Nullable Integer accountRateBps)
    • getAccountRateBps

      @Nullable public Integer getAccountRateBps()
      The annualized account interest rate, in basis points.
      Returns:
      accountRateBps
    • setAccountRateBps

      public void setAccountRateBps(@Nullable Integer accountRateBps)
    • correspondentRateBps

      public APRTier correspondentRateBps(@Nullable Integer correspondentRateBps)
    • getCorrespondentRateBps

      @Nullable public Integer getCorrespondentRateBps()
      The annualized correspondent fee rate, in basis points.
      Returns:
      correspondentRateBps
    • setCorrespondentRateBps

      public void setCorrespondentRateBps(@Nullable Integer correspondentRateBps)
    • createdAt

      public APRTier createdAt(@Nullable OffsetDateTime createdAt)
    • getCreatedAt

      @Nullable public OffsetDateTime getCreatedAt()
      The timestamp the APR tier was created, in RFC 3339 format.
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(@Nullable OffsetDateTime createdAt)
    • currency

      public APRTier currency(@Nullable String currency)
    • getCurrency

      @Nullable public String getCurrency()
      The currency of the APR tier
      Returns:
      currency
    • setCurrency

      public void setCurrency(@Nullable String currency)
    • details

      public APRTier details(@Nullable APRTierDetails details)
    • getDetails

      @Nullable public APRTierDetails getDetails()
      Get details
      Returns:
      details
    • setDetails

      public void setDetails(@Nullable APRTierDetails details)
    • id

      public APRTier id(@Nullable UUID id)
    • getId

      @Nullable public UUID getId()
      The unique identifier of the APR tier
      Returns:
      id
    • setId

      public void setId(@Nullable UUID id)
    • isDefault

      public APRTier isDefault(@Nullable Boolean isDefault)
    • getIsDefault

      @Nullable public Boolean getIsDefault()
      True if this is the default APR tier. Only one APR tier can be default per currency.
      Returns:
      isDefault
    • setIsDefault

      public void setIsDefault(@Nullable Boolean isDefault)
    • name

      public APRTier name(@Nullable String name)
    • getName

      @Nullable public String getName()
      The unique name of the APR tier
      Returns:
      name
    • setName

      public void setName(@Nullable String name)
    • updatedAt

      public APRTier updatedAt(@Nullable OffsetDateTime updatedAt)
    • getUpdatedAt

      @Nullable public OffsetDateTime getUpdatedAt()
      The timestamp of the last update to the APR tier, in RFC 3339 format.
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(@Nullable OffsetDateTime updatedAt)
    • putAdditionalProperty

      public APRTier 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 APRTier 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 APRTier
    • fromJson

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

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