Class FareProductModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ShoppingFareProductModel

public class FareProductModel extends TravelProductModel
Generated model class for type FareProduct first defined at extension travelservices.

This type represents a fare that is used for a particular journey.

See Also:
  • Field Details

    • _TYPECODE

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

      public static final String BOOKINGCLASS
      Generated constant - Attribute key of FareProduct.bookingClass attribute defined at extension travelservices.
      See Also:
    • FAREBASISCODE

      public static final String FAREBASISCODE
      Generated constant - Attribute key of FareProduct.fareBasisCode attribute defined at extension travelservices.
      See Also:
    • CABINTYPE

      public static final String CABINTYPE
      Generated constant - Attribute key of FareProduct.cabinType attribute defined at extension travelservices.
      See Also:
  • Constructor Details

    • FareProductModel

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

      public FareProductModel(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
    • FareProductModel

      @Deprecated(since="4.1.1", forRemoval=true) public FareProductModel(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
    • FareProductModel

      @Deprecated(since="4.1.1", forRemoval=true) public FareProductModel(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

    • getBookingClass

      @Accessor(qualifier="bookingClass", type=GETTER) public String getBookingClass()
      Generated method - Getter of the FareProduct.bookingClass attribute defined at extension travelservices.
      Returns:
      the bookingClass
    • getCabinType

      @Accessor(qualifier="cabinType", type=GETTER) public CabinTypeModel getCabinType()
      Generated method - Getter of the FareProduct.cabinType attribute defined at extension travelservices.
      Returns:
      the cabinType
    • getFareBasisCode

      @Accessor(qualifier="fareBasisCode", type=GETTER) public String getFareBasisCode()
      Generated method - Getter of the FareProduct.fareBasisCode attribute defined at extension travelservices.
      Returns:
      the fareBasisCode
    • setBookingClass

      @Accessor(qualifier="bookingClass", type=SETTER) public void setBookingClass(String value)
      Generated method - Setter of FareProduct.bookingClass attribute defined at extension travelservices.
      Parameters:
      value - the bookingClass
    • setCabinType

      @Accessor(qualifier="cabinType", type=SETTER) public void setCabinType(CabinTypeModel value)
      Generated method - Setter of FareProduct.cabinType attribute defined at extension travelservices.
      Parameters:
      value - the cabinType
    • setFareBasisCode

      @Accessor(qualifier="fareBasisCode", type=SETTER) public void setFareBasisCode(String value)
      Generated method - Setter of FareProduct.fareBasisCode attribute defined at extension travelservices.
      Parameters:
      value - the fareBasisCode