Class RuleBasedOrderChangeDeliveryModeActionModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class RuleBasedOrderChangeDeliveryModeActionModel
    extends AbstractRuleBasedPromotionActionModel
    Generated model class for type RuleBasedOrderChangeDeliveryModeAction first defined at extension promotionengineservices.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String DELIVERYMODE
        Generated constant - Attribute key of RuleBasedOrderChangeDeliveryModeAction.deliveryMode attribute defined at extension promotionengineservices.
        See Also:
        Constant Field Values
      • DELIVERYCOST

        public static final java.lang.String DELIVERYCOST
        Generated constant - Attribute key of RuleBasedOrderChangeDeliveryModeAction.deliveryCost attribute defined at extension promotionengineservices.
        See Also:
        Constant Field Values
      • REPLACEDDELIVERYMODE

        public static final java.lang.String REPLACEDDELIVERYMODE
        Generated constant - Attribute key of RuleBasedOrderChangeDeliveryModeAction.replacedDeliveryMode attribute defined at extension promotionengineservices.
        See Also:
        Constant Field Values
      • REPLACEDDELIVERYCOST

        public static final java.lang.String REPLACEDDELIVERYCOST
        Generated constant - Attribute key of RuleBasedOrderChangeDeliveryModeAction.replacedDeliveryCost attribute defined at extension promotionengineservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • RuleBasedOrderChangeDeliveryModeActionModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public RuleBasedOrderChangeDeliveryModeActionModel​(java.math.BigDecimal _deliveryCost,
                                                           DeliveryModeModel _deliveryMode)
        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:
        _deliveryCost - initial attribute declared by type RuleBasedOrderChangeDeliveryModeAction at extension promotionengineservices
        _deliveryMode - initial attribute declared by type RuleBasedOrderChangeDeliveryModeAction at extension promotionengineservices
      • RuleBasedOrderChangeDeliveryModeActionModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public RuleBasedOrderChangeDeliveryModeActionModel​(java.math.BigDecimal _deliveryCost,
                                                           DeliveryModeModel _deliveryMode,
                                                           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:
        _deliveryCost - initial attribute declared by type RuleBasedOrderChangeDeliveryModeAction at extension promotionengineservices
        _deliveryMode - initial attribute declared by type RuleBasedOrderChangeDeliveryModeAction at extension promotionengineservices
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getDeliveryCost

        @Accessor(qualifier="deliveryCost",
                  type=GETTER)
        public java.math.BigDecimal getDeliveryCost()
        Generated method - Getter of the RuleBasedOrderChangeDeliveryModeAction.deliveryCost attribute defined at extension promotionengineservices.
        Returns:
        the deliveryCost - The delivery cost to apply to the order
      • getDeliveryMode

        @Accessor(qualifier="deliveryMode",
                  type=GETTER)
        public DeliveryModeModel getDeliveryMode()
        Generated method - Getter of the RuleBasedOrderChangeDeliveryModeAction.deliveryMode attribute defined at extension promotionengineservices.
        Returns:
        the deliveryMode - The delivery mode to apply to the order
      • getReplacedDeliveryCost

        @Accessor(qualifier="replacedDeliveryCost",
                  type=GETTER)
        public java.math.BigDecimal getReplacedDeliveryCost()
        Generated method - Getter of the RuleBasedOrderChangeDeliveryModeAction.replacedDeliveryCost attribute defined at extension promotionengineservices.
        Returns:
        the replacedDeliveryCost - The delivery cost that was set to order before a promotion was applied
      • getReplacedDeliveryMode

        @Accessor(qualifier="replacedDeliveryMode",
                  type=GETTER)
        public DeliveryModeModel getReplacedDeliveryMode()
        Generated method - Getter of the RuleBasedOrderChangeDeliveryModeAction.replacedDeliveryMode attribute defined at extension promotionengineservices.
        Returns:
        the replacedDeliveryMode - The delivery mode that was set to order before a promotion was applied
      • setDeliveryCost

        @Accessor(qualifier="deliveryCost",
                  type=SETTER)
        public void setDeliveryCost​(java.math.BigDecimal value)
        Generated method - Setter of RuleBasedOrderChangeDeliveryModeAction.deliveryCost attribute defined at extension promotionengineservices.
        Parameters:
        value - the deliveryCost - The delivery cost to apply to the order
      • setDeliveryMode

        @Accessor(qualifier="deliveryMode",
                  type=SETTER)
        public void setDeliveryMode​(DeliveryModeModel value)
        Generated method - Setter of RuleBasedOrderChangeDeliveryModeAction.deliveryMode attribute defined at extension promotionengineservices.
        Parameters:
        value - the deliveryMode - The delivery mode to apply to the order
      • setReplacedDeliveryCost

        @Accessor(qualifier="replacedDeliveryCost",
                  type=SETTER)
        public void setReplacedDeliveryCost​(java.math.BigDecimal value)
        Generated method - Setter of RuleBasedOrderChangeDeliveryModeAction.replacedDeliveryCost attribute defined at extension promotionengineservices.
        Parameters:
        value - the replacedDeliveryCost - The delivery cost that was set to order before a promotion was applied
      • setReplacedDeliveryMode

        @Accessor(qualifier="replacedDeliveryMode",
                  type=SETTER)
        public void setReplacedDeliveryMode​(DeliveryModeModel value)
        Generated method - Setter of RuleBasedOrderChangeDeliveryModeAction.replacedDeliveryMode attribute defined at extension promotionengineservices.
        Parameters:
        value - the replacedDeliveryMode - The delivery mode that was set to order before a promotion was applied