com.ibm.commerce.couponwallet.databeans

Class ViewCouponDetailDataBean

  • java.lang.Object
    • com.ibm.commerce.couponwallet.databeans.ViewCouponDetailDataBean
  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, ViewCouponDetailInputDataBean, java.io.Serializable

    Deprecated. 
    The WC54 coupon feature will be replaced by the WC56 promotion engine coupon feature.

    public class ViewCouponDetailDataBean
    extends java.lang.Object
    implements ViewCouponDetailInputDataBean, SmartDataBean
    This data bean is used to view the details of a particular eCoupon.

    The input parameter for this data bean is :

    • couponId: Long

    This can be queried for the following :

    • thumbNailPath: String
    • description: String
    • expiryDate: String
    • productName: String
    • categoryName: String
    • productId: Long
    • productId: Long
    • categoryId: Long
    • bcId: Long
    • shopperId: Long
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      java.lang.Long bcId
      Deprecated. 
      The ID of the coupon.
      java.lang.Long catalogId
      Deprecated. 
      ID of the catalog used in the purchase condition list (for category coupons).
      java.lang.Long categoryId
      Deprecated. 
      ID of the first category in the purchase condition list (for category coupons).
      java.lang.String categoryName
      Deprecated. 
      Name of the first category in the purchase condition list (for category coupons).
      CommandContext commandContext
      Deprecated. 
      The command context.
      java.lang.String description
      Deprecated. 
      The long description for the coupon.
      java.lang.String expiryDate
      Deprecated. 
      The expiry date for the coupon.
      java.lang.Long productId
      Deprecated. 
      ID of the first product in the purchase condition list (for product coupons).
      java.lang.String productName
      Deprecated. 
      Name of the first product in the purchase condition list (for product coupons).
      java.lang.Long shopperId
      Deprecated. 
      The ID of the customer who is viewing the coupon.
      java.lang.String thumbNailPath
      Deprecated. 
      The thumb nail image path for the coupon.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ViewCouponDetailDataBean()
      Deprecated. 
      ViewWalletDatabean constructor call the super.
    • Field Detail

      • thumbNailPath

        public java.lang.String thumbNailPath
        Deprecated. 
        The thumb nail image path for the coupon.
      • description

        public java.lang.String description
        Deprecated. 
        The long description for the coupon.
      • expiryDate

        public java.lang.String expiryDate
        Deprecated. 
        The expiry date for the coupon.
      • productName

        public java.lang.String productName
        Deprecated. 
        Name of the first product in the purchase condition list (for product coupons).
      • categoryName

        public java.lang.String categoryName
        Deprecated. 
        Name of the first category in the purchase condition list (for category coupons).
      • productId

        public java.lang.Long productId
        Deprecated. 
        ID of the first product in the purchase condition list (for product coupons).
      • catalogId

        public java.lang.Long catalogId
        Deprecated. 
        ID of the catalog used in the purchase condition list (for category coupons).
      • categoryId

        public java.lang.Long categoryId
        Deprecated. 
        ID of the first category in the purchase condition list (for category coupons).
      • bcId

        public java.lang.Long bcId
        Deprecated. 
        The ID of the coupon.
      • commandContext

        public CommandContext commandContext
        Deprecated. 
        The command context.
      • shopperId

        public java.lang.Long shopperId
        Deprecated. 
        The ID of the customer who is viewing the coupon.
    • Constructor Detail

      • ViewCouponDetailDataBean

        public ViewCouponDetailDataBean()
        Deprecated. 
        ViewWalletDatabean constructor call the super.
    • Method Detail

      • getBcId

        public java.lang.Long getBcId()
        Deprecated. 
        Gets the eCouponIds.
        Returns:
        java.lang.Long
      • getDescription

        public java.lang.String getDescription()
        Deprecated. 
        Gets the description of the eCoupon.
        Returns:
        java.lang.String[]
      • getExpiryDate

        public java.lang.String getExpiryDate()
        Deprecated. 
        Gets the expiry date.
        Returns:
        java.lang.String[]
      • getProductId

        public java.lang.Long getProductId()
        Deprecated. 
        Gets the productId.
        Returns:
        java.lang.Long
      • getProductName

        public java.lang.String getProductName()
        Deprecated. 
        Gets the product name.
        Returns:
        java.lang.String
      • getShopperId

        public java.lang.Long getShopperId()
        Deprecated. 
        Gets the ID of the customer.
        Returns:
        java.lang.Long
      • getThumbNailPath

        public java.lang.String getThumbNailPath()
        Deprecated. 
        Gets the path of the thumbnail.
        Returns:
        java.lang.String[]
      • populate

        public void populate()
        Deprecated. 
        This method is used to populate the data bean that used to view the details of a particular eCoupon.
        Specified by:
        populate in interface SmartDataBean
      • setBcId

        public void setBcId(java.lang.Long newBcId)
        Deprecated. 
        Sets the eCoupon IDs.
        Parameters:
        newBcId - java.lang.Long
      • setCommandContext

        public void setCommandContext(CommandContext newCommandContext)
        Deprecated. 
        Sets the context of the command.
        Specified by:
        setCommandContext in interface SmartDataBean
        Parameters:
        newCommandContext - com.ibm.commerce.command.CommandContext
      • setProductId

        public void setProductId(java.lang.Long newProductId)
        Deprecated. 
        Sets the ID of the product for which eCoupon to be applied.
        Parameters:
        newProductId - java.lang.Long
      • setProductName

        public void setProductName(java.lang.String newProductName)
        Deprecated. 
        Sets the name of the product for which eCoupon to be applied.
        Parameters:
        newProductName - java.lang.String
      • setRequestProperties

        public void setRequestProperties(TypedProperty typeProp)
        Deprecated. 
        Sets the properties of the request.
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        typeProp - com.ibm.commerce.datatype.TypedProperty
      • setShopperId

        public void setShopperId(java.lang.Long newShopperId)
        Deprecated. 
        Sets the ID of the customer.
        Parameters:
        newShopperId - java.lang.Long
      • setValues

        public void setValues(CouponWalletAccessBean tempcwAB,
                              CouponPromotionAccessBean temppAB)
                       throws java.lang.Exception
        Deprecated. 
        Sets the values for the eCoupon.
        Parameters:
        cwAB - com.ibm.commerce.couponwallet.objects.CouponWalletAccessBean
        pAB - com.ibm.commerce.couponpromotion.objects.PromotionAccessBean
        Throws:
        java.lang.Exception
      • getCategoryId

        public java.lang.Long getCategoryId()
        Deprecated. 
        Returns the categoryId.
        Returns:
        java.lang.Long
      • getCategoryName

        public java.lang.String getCategoryName()
        Deprecated. 
        Returns the categoryName.
        Returns:
        java.lang.String
      • getCatalogId

        public java.lang.Long getCatalogId()
        Deprecated. 
        Returns the catalogId.
        Returns:
        java.lang.Long