Class SAPOPPSCouponPromotionModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
All Implemented Interfaces:
Serializable

public class SAPOPPSCouponPromotionModel extends OrderPromotionModel
Generated model class for type SAPOPPSCouponPromotion first defined at extension sapppspricing.
See Also:
  • Field Details

    • _TYPECODE

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

      public static final String COUPONCODE
      Generated constant - Attribute key of SAPOPPSCouponPromotion.couponCode attribute defined at extension sapppspricing.
      See Also:
  • Constructor Details

    • SAPOPPSCouponPromotionModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public SAPOPPSCouponPromotionModel(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:
      _code - initial attribute declared by type AbstractPromotion at extension promotions
    • SAPOPPSCouponPromotionModel

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

    • getCouponCode

      @Accessor(qualifier="couponCode", type=GETTER) public String getCouponCode()
      Generated method - Getter of the SAPOPPSCouponPromotion.couponCode attribute defined at extension sapppspricing.
      Returns:
      the couponCode - Coupon code applied
    • setCouponCode

      @Accessor(qualifier="couponCode", type=SETTER) public void setCouponCode(String value)
      Generated method - Setter of SAPOPPSCouponPromotion.couponCode attribute defined at extension sapppspricing.
      Parameters:
      value - the couponCode - Coupon code applied