Class ProductShippingConfiguration

java.lang.Object
com.liferay.headless.commerce.admin.catalog.dto.v1_0.ProductShippingConfiguration
All Implemented Interfaces:
Serializable

@Generated("") public class ProductShippingConfiguration extends Object implements Serializable
See Also:
Generated:
  • Field Details

    • depth

      protected BigDecimal depth
    • freeShipping

      protected Boolean freeShipping
    • height

      protected BigDecimal height
    • shippable

      protected Boolean shippable
    • shippingExtraPrice

      protected BigDecimal shippingExtraPrice
    • shippingSeparately

      protected Boolean shippingSeparately
    • weight

      protected BigDecimal weight
    • width

      protected BigDecimal width
    • xClassName

      public String xClassName
  • Constructor Details

    • ProductShippingConfiguration

      public ProductShippingConfiguration()
  • Method Details

    • toDTO

      public static ProductShippingConfiguration toDTO(String json)
    • unsafeToDTO

      public static ProductShippingConfiguration unsafeToDTO(String json)
    • getDepth

      @DecimalMin("0") @Valid public @DecimalMin("0") @Valid BigDecimal getDepth()
    • setDepth

      public void setDepth(BigDecimal depth)
    • setDepth

      public void setDepth(com.liferay.petra.function.UnsafeSupplier<BigDecimal,Exception> depthUnsafeSupplier)
    • getFreeShipping

      public Boolean getFreeShipping()
    • setFreeShipping

      public void setFreeShipping(Boolean freeShipping)
    • setFreeShipping

      public void setFreeShipping(com.liferay.petra.function.UnsafeSupplier<Boolean,Exception> freeShippingUnsafeSupplier)
    • getHeight

      @DecimalMin("0") @Valid public @DecimalMin("0") @Valid BigDecimal getHeight()
    • setHeight

      public void setHeight(BigDecimal height)
    • setHeight

      public void setHeight(com.liferay.petra.function.UnsafeSupplier<BigDecimal,Exception> heightUnsafeSupplier)
    • getShippable

      public Boolean getShippable()
    • setShippable

      public void setShippable(Boolean shippable)
    • setShippable

      public void setShippable(com.liferay.petra.function.UnsafeSupplier<Boolean,Exception> shippableUnsafeSupplier)
    • getShippingExtraPrice

      @DecimalMin("0") @Valid public @DecimalMin("0") @Valid BigDecimal getShippingExtraPrice()
    • setShippingExtraPrice

      public void setShippingExtraPrice(BigDecimal shippingExtraPrice)
    • setShippingExtraPrice

      public void setShippingExtraPrice(com.liferay.petra.function.UnsafeSupplier<BigDecimal,Exception> shippingExtraPriceUnsafeSupplier)
    • getShippingSeparately

      public Boolean getShippingSeparately()
    • setShippingSeparately

      public void setShippingSeparately(Boolean shippingSeparately)
    • setShippingSeparately

      public void setShippingSeparately(com.liferay.petra.function.UnsafeSupplier<Boolean,Exception> shippingSeparatelyUnsafeSupplier)
    • getWeight

      @DecimalMin("0") @Valid public @DecimalMin("0") @Valid BigDecimal getWeight()
    • setWeight

      public void setWeight(BigDecimal weight)
    • setWeight

      public void setWeight(com.liferay.petra.function.UnsafeSupplier<BigDecimal,Exception> weightUnsafeSupplier)
    • getWidth

      @DecimalMin("0") @Valid public @DecimalMin("0") @Valid BigDecimal getWidth()
    • setWidth

      public void setWidth(BigDecimal width)
    • setWidth

      public void setWidth(com.liferay.petra.function.UnsafeSupplier<BigDecimal,Exception> widthUnsafeSupplier)
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object