Package com.veeroute.lss.studio.model
Class PerformerTariff
java.lang.Object
com.veeroute.lss.studio.model.PerformerTariff
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-11-23T13:47:57.513559297+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.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConstraintsItem(PerformerTariffConstraint constraintsItem) constraints(List<PerformerTariffConstraint> constraints) costPerShift(Double costPerShift) booleanstatic PerformerTariffCreate an instance of PerformerTariff given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A list of tariff components that apply from the start of movement or execution of work on orders.Price for using the shift, monetary unit.Max sum of penalties for performer or transport using this shift, monetary unit.inthashCode()maxPenaltyCost(Double maxPenaltyCost) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetConstraints(List<PerformerTariffConstraint> constraints) voidsetCostPerShift(Double costPerShift) voidsetMaxPenaltyCost(Double maxPenaltyCost) toJson()Convert an instance of PerformerTariff 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_COST_PER_SHIFT
- See Also:
-
SERIALIZED_NAME_CONSTRAINTS
- See Also:
-
SERIALIZED_NAME_MAX_PENALTY_COST
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PerformerTariff
public PerformerTariff()
-
-
Method Details
-
costPerShift
-
getCostPerShift
Price for using the shift, monetary unit. minimum: 0.001 maximum: 1000000- Returns:
- costPerShift
-
setCostPerShift
-
constraints
-
addConstraintsItem
-
getConstraints
A list of tariff components that apply from the start of movement or execution of work on orders.- Returns:
- constraints
-
setConstraints
-
maxPenaltyCost
-
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
-
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 PerformerTariff 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 PerformerTariff
-
fromJson
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
Convert an instance of PerformerTariff to an JSON string- Returns:
- JSON string
-