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.
  • Field Details

    • SERIALIZED_NAME_PAYMENT_SYSTEM

      public static final String SERIALIZED_NAME_PAYMENT_SYSTEM
      See Also:
    • SERIALIZED_NAME_DEMAND_CANCEL_REASONS

      public static final String SERIALIZED_NAME_DEMAND_CANCEL_REASONS
      See Also:
    • SERIALIZED_NAME_PRODUCT_CANCEL_REASONS

      public static final String SERIALIZED_NAME_PRODUCT_CANCEL_REASONS
      See Also:
    • SERIALIZED_NAME_LOCATION_CHECKIN_RADIUS

      public static final String SERIALIZED_NAME_LOCATION_CHECKIN_RADIUS
      See Also:
    • SERIALIZED_NAME_LOCATION_CHECKOUT_THRESHOLD

      public static final String SERIALIZED_NAME_LOCATION_CHECKOUT_THRESHOLD
      See Also:
    • openapiFields

      public static HashSet<String> openapiFields
    • openapiRequiredFields

      public static HashSet<String> openapiRequiredFields
  • Constructor Details

    • SpecialistBusinessSettings

      public SpecialistBusinessSettings()
  • Method Details

    • paymentSystem

      public SpecialistBusinessSettings paymentSystem(@Nullable String paymentSystem)
    • getPaymentSystem

      @Nullable public String getPaymentSystem()
      Payment system for accepting payments.
      Returns:
      paymentSystem
    • setPaymentSystem

      public void setPaymentSystem(@Nullable String paymentSystem)
    • demandCancelReasons

      public SpecialistBusinessSettings demandCancelReasons(@Nullable List<CancelReason> demandCancelReasons)
    • addDemandCancelReasonsItem

      public SpecialistBusinessSettings addDemandCancelReasonsItem(CancelReason demandCancelReasonsItem)
    • getDemandCancelReasons

      @Nullable public List<CancelReason> 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

      public void setDemandCancelReasons(@Nullable List<CancelReason> demandCancelReasons)
    • productCancelReasons

      public SpecialistBusinessSettings productCancelReasons(@Nullable List<CancelReason> productCancelReasons)
    • addProductCancelReasonsItem

      public SpecialistBusinessSettings addProductCancelReasonsItem(CancelReason productCancelReasonsItem)
    • getProductCancelReasons

      @Nullable public List<CancelReason> 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

      public void setProductCancelReasons(@Nullable List<CancelReason> productCancelReasons)
    • locationCheckinRadius

      public SpecialistBusinessSettings locationCheckinRadius(@Nullable Integer locationCheckinRadius)
    • getLocationCheckinRadius

      @Nullable public Integer 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

      public void setLocationCheckinRadius(@Nullable Integer locationCheckinRadius)
    • locationCheckoutThreshold

      public SpecialistBusinessSettings locationCheckoutThreshold(@Nullable Integer locationCheckoutThreshold)
    • getLocationCheckoutThreshold

      @Nullable public Integer 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

      public void setLocationCheckoutThreshold(@Nullable Integer locationCheckoutThreshold)
    • putAdditionalProperty

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

      public static SpecialistBusinessSettings fromJson(String jsonString) throws IOException
      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

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