public class RefundMethodDataBean extends RefundMethodDataBeanBase implements com.ibm.commerce.payment.beans.RefundMethodInputDataBean, com.ibm.commerce.payment.beans.RefundMethodSmartDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright
|
emptyString
Constructor and Description |
---|
RefundMethodDataBean()
Databean constructor.
|
RefundMethodDataBean(java.lang.String aOrderId,
java.lang.String aRmaId)
This method is the databean constructor.
|
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.
|
getDelegate
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
public static final java.lang.String COPYRIGHT
public RefundMethodDataBean()
public RefundMethodDataBean(java.lang.String aOrderId, java.lang.String aRmaId)
aOrderId
- The current order IDaRmaId
- The current RMA(Return Merchandise Authorization) IDpublic CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
public java.lang.String getDataBeanKeyOrderId()
getDataBeanKeyOrderId
in interface com.ibm.commerce.payment.beans.RefundMethodSmartDataBean
public java.lang.String getDataBeanKeyRmaId()
getDataBeanKeyRmaId
in interface com.ibm.commerce.payment.beans.RefundMethodSmartDataBean
public TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
public void populate()
populate
in interface SmartDataBean
java.lang.Exception
- In case of exception thrownpublic void setCommandContext(CommandContext aCommandContext)
setCommandContext
in interface SmartDataBean
aCommandContext
- the command context within this beanpublic void setDataBeanKeyOrderId(java.lang.String aOrderId)
setDataBeanKeyOrderId
in interface com.ibm.commerce.payment.beans.RefundMethodInputDataBean
aOrderId
- The order ID to setpublic void setDataBeanKeyRmaId(java.lang.String aRmaId)
setDataBeanKeyRmaId
in interface com.ibm.commerce.payment.beans.RefundMethodInputDataBean
aRmaId
- The RMA ID to setpublic void setRequestProperties(TypedProperty aRequestProperty)
setRequestProperties
in interface InputDataBean
aRequestProperty
- The request property