com.ibm.commerce.payment.beans

Class RefundMethodDataBean

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


    public class RefundMethodDataBean
    extends RefundMethodDataBeanBase
    implements com.ibm.commerce.payment.beans.RefundMethodInputDataBean, com.ibm.commerce.payment.beans.RefundMethodSmartDataBean
    This data bean represents the refund method used in return.
    See Also:
    Serialized Form
    • Field Summary

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

      Constructors 
      Constructor and Description
      RefundMethodDataBean()
      Databean constructor.
      RefundMethodDataBean(java.lang.String aOrderId, java.lang.String aRmaId)
      This method is the databean constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      CommandContext getCommandContext()
      This method returns the command context set within this bean.
      java.lang.String getDataBeanKeyOrderId()
      This method returns the order ID.
      java.lang.String getDataBeanKeyRmaId()
      This method returns the RMA ID.
      TypedProperty getRequestProperties()
      This method returns the request property set within this bean.
      void populate()
      This method retrieves data from the database.
      void setCommandContext(CommandContext aCommandContext)
      This method sets the command context within this bean.
      void setDataBeanKeyOrderId(java.lang.String aOrderId)
      This method sets the order ID.
      void setDataBeanKeyRmaId(java.lang.String aRmaId)
      This method sets the RMA ID.
      void setRequestProperties(TypedProperty aRequestProperty)
      This method sets the request property within this bean.
      • Methods inherited from class com.ibm.commerce.payment.objects.RefundMethodAccessBean

        getAccountId, getAccountIdInEntityType, getCreditLineId, getCreditLineIdInEntityType, getCurrency, getEntity, getOrderId, getOrderIdInEntityType, getPaymentSummaryId, getPaymentSummaryIdInEntityType, getPolicyId, getPolicyIdInEntityType, getRefundAmount, getRefundAmountInEntityType, getReturnXML, getRmaId, getRmaIdInEntityType, getTimeCreated, getTimeCreatedInEntityType, getTradingId, getTradingIdInEntityType, instantiateEntity, setAccountId, setAccountId, setCreditLineId, setCreditLineId, setCurrency, setInitKey_orderId, setInitKey_orderId, setInitKey_rmaId, setInitKey_rmaId, setOrderId, setOrderId, setPaymentSummaryId, setPaymentSummaryId, setPolicyId, setPolicyId, setRefundAmount, setRefundAmount, setReturnXML, setRmaId, setRmaId, setTimeCreated, setTimeCreated, setTradingId, setTradingId
      • Methods inherited from class com.ibm.commerce.persistence.AbstractJpaEntityAccessBean

        createAccessBean, createAccessBean, createAccessBeanCollection, createAccessBeanCollection, createEntityCollection, detach, remove, setUseDataCache, toString
      • Methods inherited from class java.lang.Object

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

      • COPYRIGHT

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

      • RefundMethodDataBean

        public RefundMethodDataBean()
        Databean constructor.
      • RefundMethodDataBean

        public RefundMethodDataBean(java.lang.String aOrderId,
                                    java.lang.String aRmaId)
        This method is the databean constructor.
        Parameters:
        aOrderId - The current order ID
        aRmaId - The current RMA(Return Merchandise Authorization) ID
    • Method Detail

      • getCommandContext

        public CommandContext getCommandContext()
        This method returns the command context set within this bean.
        Specified by:
        getCommandContext in interface SmartDataBean
        Returns:
        The command context set with this bean
      • getDataBeanKeyOrderId

        public java.lang.String getDataBeanKeyOrderId()
        This method returns the order ID.
        Specified by:
        getDataBeanKeyOrderId in interface com.ibm.commerce.payment.beans.RefundMethodSmartDataBean
        Returns:
        The order ID
      • getDataBeanKeyRmaId

        public java.lang.String getDataBeanKeyRmaId()
        This method returns the RMA ID.
        Specified by:
        getDataBeanKeyRmaId in interface com.ibm.commerce.payment.beans.RefundMethodSmartDataBean
        Returns:
        The RMA ID
      • getRequestProperties

        public TypedProperty getRequestProperties()
        This method returns the request property set within this bean.
        Specified by:
        getRequestProperties in interface InputDataBean
        Returns:
        The request property set within this bean
      • populate

        public void populate()
        This method retrieves data from the database.
        Specified by:
        populate in interface SmartDataBean
        Throws:
        java.lang.Exception - In case of exception thrown
      • setCommandContext

        public void setCommandContext(CommandContext aCommandContext)
        This method sets the command context within this bean.
        Specified by:
        setCommandContext in interface SmartDataBean
        Parameters:
        aCommandContext - the command context within this bean
      • setDataBeanKeyOrderId

        public void setDataBeanKeyOrderId(java.lang.String aOrderId)
        This method sets the order ID.
        Specified by:
        setDataBeanKeyOrderId in interface com.ibm.commerce.payment.beans.RefundMethodInputDataBean
        Parameters:
        aOrderId - The order ID to set
      • setDataBeanKeyRmaId

        public void setDataBeanKeyRmaId(java.lang.String aRmaId)
        This method sets the RMA ID.
        Specified by:
        setDataBeanKeyRmaId in interface com.ibm.commerce.payment.beans.RefundMethodInputDataBean
        Parameters:
        aRmaId - The RMA ID to set
      • setRequestProperties

        public void setRequestProperties(TypedProperty aRequestProperty)
        This method sets the request property within this bean.
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        aRequestProperty - The request property