com.ibm.commerce.payment.beans

Class InvoiceDataBean

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


    public class InvoiceDataBean
    extends InvoiceDataBeanBase
    implements com.ibm.commerce.payment.beans.InvoiceInputDataBean, com.ibm.commerce.payment.beans.InvoiceSmartDataBean
    This databean represents an Invoice object.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

      • InvoiceDataBean

        public InvoiceDataBean()
    • 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
      • getDataBeanKeyInvoiceId

        public java.lang.String getDataBeanKeyInvoiceId()
        Returns InvoiceId
        Specified by:
        getDataBeanKeyInvoiceId in interface com.ibm.commerce.payment.beans.InvoiceSmartDataBean
        Returns:
        java.lang.String
      • parseInvoiceXml

        public com.ibm.commerce.payment.beans.InvoiceDetailDataBean parseInvoiceXml()
                                                                             throws java.lang.Exception
        Parse the invoice XML
        Returns:
        an instance of the InvoiceDetailDataBean
        Throws:
        java.lang.Exception
        See Also:
        InvoiceDetailDataBean
      • 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
      • setDataBeanKeyInvoiceId

        public void setDataBeanKeyInvoiceId(java.lang.String aInvoiceId)
        Sets InvoiceId
        Specified by:
        setDataBeanKeyInvoiceId in interface com.ibm.commerce.payment.beans.InvoiceInputDataBean
        Parameters:
        aInvoiceId - 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