Class PromotionOrderAddFreeGiftActionModel

    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • FREEPRODUCT

        public static final java.lang.String FREEPRODUCT
        Generated constant - Attribute key of PromotionOrderAddFreeGiftAction.freeProduct attribute defined at extension promotions.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PromotionOrderAddFreeGiftActionModel

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

        public PromotionOrderAddFreeGiftActionModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • PromotionOrderAddFreeGiftActionModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public PromotionOrderAddFreeGiftActionModel​(ProductModel _freeProduct)
        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:
        _freeProduct - initial attribute declared by type PromotionOrderAddFreeGiftAction at extension promotions
      • PromotionOrderAddFreeGiftActionModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public PromotionOrderAddFreeGiftActionModel​(ProductModel _freeProduct,
                                                    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:
        _freeProduct - initial attribute declared by type PromotionOrderAddFreeGiftAction at extension promotions
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getFreeProduct

        @Accessor(qualifier="freeProduct",
                  type=GETTER)
        public ProductModel getFreeProduct()
        Generated method - Getter of the PromotionOrderAddFreeGiftAction.freeProduct attribute defined at extension promotions.
        Returns:
        the freeProduct - The product given away as a gift
      • setFreeProduct

        @Accessor(qualifier="freeProduct",
                  type=SETTER)
        public void setFreeProduct​(ProductModel value)
        Generated method - Setter of PromotionOrderAddFreeGiftAction.freeProduct attribute defined at extension promotions.
        Parameters:
        value - the freeProduct - The product given away as a gift