|
Project Wonder 2.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.webobjects.appserver.WOElement com.webobjects.appserver.WOComponent er.wopaypal.PayPalSingleItemLinkBase
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.
Nested Class Summary |
Nested classes inherited from class com.webobjects.appserver.WOComponent |
WOComponent._EventLoggingEnabler, WOComponent.Event |
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions |
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
Nested classes inherited from class com.webobjects.foundation.NSValidation |
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
Field Summary | |
Boolean |
allowCustomerNote
whether or not to allow the customer to add comment in a note |
String |
amount
cost of the item |
String |
cancelURL
the URL to which the customer will be taken if he cancels the purchase; defaults to PayPal |
Boolean |
collectShippingAddress
whether or not to add shipping address to the purchase |
String |
currencyCode
currency of transaction; Currently supported are: USD (US Dollars), CAD (Canadian Dollars), GBP (British Pounds Sterling), EUR (Euros), JPY (Japanese Yen). |
String |
custom
a custom string that will be "passed through" Paypal's service and back to you; never shown to the customer |
String |
itemName
a string to represent the item's plain language name (up to 127 char), e.g. |
String |
itemNumber
a string to represent the item # (up to 127 char); like a UPC code, or a stocking code, etc. |
String |
logoURL
URL to a 150 x 50 pixel image that can be used to customize the PayPal transaction page. |
String |
notifyURL
the URL to which PayPal will send the Instant Payment Notifications, if you've set up that option |
static String |
PAYPAL_CGI_NAME
The cgi script name we're calling on PayPal's server. |
String |
payPalBusinessName
Required by PayPal, this is a valid PayPal account name; hopefully your own if you want to make any money... |
String |
returnURL
the URL to which the customer will be taken upon completion of the purchase; defaults to PayPal |
Boolean |
useDefaultIPNURL
use the default IPN Notification URL from the PayPalAction class? |
Boolean |
useIPN
are we using Instant Payment Notification? |
Boolean |
userDefinableQuantity
flag to tell PayPal whether or not to show a user-editable quantity field for the item |
Fields inherited from class com.webobjects.appserver.WOComponent |
_Extension, _IsEventLoggingEnabled, _keyAssociations |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding |
_CLASS, NullValue |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling |
_CLASS |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator |
Fields inherited from interface com.webobjects.foundation.NSValidation |
_CLASS |
Constructor Summary | |
PayPalSingleItemLinkBase(WOContext context)
Constructor. |
Method Summary | |
protected abstract NSArray |
additionalBindingList()
for subclasses to add additional bindings |
protected NSArray |
baseBindingList()
the base list of bindings to pull from WOComponents |
protected String |
defaultNotificationURL()
try to intelligently construct the path back to the ipnAction in the PayPalAction class |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static String PAYPAL_CGI_NAME
public String payPalBusinessName
public Boolean allowCustomerNote
public String amount
public String currencyCode
public String itemName
public Boolean collectShippingAddress
public Boolean userDefinableQuantity
public String custom
public String itemNumber
public String logoURL
public String cancelURL
public String returnURL
public String notifyURL
public Boolean useIPN
public Boolean useDefaultIPNURL
Constructor Detail |
public PayPalSingleItemLinkBase(WOContext context)
context
- WOContextMethod Detail |
protected NSArray baseBindingList()
protected abstract NSArray additionalBindingList()
protected String defaultNotificationURL()
|
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 |