com.ibm.commerce.payment.beans
Class RefundMethodDataBean
- java.lang.Object
-
- com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
-
- com.ibm.commerce.payment.objects.RefundMethodAccessBean
-
- com.ibm.commerce.payment.beansrc.RefundMethodDataBeanBase
-
- com.ibm.commerce.payment.beans.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-
Fields inherited from interface com.ibm.commerce.beans.DataBean
emptyString
-
-
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.beansrc.RefundMethodDataBeanBase
getDelegate
-
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
-
-
-
-
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 IDaRmaId
- 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 interfaceSmartDataBean
- Returns:
- The command context set with this bean
-
getDataBeanKeyOrderId
public java.lang.String getDataBeanKeyOrderId()
This method returns the order ID.- Specified by:
getDataBeanKeyOrderId
in interfacecom.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 interfacecom.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 interfaceInputDataBean
- Returns:
- The request property set within this bean
-
populate
public void populate()
This method retrieves data from the database.- Specified by:
populate
in interfaceSmartDataBean
- 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 interfaceSmartDataBean
- 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 interfacecom.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 interfacecom.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 interfaceInputDataBean
- Parameters:
aRequestProperty
- The request property
-
-