Class ProductConclusion

java.lang.Object
com.veeroute.lss.monitor.model.ProductConclusion

@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 ProductConclusion extends Object
Result of processing a product or service within the demand.
  • Field Details

  • Constructor Details

    • ProductConclusion

      public ProductConclusion()
  • Method Details

    • productKey

      public ProductConclusion productKey(@Nonnull String productKey)
    • getProductKey

      @Nonnull public String getProductKey()
      The key of the product or service associated with the cargo, a unique identifier.
      Returns:
      productKey
    • setProductKey

      public void setProductKey(@Nonnull String productKey)
    • unitQuantity

      public ProductConclusion unitQuantity(@Nonnull Double unitQuantity)
    • getUnitQuantity

      @Nonnull public Double getUnitQuantity()
      Product quantity. minimum: 0.01 maximum: 1000000000
      Returns:
      unitQuantity
    • setUnitQuantity

      public void setUnitQuantity(@Nonnull Double unitQuantity)
    • type

      public ProductConclusion type(@Nonnull ProductConclusionType type)
    • getType

      @Nonnull public ProductConclusionType getType()
      Get type
      Returns:
      type
    • setType

      public void setType(@Nonnull ProductConclusionType type)
    • honestSignResult

      public ProductConclusion honestSignResult(@Nullable String honestSignResult)
    • getHonestSignResult

      @Nullable public String getHonestSignResult()
      Result of processing the `Honest Sign` marking.
      Returns:
      honestSignResult
    • setHonestSignResult

      public void setHonestSignResult(@Nullable String honestSignResult)
    • reason

      public ProductConclusion reason(@Nullable String reason)
    • getReason

      @Nullable public String getReason()
      Reason for delivery/cancellation of the product. Select from a customizable list.
      Returns:
      reason
    • setReason

      public void setReason(@Nullable String reason)
    • comment

      public ProductConclusion comment(@Nullable String comment)
    • getComment

      @Nullable public String getComment()
      Free-form comment on the delivery/cancellation of the product.
      Returns:
      comment
    • setComment

      public void setComment(@Nullable String comment)
    • putAdditionalProperty

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

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

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