Package com.veeroute.lss.monitor.model
Class SpecialistBusinessSettings
java.lang.Object
com.veeroute.lss.monitor.model.SpecialistBusinessSettings
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-11-23T13:47:38.388455705+03:00[Europe/Moscow]",
comments="Generator version: 7.17.0")
public class SpecialistBusinessSettings
extends Object
Specialist application business settings - payments and reason catalogs.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDemandCancelReasonsItem(CancelReason demandCancelReasonsItem) addProductCancelReasonsItem(CancelReason productCancelReasonsItem) demandCancelReasons(List<CancelReason> demandCancelReasons) booleanstatic SpecialistBusinessSettingsCreate an instance of SpecialistBusinessSettings given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.List of demand cancellation reasons from which the performer selects the reason (`reason`) for the `DEMAND_CANCELED` fact.The radius of a circle in meters (centered at the location's coordinates) within which a `LOCATION_CHECKIN` event will be generated.An addition to `location_checkin_radius` (in meters) that defines the radius of a circle—centered at the location's coordinates—such that exiting this area triggers a `LOCATION_CHECKOUT` event.Payment system for accepting payments.List of product refusal reasons from which the performer selects the reason (`reason`) for `CANCELED` products in the `DEMAND_DONE` fact.inthashCode()locationCheckinRadius(Integer locationCheckinRadius) locationCheckoutThreshold(Integer locationCheckoutThreshold) paymentSystem(String paymentSystem) productCancelReasons(List<CancelReason> productCancelReasons) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDemandCancelReasons(List<CancelReason> demandCancelReasons) voidsetLocationCheckinRadius(Integer locationCheckinRadius) voidsetLocationCheckoutThreshold(Integer locationCheckoutThreshold) voidsetPaymentSystem(String paymentSystem) voidsetProductCancelReasons(List<CancelReason> productCancelReasons) toJson()Convert an instance of SpecialistBusinessSettings 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_PAYMENT_SYSTEM
- See Also:
-
SERIALIZED_NAME_DEMAND_CANCEL_REASONS
- See Also:
-
SERIALIZED_NAME_PRODUCT_CANCEL_REASONS
- See Also:
-
SERIALIZED_NAME_LOCATION_CHECKIN_RADIUS
- See Also:
-
SERIALIZED_NAME_LOCATION_CHECKOUT_THRESHOLD
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SpecialistBusinessSettings
public SpecialistBusinessSettings()
-
-
Method Details
-
paymentSystem
-
getPaymentSystem
Payment system for accepting payments.- Returns:
- paymentSystem
-
setPaymentSystem
-
demandCancelReasons
public SpecialistBusinessSettings demandCancelReasons(@Nullable List<CancelReason> demandCancelReasons) -
addDemandCancelReasonsItem
-
getDemandCancelReasons
List of demand cancellation reasons from which the performer selects the reason (`reason`) for the `DEMAND_CANCELED` fact. Reason keys must be unique. If the list is empty, the default list is used.- Returns:
- demandCancelReasons
-
setDemandCancelReasons
-
productCancelReasons
public SpecialistBusinessSettings productCancelReasons(@Nullable List<CancelReason> productCancelReasons) -
addProductCancelReasonsItem
public SpecialistBusinessSettings addProductCancelReasonsItem(CancelReason productCancelReasonsItem) -
getProductCancelReasons
List of product refusal reasons from which the performer selects the reason (`reason`) for `CANCELED` products in the `DEMAND_DONE` fact. Reason keys must be unique. If the list is empty, the default list is used.- Returns:
- productCancelReasons
-
setProductCancelReasons
-
locationCheckinRadius
-
getLocationCheckinRadius
The radius of a circle in meters (centered at the location's coordinates) within which a `LOCATION_CHECKIN` event will be generated. Only the location that is next in the current trip is checked. minimum: 0 maximum: 10000- Returns:
- locationCheckinRadius
-
setLocationCheckinRadius
-
locationCheckoutThreshold
public SpecialistBusinessSettings locationCheckoutThreshold(@Nullable Integer locationCheckoutThreshold) -
getLocationCheckoutThreshold
An addition to `location_checkin_radius` (in meters) that defines the radius of a circle—centered at the location's coordinates—such that exiting this area triggers a `LOCATION_CHECKOUT` event. Only the current location, where the most recent `LOCATION_CHECKIN` event occurred, is evaluated. minimum: 0 maximum: 10000- Returns:
- locationCheckoutThreshold
-
setLocationCheckoutThreshold
-
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 SpecialistBusinessSettings 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 SpecialistBusinessSettings
-
fromJson
Create an instance of SpecialistBusinessSettings given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SpecialistBusinessSettings
- Throws:
IOException- if the JSON string is invalid with respect to SpecialistBusinessSettings
-
toJson
Convert an instance of SpecialistBusinessSettings to an JSON string- Returns:
- JSON string
-