Class CommerceAllowanceProductModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CabinBagModel, HoldBagModel, SportEquipmentModel

public class CommerceAllowanceProductModel extends CommerceBaggageProductModel
Generated model class for type CommerceAllowanceProduct first defined at extension travelservices.

This type represents the commerce allowance products.

See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • WEIGHT

      public static final String WEIGHT
      Generated constant - Attribute key of CommerceAllowanceProduct.weight attribute defined at extension travelservices.
      See Also:
  • Constructor Details

    • CommerceAllowanceProductModel

      public CommerceAllowanceProductModel()
      Generated constructor - Default constructor for generic creation.
    • CommerceAllowanceProductModel

      public CommerceAllowanceProductModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • CommerceAllowanceProductModel

      @Deprecated(since="4.1.1", forRemoval=true) public CommerceAllowanceProductModel(CatalogVersionModel _catalogVersion, String _code)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _catalogVersion - initial attribute declared by type Product at extension catalog
      _code - initial attribute declared by type Product at extension core
    • CommerceAllowanceProductModel

      @Deprecated(since="4.1.1", forRemoval=true) public CommerceAllowanceProductModel(CatalogVersionModel _catalogVersion, String _code, ItemModel _owner)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _catalogVersion - initial attribute declared by type Product at extension catalog
      _code - initial attribute declared by type Product at extension core
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getWeight

      @Accessor(qualifier="weight", type=GETTER) public BigDecimal getWeight()
      Generated method - Getter of the CommerceAllowanceProduct.weight attribute defined at extension travelservices.
      Returns:
      the weight
    • setWeight

      @Accessor(qualifier="weight", type=SETTER) public void setWeight(BigDecimal value)
      Generated method - Setter of CommerceAllowanceProduct.weight attribute defined at extension travelservices.
      Parameters:
      value - the weight