com.ibm.commerce.payment.ppc.beans

Class PPCListPaymentsForPIDataBean

  • java.lang.Object
    • com.ibm.commerce.payment.ppc.beans.PPCListPaymentsForPIDataBean
    • 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.
      int getListSize()
      This method returns the size of the list, which means the number of Payment objects for the specified payment instruction.
      Payment getPaymentListData(int index)
      This method returns the Payment object from the ArrayList by index.
      java.util.ArrayList getPaymentsList()
      This method returns the list of Payment object as ArrayList object for a specified payment instruction.
      java.lang.String getPIId()
      This method returns the identifier of current payment instruction.
      TypedProperty getRequestProperties()
      This method returns the parameters as TypedProperty passed as part of the URL.
      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 setPaymentsList(java.util.ArrayList paramPaymentsList)
      This method sets the list of Payment object as ArrayList object for a specified payment instruction.
      void setPIId(java.lang.String piId)
      This method sets the identifier of payment instruction with the specified value.
      void setRequestProperties(TypedProperty aRequestProperties)
      This method sets the passed parameters as part of the URL if any.
      • 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

      • PPCListPaymentsForPIDataBean

        public PPCListPaymentsForPIDataBean()
    • 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 PPCListPaymentsForPICmd.
        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
      • getPaymentsList

        public java.util.ArrayList getPaymentsList()
        This method returns the list of Payment object as ArrayList object for a specified payment instruction.
        Returns:
        paymentList The ArrayList of Payment object for a specified payment instruction
      • setPaymentsList

        public void setPaymentsList(java.util.ArrayList paramPaymentsList)
        This method sets the list of Payment object as ArrayList object for a specified payment instruction.
        Parameters:
        paramPaymentsList - The ArrayList of Payment object for a specified payment instruction
      • setPIId

        public void setPIId(java.lang.String piId)
        This method sets the identifier of payment instruction with the specified value.
        Parameters:
        piId - The identifier of payment instruction.
      • getPIId

        public java.lang.String getPIId()
        This method returns the identifier of current payment instruction.
        Returns:
        piID The identifier of current payment instruction
      • 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
      • getPaymentListData

        public Payment getPaymentListData(int index)
                                   throws java.lang.ArrayIndexOutOfBoundsException
        This method returns the Payment object from the ArrayList by index.
        Parameters:
        index - Position the current credit locates in
        Returns:
        Credit The payment from the ArrayList by index
        Throws:
        java.lang.ArrayIndexOutOfBoundsException - In case of any array index out of bounds
      • getListSize

        public int getListSize()
        This method returns the size of the list, which means the number of Payment objects for the specified payment instruction.
        Returns:
        The size of the list