Class PromotionOrderAdjustTotalActionModel

    • Field Detail

      • _TYPECODE

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

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

      • PromotionOrderAdjustTotalActionModel

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

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

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

      • getAmount

        @Accessor(qualifier="amount",
                  type=GETTER)
        public java.lang.Double getAmount()
        Generated method - Getter of the PromotionOrderAdjustTotalAction.amount attribute defined at extension promotions.
        Returns:
        the amount - The amount to adjust the cart total by.
      • setAmount

        @Accessor(qualifier="amount",
                  type=SETTER)
        public void setAmount​(java.lang.Double value)
        Generated method - Setter of PromotionOrderAdjustTotalAction.amount attribute defined at extension promotions.
        Parameters:
        value - the amount - The amount to adjust the cart total by.