|
Project Wonder 2.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for the delegate. Defines the methods which the delegate may implement to be able to process the PayPal IPN status notifications sent from the PayPalAction class' ipnAction. The delegate you assign to the PayPalNotificationListener must implement a subset of the methods defined in the Delegate interface. This allows you to define which notifications you're interested in, and how you want to handle them. Log them to a file, save them in a database, etc.
Field Summary | |
static String |
PROCESS_DENIED_PAYPAL_TRANSACTION
Method name to call on delegate object when Observer recieves a notification with DENIED result. |
static String |
PROCESS_FAILED_PAYPAL_TRANSACTION
Method name to call on delegate object when Observer recieves a notification with FAILED result. |
static String |
PROCESS_INVALID_PAYPAL_TRANSACTION
Method name to call on delegate object when Observer recieves a notification with INVALID result. |
static String |
PROCESS_PENDING_PAYPAL_TRANSACTION
Method name to call on delegate object when Observer recieves a notification with PENDING result. |
static String |
PROCESS_VALID_PAYPAL_TRANSACTION
Method name to call on delegate object when Observer recieves a notification with VALID result. |
Method Summary | |
void |
processDeniedPaypalTransaction(WORequest aRequest)
method stub for processing Paypal IPN's that come with DENIED status "@param aRequest |
void |
processFailedPaypalTransaction(WORequest aRequest)
method stub for processing Paypal IPN's that come with FAILED status "@param aRequest |
void |
processInvalidPaypalTransaction(WORequest aRequest)
method stub for processing Paypal IPN's that come with INVALID status "@param aRequest |
void |
processPendingPaypalTransaction(WORequest aRequest)
method stub for processing Paypal IPN's that come with PENDING status "@param aRequest |
void |
processValidPaypalTransaction(WORequest aRequest)
method stub for processing Paypal IPN's that come with VALID status "@param aRequest |
Field Detail |
public static final String PROCESS_DENIED_PAYPAL_TRANSACTION
public static final String PROCESS_FAILED_PAYPAL_TRANSACTION
public static final String PROCESS_INVALID_PAYPAL_TRANSACTION
public static final String PROCESS_PENDING_PAYPAL_TRANSACTION
public static final String PROCESS_VALID_PAYPAL_TRANSACTION
Method Detail |
public void processDeniedPaypalTransaction(WORequest aRequest)
aRequest
- WORequestpublic void processFailedPaypalTransaction(WORequest aRequest)
aRequest
- WORequestpublic void processInvalidPaypalTransaction(WORequest aRequest)
aRequest
- WORequestpublic void processPendingPaypalTransaction(WORequest aRequest)
aRequest
- WORequestpublic void processValidPaypalTransaction(WORequest aRequest)
aRequest
- WORequest
|
Last updated: Do, Dez 9, 2004 12:46 PM CET | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |