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

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

  • Constructor Details

    • FPSLTier

      public FPSLTier()
  • Method Details

    • createdAt

      public FPSLTier createdAt(@Nullable OffsetDateTime createdAt)
    • getCreatedAt

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

      public void setCreatedAt(@Nullable OffsetDateTime createdAt)
    • customerSplit

      public FPSLTier customerSplit(@Nullable BigDecimal customerSplit)
    • getCustomerSplit

      @Nullable public BigDecimal getCustomerSplit()
      Percentage of the customer split represented as a value between 0 and 1.00. Max 2 decimal places are allowed.
      Returns:
      customerSplit
    • setCustomerSplit

      public void setCustomerSplit(@Nullable BigDecimal customerSplit)
    • id

      public FPSLTier id(@Nullable UUID id)
    • getId

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

      public void setId(@Nullable UUID id)
    • market

      public FPSLTier market(@Nullable String market)
    • getMarket

      @Nullable public String getMarket()
      The market of the FPSL tier
      Returns:
      market
    • setMarket

      public void setMarket(@Nullable String market)
    • partnerSplit

      public FPSLTier partnerSplit(@Nullable BigDecimal partnerSplit)
    • getPartnerSplit

      @Nullable public BigDecimal getPartnerSplit()
      Percentage of the partner split represented as a value between 0 and 1.00. Max 2 decimal places are allowed.
      Returns:
      partnerSplit
    • setPartnerSplit

      public void setPartnerSplit(@Nullable BigDecimal partnerSplit)
    • tierName

      public FPSLTier tierName(@Nullable String tierName)
    • getTierName

      @Nullable public String getTierName()
      The name of the FPSL tier
      Returns:
      tierName
    • setTierName

      public void setTierName(@Nullable String tierName)
    • updatedAt

      public FPSLTier updatedAt(@Nullable OffsetDateTime updatedAt)
    • getUpdatedAt

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

      public void setUpdatedAt(@Nullable OffsetDateTime updatedAt)
    • putAdditionalProperty

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

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

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