com.ibm.commerce.payment.beans

Class AccountDataBean

  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, com.ibm.commerce.payment.beans.AccountInputDataBean, com.ibm.commerce.payment.beans.AccountSmartDataBean, Delegator, java.io.Serializable


    public class AccountDataBean
    extends AccountDataBeanBase
    implements com.ibm.commerce.payment.beans.AccountInputDataBean, com.ibm.commerce.payment.beans.AccountSmartDataBean
    This databean represents an Account object.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

      • AccountDataBean

        public AccountDataBean()
    • Method Detail

      • getCommandContext

        public CommandContext getCommandContext()
        Gets the command context set within this bean.
        Specified by:
        getCommandContext in interface SmartDataBean
        Returns:
        com.ibm.commerce.command.CommandContext
      • getDataBeanKeyAccountId

        public java.lang.String getDataBeanKeyAccountId()
        Returns AccountId
        Specified by:
        getDataBeanKeyAccountId in interface com.ibm.commerce.payment.beans.AccountSmartDataBean
        Returns:
        java.lang.String
      • getDisplayCustomizationTCAttachment

        public AttachmentDataBean getDisplayCustomizationTCAttachment()
                                                               throws ECException
        Returns the Attachment of this Account's DisplayCustomizationTC.
        Returns:
        the Attachment, or null if this Account does not have a DisplayCustomizationTC.
        Throws:
        ECException
      • populate

        public void populate()
        Retrieves data from the database.
        Specified by:
        populate in interface SmartDataBean
        Throws:
        java.lang.Exception
      • setCommandContext

        public void setCommandContext(CommandContext aCommandContext)
        Sets the command context within this bean.
        Specified by:
        setCommandContext in interface SmartDataBean
        Parameters:
        aCommandContext - com.ibm.commerce.command.CommandContext
      • setDataBeanKeyAccountId

        public void setDataBeanKeyAccountId(java.lang.String aAccountId)
        Sets AccountId
        Specified by:
        setDataBeanKeyAccountId in interface com.ibm.commerce.payment.beans.AccountInputDataBean
        Parameters:
        aAccountId - java.lang.String
      • setRequestProperties

        public void setRequestProperties(TypedProperty aRequestProperty)
        Sets the request property within this bean.
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        aRequestProperty - com.ibm.commerce.datatype.TypedProperty