com.ibm.commerce.payment.ppc.beans

Class PPCGetCreditDataBean

  • java.lang.Object
    • com.ibm.commerce.payment.ppc.beans.PPCGetCreditDataBean
  • All Implemented Interfaces:
    CommandDataBean, DataBean, InputDataBean, java.io.Serializable


    public class PPCGetCreditDataBean
    extends java.lang.Object
    implements CommandDataBean, InputDataBean

    This databean gets the credit information and pending transaction's extended data in WebSphere Commerce Payments when payments plugin is used from PPCGetCreditCmd databean command.

    See Also:
    PPCGetCreditCmd, Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM Copyright
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getCommandInterfaceName()
      This method returns the databean command interface name of this databean, and through the databean command, the data of this databean are populated.
      Credit getCredit()
      This method returns the Credit object, and the corresponding information are stored the table PPCCREDIT.
      java.lang.String getCreditId()
      This method returns the identifier of current Credit object.
      TypedProperty getRequestProperties()
      This method returns the parameters as TypedProperty passed as part of the URL.
      ExtendedData getTranExtendedData()
      This method returns the pending transaction's extended data of current credit.
      void setCommandInterfaceName(java.lang.String ifname)
      This method sets the databean command interface name of this databean, and through the databean command, the data of this databean are populated.
      void setCredit(Credit paramCredit)
      This method sets the Credit object, and the corresponding information are stored the table PPCCREDIT.
      void setCreditId(java.lang.String creditId)
      This method sets the identifier of current Credit object.
      void setRequestProperties(TypedProperty aRequestProperties)
      This method sets the passed parameters as part of the URL if any.
      void setTranExtendedData(ExtendedData map)
      This method sets the pending transaction's extended data of current credit.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

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

      • PPCGetCreditDataBean

        public PPCGetCreditDataBean()
    • Method Detail

      • getCommandInterfaceName

        public java.lang.String getCommandInterfaceName()
        This method returns the databean command interface name of this databean, and through the databean command, the data of this databean are populated. The default command interface is PPCGetCreditCmd.
        Specified by:
        getCommandInterfaceName in interface CommandDataBean
        Returns:
        The databean command interface name of this databean
      • setCommandInterfaceName

        public void setCommandInterfaceName(java.lang.String ifname)
        This method sets the databean command interface name of this databean, and through the databean command, the data of this databean are populated.
        Specified by:
        setCommandInterfaceName in interface CommandDataBean
        Parameters:
        ifname - The databean command interface name of this databean
      • getCredit

        public Credit getCredit()
        This method returns the Credit object, and the corresponding information are stored the table PPCCREDIT.
        Returns:
        credit The Credit object
      • setCredit

        public void setCredit(Credit paramCredit)
        This method sets the Credit object, and the corresponding information are stored the table PPCCREDIT.
        Parameters:
        paramCredit - The Credit object
      • setCreditId

        public void setCreditId(java.lang.String creditId)
        This method sets the identifier of current Credit object.
        Parameters:
        creditId - The identifier of current Credit object
      • getCreditId

        public java.lang.String getCreditId()
        This method returns the identifier of current Credit object.
        Returns:
        creditID The identifier of current Credit object
      • setRequestProperties

        public void setRequestProperties(TypedProperty aRequestProperties)
        This method sets the passed parameters as part of the URL if any.
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        aRequestProperties - The parameters are set into the request properties
      • getRequestProperties

        public TypedProperty getRequestProperties()
        This method returns the parameters as TypedProperty passed as part of the URL.
        Specified by:
        getRequestProperties in interface InputDataBean
        Returns:
        TypedProperty The parameters as TypedProperty passed as part of the URL
      • getTranExtendedData

        public ExtendedData getTranExtendedData()
        This method returns the pending transaction's extended data of current credit.
        Returns:
        tranExtendedData The pending transaction's extended data of current credit
      • setTranExtendedData

        public void setTranExtendedData(ExtendedData map)
        This method sets the pending transaction's extended data of current credit.
        Parameters:
        map - The pending transaction's extended data of current credit