public class PayStatusListPMDataBean extends SmartDataBeanImpl implements com.ibm.commerce.payment.beans.PayStatusListPMInputDataBean, com.ibm.commerce.payment.beans.PayStatusListPMSmartDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
The name of this class.
|
static java.lang.String | COPYRIGHT
IBM Copyright
|
Constructor and Description |
---|
PayStatusListPMDataBean()
PayStatusListPMDataBean default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getCommonAVSCode(java.lang.String orderId)
Returns the commonAVSCode from WebSphere Commerce Payments for the specified Order.
|
java.util.Vector | getOrderIds()
Returns the orderIds property of the Bean.
|
java.lang.String | getPaymentState(int orderId) |
java.lang.String | getPaymentState(java.lang.String orderId)
Returns the payment state of the order known to WebSphere Commerce Payments.
|
java.util.Hashtable | getPaymentStates()
Get the payment states for all the orders in the databean.
|
int | getPrimaryRC()
Returns the primary return code as returned from the WebSphere Commerce Payments QueryOrders command.
|
int | getSecondaryRC()
Returns the secondary return code as returned from the WebSphere Commerce Payments QueryOrders command.
|
java.lang.String | getStoreId()
Returns the storeId property of the Bean
|
void | populate()
Populate the Bean Properties.
|
protected void | setCommonAVSCodes(java.lang.String orderId, java.lang.String commonAVSCode)
Saves the common AVS Code for the specified order.
|
void | setOrderId(java.lang.String orderId)
Add the given order to the order vector
|
void | setOrderIds(java.util.Vector vecOrderIds)
Sets the orderIds property of the Bean.
|
protected void | setPaymentStates(java.lang.String orderId, java.lang.String paymentState)
Saves the payment state for the specified order.
|
protected void | setPrimaryRC(int anPrimaryRC)
Sets the primary return code as returned from the WebSphere Commerce Payments QueryOrders command.
|
protected void | setSecondaryRC(int anSecondaryRC)
Sets the secondary return code as returned from the WebSphere Commerce Payments QueryOrders command.
|
void | setStoreId(java.lang.String astrStoreId)
Sets the storeId property of the Bean
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public PayStatusListPMDataBean()
public java.lang.String getCommonAVSCode(java.lang.String orderId)
The commonAVSCode property is the String representation of the common AVS code set by the payment cassette. The payment cassette maps the payment service specific AVS Results Code. It is returned by the Address Verification Services (AVS) to the WebSphere Commerce Payments defined common AVS code.
Possible values for the common AVS Code are:
public java.util.Vector getOrderIds()
public java.lang.String getPaymentState(java.lang.String orderId)
Possible values for the payment state are defined in the com.ibm.etill.frame.clientapi.PaymentCommandConstants interface.
The constants defined for payment state are:
If there is more than one payment for an order then the payment state of one of the payments will be used if it is not PAYMENTSTATE_VOID.
The value for the PAYMENTSTATE_VOID constant will be returned only in the following condition: all the payments for the order have the payment state equals to the constant in PAYMENTSTATE_VOID.
public int getPrimaryRC()
public int getSecondaryRC()
public java.lang.String getStoreId()
public void populate() throws java.lang.Exception
protected void setCommonAVSCodes(java.lang.String orderId, java.lang.String commonAVSCode)
public void setOrderIds(java.util.Vector vecOrderIds)
protected void setPaymentStates(java.lang.String orderId, java.lang.String paymentState)
protected void setPrimaryRC(int anPrimaryRC)
protected void setSecondaryRC(int anSecondaryRC)
public void setStoreId(java.lang.String astrStoreId)
public java.lang.String getPaymentState(int orderId)
public void setOrderId(java.lang.String orderId)
public java.util.Hashtable getPaymentStates()