PayPalSingleItemLinkBase Class Reference

Inherits com::webobjects::appserver::WOComponent.

Inherited by PayPalSingleItemFormLink, and PayPalSingleItemHyperlink.

Collaboration diagram for PayPalSingleItemLinkBase:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 PayPalSingleItemLinkBase (WOContext context)

Public Attributes

Boolean allowCustomerNote
String amount
String cancelURL
Boolean collectShippingAddress
String currencyCode
String custom
String itemName
String itemNumber
String logoURL
String notifyURL
String payPalBusinessName
String returnURL
String tax_rate
Boolean useDefaultIPNURL
Boolean useIPN
Boolean userDefinableQuantity

Static Public Attributes

static String PAYPAL_CGI_NAME = "cgi-bin/webscr"

Protected Member Functions

abstract NSArray additionalBindingList ()
NSArray baseBindingList ()
String defaultNotificationURL ()


Detailed Description

PayPalSingleItemLinkBase is the abstract superclass for most of the PayPal components. It contains the bulk of the values that PayPal is interested in, and the list of bindings that those values correlate to.

Constructor & Destructor Documentation

PayPalSingleItemLinkBase ( WOContext  context  ) 

Constructor.

Parameters:
context WOContext


Member Function Documentation

abstract NSArray additionalBindingList (  )  [protected, pure virtual]

for subclasses to add additional bindings

Returns:
NSArray

Implemented in PayPalSingleItemFormLink, and PayPalSingleItemHyperlink.

NSArray baseBindingList (  )  [protected]

the base list of bindings to pull from WOComponents

Returns:
NSArray

String defaultNotificationURL (  )  [protected]

try to intelligently construct the path back to the ipnAction in the PayPalAction class

Returns:
String


Member Data Documentation

optional, customer editable if omitted whether or not to allow the customer to add comment in a note

cost of the item

the URL to which the customer will be taken if he cancels the purchase; defaults to PayPal

whether or not to add shipping address to the purchase

currency of transaction; Currently supported are: USD (US Dollars), CAD (Canadian Dollars), GBP (British Pounds Sterling), EUR (Euros), JPY (Japanese Yen). Defaults to USD.

optional, never presented to customer a custom string that will be "passed through" Paypal's service and back to you; never shown to the customer

a string to represent the item's plain language name (up to 127 char), e.g. "Cool Widget";

a string to represent the item # (up to 127 char); like a UPC code, or a stocking code, etc.

URL to a 150 x 50 pixel image that can be used to customize the PayPal transaction page. This is VERY discouraged unless your image is on an https server.

the URL to which PayPal will send the Instant Payment Notifications, if you've set up that option

String PAYPAL_CGI_NAME = "cgi-bin/webscr" [static]

The cgi script name we're calling on PayPal's server.

Required by PayPal, this is a valid PayPal account name; hopefully your own if you want to make any money...

the URL to which the customer will be taken upon completion of the purchase; defaults to PayPal

Transaction-based tax override variable.

use the default IPN Notification URL from the PayPalAction class?

Boolean useIPN

are we using Instant Payment Notification?

flag to tell PayPal whether or not to show a user-editable quantity field for the item


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