public class PayStatusPMDataBean extends SmartDataBeanImpl implements com.ibm.commerce.payment.beans.PayStatusPMSmartDataBean
Constructor and Description |
---|
PayStatusPMDataBean()
PayStatusPMDataBean default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getCommonAVSCode()
Returns the commonAVSCode property of the Bean.
|
protected long | getElapsedTimeMillis()
Returns the elapsedTimeMillis property of the Bean.
|
java.lang.String | getMessage()
Returns the message property of the Bean.
|
java.lang.String | getOrderId()
Returns the orderId property of the Bean
|
java.lang.String | getOrderState()
Returns the orderState property of the Bean.
|
java.lang.String | getOrderStatus()
Returns the orderStatus property of the Bean.
|
java.lang.String | getPaymentState()
Returns the paymentState property of the Bean.
|
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 | setCommonAVSCode(java.lang.String astrCommonAVSCode)
Sets the commonAVSCode property of the Bean.
|
protected void | setElapsedTimeMillis(long anElapsedTimeMillis)
Sets the elapsedTimeMillis property of the Bean.
|
protected void | setMessage(java.lang.String astrMessage)
Sets the message property of the Bean.
|
protected void | setOrderId(java.lang.String astrOrderId)
Sets the orderId property of the Bean
|
protected void | setOrderState(java.lang.String astrOrderState)
Sets the orderState property of the Bean.
|
protected void | setOrderStatus(java.lang.String astrOrderStatus)
Sets the orderStatus property of the Bean.
|
protected void | setPaymentNumber(java.lang.String astrPaymentNumber)
Sets the paymentNumber property of the Bean.
|
protected void | setPaymentState(java.lang.String astrPaymentState)
Sets the paymentState property of the Bean.
|
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.
|
protected void | setStoreId(java.lang.String astrStoreId)
Sets the storeId property of the Bean
|
public PayStatusPMDataBean()
public java.lang.String getCommonAVSCode()
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 to the WebSphere Commerce Payments defined common AVS code. The payment service specific AVS Results Code is returned by the Address Verification Services (AVS).
Possible values for the common AVS Code are:
protected long getElapsedTimeMillis()
The elapsedTimeMillis property represents the elapsed time in milliseconds. It is for the WebSphere Commerce Payments QueryOrders command to run and get the results back from the Payments to populate this DataBean. It includes any Network delay.
public java.lang.String getMessage()
The message property stores any message received during population of the Bean. It may be the empty String if no message has been received.
public java.lang.String getOrderId()
public java.lang.String getOrderState()
The orderState property is a String representing the WebSphere Commerce Payments state of the order. Possible values are defined in the com.ibm.etill.frame.clientapi.PaymentCommandConstants interface.
The constants defined for order state are:
public java.lang.String getOrderStatus()
The orderStatus property is a String representing the status of the order. Some possible values are:
public java.lang.String getPaymentState()
The paymentState property is a String representing the payment state of the order known by WebSphere Commerce Payments.
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 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 setCommonAVSCode(java.lang.String astrCommonAVSCode)
protected void setElapsedTimeMillis(long anElapsedTimeMillis)
protected void setMessage(java.lang.String astrMessage)
protected void setOrderId(java.lang.String astrOrderId)
protected void setOrderState(java.lang.String astrOrderState)
protected void setOrderStatus(java.lang.String astrOrderStatus)
protected void setPaymentNumber(java.lang.String astrPaymentNumber)
protected void setPaymentState(java.lang.String astrPaymentState)
protected void setPrimaryRC(int anPrimaryRC)
protected void setSecondaryRC(int anSecondaryRC)
protected void setStoreId(java.lang.String astrStoreId)