com.ibm.commerce.giftregistry.service.valueobjects

Class GiftRegistryEmailListVO

  • All Implemented Interfaces:
    java.io.Serializable


    public class GiftRegistryEmailListVO
    extends BaseVO
    The value object for a gift registry's e-mail list. This value object is used to store the recipient e-mail information.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GiftRegistryEmailListVO

        public GiftRegistryEmailListVO()
    • Method Detail

      • getEmailListId

        public java.lang.Long getEmailListId()
        Gets the e-mail list ID
        Returns:
        emailListId
      • setEmailListId

        public void setEmailListId(java.lang.Long emailListId)
        Sets e-mail list ID
        Parameters:
        emailListId -
      • getName

        public java.lang.String getName()
        Gets the name of the recipient
        Returns:
        name
      • setName

        public void setName(java.lang.String name)
        Sets the name of the recipient
        Parameters:
        name -
      • getEmail

        public java.lang.String getEmail()
        Gets the e-mail address
        Returns:
        email
      • setEmail

        public void setEmail(java.lang.String email)
        Sets the e-mail address
        Parameters:
        email -
      • getType

        public java.lang.Integer getType()
        Gets the method for sending the e-mail. The only type currently supported is 0. Other types:
        • 0: Normal address (To field)
        • 1: CC this e-mail
        • 2: BCC this e-mail
        Returns:
        type
      • setType

        public void setType(java.lang.Integer type)
        Sets the method of sending the e-mail. The only type currently supported is 0. Other types:
        • 0: Normal address (To field)
        • 1: CC this e-mail
        • 2: BCC this e-mail
        Parameters:
        type -
      • getId

        public java.lang.Object getId()
        Gets the e-mail list ID
        Specified by:
        getId in class BaseVO
        Returns:
        emailListId object