com.ibm.commerce.edp.beans

Class EDPPaymentStatusDataBean

    • Field Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getCommandInterfaceName()
      This method gets the command interface name that populates this data bean.
      boolean getNeedGlobalized()
      This method gets the flag indicating if the result need to be globalized.
      java.lang.Long getOrderId()
      This method gets the order ID.
      java.lang.String getPaymentStatus()
      This method gets the latest human-readable payment status of current order.
      TypedProperty getRequestProperties()
      This method gets the parameters passed as part of the URL if any.
      void setCommandInterfaceName(java.lang.String ifname)
      This method sets the command interface name.
      void setNeedGlobalized(boolean isNeeded)
      This method sets the flag indicating if the result needs to be globalized.
      void setOrderId(java.lang.Long orderId)
      This method sets the order ID.
      void setPaymentStatus(java.lang.String status)
      This method sets the latest human-readable payment status of current order.
      void setRequestProperties(TypedProperty aRequestProperties)
      This method sets the parameters passed 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
        The IBM Copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • EDPPaymentStatusDataBean

        public EDPPaymentStatusDataBean()
    • Method Detail

      • setCommandInterfaceName

        public void setCommandInterfaceName(java.lang.String ifname)
        This method sets the command interface name. The data can be got through the specified databean command.
        Parameters:
        ifname - A String that specifies the command interface name to be set.
      • getCommandInterfaceName

        public java.lang.String getCommandInterfaceName()
        This method gets the command interface name that populates this data bean. The default command interfaceName is EDPPaymentStatusBeanCmd.
        Returns:
        A String that specifies the name of the command interface.
      • setOrderId

        public void setOrderId(java.lang.Long orderId)
        This method sets the order ID. This data bean represents the latest payment status of the order with the order ID.
        Parameters:
        orderId - A Long that specifies the order ID to be set.
      • getOrderId

        public java.lang.Long getOrderId()
        This method gets the order ID. This data bean represents the latest payment status of the order with the order ID.
        Returns:
        A Long that specifies the order id.
      • setNeedGlobalized

        public void setNeedGlobalized(boolean isNeeded)
        This method sets the flag indicating if the result needs to be globalized. If true, the payment status will be globalized as the language in CommandContext
        Parameters:
        isNeeded - A boolean that indicates if the result needs to be globalized.
      • getNeedGlobalized

        public boolean getNeedGlobalized()
        This method gets the flag indicating if the result need to be globalized. If true, the payment status will be globalized as the language in CommandContext
        Returns:
        A boolean that indicates if the result needs globalize.
      • setPaymentStatus

        public void setPaymentStatus(java.lang.String status)
        This method sets the latest human-readable payment status of current order.
        Parameters:
        status - A String that specifies the latest human-readable payment status.
      • getPaymentStatus

        public java.lang.String getPaymentStatus()

        This method gets the latest human-readable payment status of current order.

        Possible status value:

        Success:
        This status means all the last payment operations (approve, deposit, and so forth) of the payment instructions associated with this order are successful.

        Failed:
        This status means at least one of the last payment operations (approve, deposit, and so forth) of the payment instructions associated with this order has failed.

        Pending:
        This status means at least one of the last payment operations (approve, deposit, and so forth) of the payment instructions associated with this order is pending.

        Returns:
        A String that specifies the globalized, human-readable payment status.
      • setRequestProperties

        public void setRequestProperties(TypedProperty aRequestProperties)
        This method sets the parameters passed as part of the URL, if any.
        Parameters:
        aRequestProperties - A TypedProperty that specifies the parameters passed as part of the URL, if any.
      • getRequestProperties

        public TypedProperty getRequestProperties()
        This method gets the parameters passed as part of the URL if any.
        Returns:
        A TypedProperty that specifies the parameters passed as part of the URL if any.