WOPayPal Class Reference

Collaboration diagram for WOPayPal:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 WOPayPal ()

Static Public Member Functions

static final StringBuffer baseUrl ()
static final boolean isSandboxMode ()
static void registerPayPalNotificationListenerObservers ()

Static Public Attributes

static final Class[] NotificationClassArray = { com.webobjects.foundation.NSNotification.class }
static final String PAYPAL_SANDBOX_URL_BASE = "https://www.sandbox.paypal.com/"
static final String PAYPAL_SECURE_URL_BASE = "https://www.paypal.com/"
static final String PAYPAL_URL_BASE = "http://www.paypal.com/"
static final String SANDBOX_MODE_PROP = "er.wopaypal.sandboxmode"

Static Package Functions

 [static initializer]

Static Private Attributes

static boolean _isInitialized = false
static NSMutableSet _retainer = new NSMutableSet()


Detailed Description

WOPayPal is the principal class in the framework. It gets initialized first, and contains the setup for initializing the framework's functionality

Constructor & Destructor Documentation

WOPayPal (  ) 

Constructor.


Member Function Documentation

[static initializer] (  )  [static, package]

called implicitly because WOPaypal is the principal class of the framework.

static final StringBuffer baseUrl (  )  [static]

Return the base URL for the PayPal site, either the live or sandbox URL.

static final boolean isSandboxMode (  )  [static]

Does the er.wopaypal.sandboxmode is set to true?

static void registerPayPalNotificationListenerObservers (  )  [static]

registerPayPalNotificationListenerObservers sets up the observer in the PayPalNotificationListener to receive notifications of Instant Payment Notifications from the PayPalAction class' ipnAction method.


Member Data Documentation

boolean _isInitialized = false [static, private]

ivar to determine whether the framework has been set up or not.

NSMutableSet _retainer = new NSMutableSet() [static, private]

final Class [] NotificationClassArray = { com.webobjects.foundation.NSNotification.class } [static]

final String PAYPAL_SANDBOX_URL_BASE = "https://www.sandbox.paypal.com/" [static]

final String PAYPAL_SECURE_URL_BASE = "https://www.paypal.com/" [static]

final String PAYPAL_URL_BASE = "http://www.paypal.com/" [static]

final String SANDBOX_MODE_PROP = "er.wopaypal.sandboxmode" [static]

Property name to determine if we are using the sandbox or the live site


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