Class PerformerTariff

java.lang.Object
com.veeroute.lss.universal.model.PerformerTariff

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-11-23T13:48:07.156941043+03:00[Europe/Moscow]", comments="Generator version: 7.17.0") public class PerformerTariff extends Object
The tariff determines the cost and time limits of the shift.
  • Field Details

  • Constructor Details

    • PerformerTariff

      public PerformerTariff()
  • Method Details

    • costPerShift

      public PerformerTariff costPerShift(@Nullable Double costPerShift)
    • getCostPerShift

      @Nullable public Double getCostPerShift()
      Price for using the shift, monetary unit. minimum: 0.001 maximum: 1000000
      Returns:
      costPerShift
    • setCostPerShift

      public void setCostPerShift(@Nullable Double costPerShift)
    • constraints

      public PerformerTariff constraints(@Nullable List<PerformerTariffConstraint> constraints)
    • addConstraintsItem

      public PerformerTariff addConstraintsItem(PerformerTariffConstraint constraintsItem)
    • getConstraints

      @Nullable public List<PerformerTariffConstraint> getConstraints()
      A list of tariff components that apply from the start of movement or execution of work on orders.
      Returns:
      constraints
    • setConstraints

      public void setConstraints(@Nullable List<PerformerTariffConstraint> constraints)
    • maxPenaltyCost

      public PerformerTariff maxPenaltyCost(@Nullable Double maxPenaltyCost)
    • getMaxPenaltyCost

      @Nullable public Double getMaxPenaltyCost()
      Max sum of penalties for performer or transport using this shift, monetary unit. If not specified or null, the performer can violate without restrictions. minimum: 0 maximum: 1000000
      Returns:
      maxPenaltyCost
    • setMaxPenaltyCost

      public void setMaxPenaltyCost(@Nullable Double maxPenaltyCost)
    • putAdditionalProperty

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

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

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