Class PackageLayout

java.lang.Object
com.veeroute.lss.packer.model.PackageLayout

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-11-23T13:47:46.842085694+03:00[Europe/Moscow]", comments="Generator version: 7.17.0") public class PackageLayout extends Object
The layout of the product or other packaging in the package.
  • Field Details

  • Constructor Details

    • PackageLayout

      public PackageLayout()
  • Method Details

    • packageKey

      public PackageLayout packageKey(@Nonnull String packageKey)
    • getPackageKey

      @Nonnull public String getPackageKey()
      Package key.
      Returns:
      packageKey
    • setPackageKey

      public void setPackageKey(@Nonnull String packageKey)
    • coordinates

      public PackageLayout coordinates(@Nonnull Coordinates coordinates)
    • getCoordinates

      @Nonnull public Coordinates getCoordinates()
      The coordinates of the bottom left far corner of the package relative to the bottom left far corner of the parent package.
      Returns:
      coordinates
    • setCoordinates

      public void setCoordinates(@Nonnull Coordinates coordinates)
    • dimensions

      public PackageLayout dimensions(@Nonnull Dimensions dimensions)
    • getDimensions

      @Nonnull public Dimensions getDimensions()
      Overall dimensions and mass of the loaded package.
      Returns:
      dimensions
    • setDimensions

      public void setDimensions(@Nonnull Dimensions dimensions)
    • productGroupLayouts

      public PackageLayout productGroupLayouts(@Nonnull List<ProductGroupLayout> productGroupLayouts)
    • addProductGroupLayoutsItem

      public PackageLayout addProductGroupLayoutsItem(ProductGroupLayout productGroupLayoutsItem)
    • getProductGroupLayouts

      @Nonnull public List<ProductGroupLayout> getProductGroupLayouts()
      List of product group layouts.
      Returns:
      productGroupLayouts
    • setProductGroupLayouts

      public void setProductGroupLayouts(@Nonnull List<ProductGroupLayout> productGroupLayouts)
    • packageLayouts

      public PackageLayout packageLayouts(@Nonnull List<PackageLayout> packageLayouts)
    • addPackageLayoutsItem

      public PackageLayout addPackageLayoutsItem(PackageLayout packageLayoutsItem)
    • getPackageLayouts

      @Nonnull public List<PackageLayout> getPackageLayouts()
      List of package layouts.
      Returns:
      packageLayouts
    • setPackageLayouts

      public void setPackageLayouts(@Nonnull List<PackageLayout> packageLayouts)
    • putAdditionalProperty

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

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

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