PayPalNotificationListener.Observer Class Reference

List of all members.

Public Member Functions

void handleDeniedPaymentNotification (NSNotification n)
void handleFailedPaymentNotification (NSNotification n)
void handleInvalidPaymentNotification (NSNotification n)
void handleNotification (String targetMethodName, NSNotification n)
void handlePendingPaymentNotification (NSNotification n)
void handleValidPaymentNotification (NSNotification n)


Detailed Description

The Observer is the object which is registered (in WOPayPal) to listen for the NSNotifications broadcast by the PayPalAction's ipnAction method. When its methods receives a notification, they call handleNotification, passing the notification name and the Notification itself as the parameter to that method call.

Member Function Documentation

void handleDeniedPaymentNotification ( NSNotification  n  ) 

Method invoked by the NSNotificationCenter when it receives a DENIED notification from PayPalAction

Parameters:
n NSNotification

void handleFailedPaymentNotification ( NSNotification  n  ) 

Method invoked by the NSNotificationCenter when it receives a FAILED notification from PayPalAction

Parameters:
n NSNotification

void handleInvalidPaymentNotification ( NSNotification  n  ) 

Method invoked by the NSNotificationCenter when it receives a INVALID notification from PayPalAction

Parameters:
n NSNotification

void handleNotification ( String  targetMethodName,
NSNotification  n 
)

handleNotification checks to see if the delegate object can perform the method name passed in as the targetMethodName parameter. If it can, it tries to invoke that method, passing the notification's object (a WORequest) as the parameter.

Parameters:
targetMethodName String
n NSNotification

void handlePendingPaymentNotification ( NSNotification  n  ) 

Method invoked by the NSNotificationCenter when it receives a PENDING notification from PayPalAction

Parameters:
n NSNotification

void handleValidPaymentNotification ( NSNotification  n  ) 

Method invoked by the NSNotificationCenter when it receives a VALID notification from PayPalAction

Parameters:
n NSNotification


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:37 2012 for Project Wonder by  doxygen 1.5.8