|
Project Wonder 5.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webobjects.appserver.WOElement
com.webobjects.appserver.WOComponent
er.wopaypal.PayPalSingleItemLinkBase
public abstract class 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/interfaces inherited from class com.webobjects.appserver.WOComponent |
---|
com.webobjects.appserver.WOComponent._EventLoggingEnabler, com.webobjects.appserver.WOComponent.Event |
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
---|
com.webobjects.foundation.NSKeyValueCodingAdditions.DefaultImplementation, com.webobjects.foundation.NSKeyValueCodingAdditions.Utility |
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding |
---|
com.webobjects.foundation.NSKeyValueCoding._BooleanFieldBinding, com.webobjects.foundation.NSKeyValueCoding._BooleanMethodBinding, com.webobjects.foundation.NSKeyValueCoding._FieldBinding, com.webobjects.foundation.NSKeyValueCoding._ForwardingBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding._MethodBinding, com.webobjects.foundation.NSKeyValueCoding._NumberFieldBinding, com.webobjects.foundation.NSKeyValueCoding._NumberMethodBinding, com.webobjects.foundation.NSKeyValueCoding._ReflectionKeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCoding.Null, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.ValueAccessor |
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation |
---|
com.webobjects.foundation.NSValidation._MethodBinding, com.webobjects.foundation.NSValidation._ValidationBinding, com.webobjects.foundation.NSValidation.DefaultImplementation, com.webobjects.foundation.NSValidation.Utility, com.webobjects.foundation.NSValidation.ValidationException |
Field Summary | |
---|---|
java.lang.Boolean |
allowCustomerNote
whether or not to allow the customer to add comment in a note |
java.lang.String |
amount
cost of the item |
java.lang.String |
cancelURL
the URL to which the customer will be taken if he cancels the purchase; defaults to PayPal |
java.lang.Boolean |
collectShippingAddress
whether or not to add shipping address to the purchase |
java.lang.String |
currencyCode
currency of transaction; Currently supported are: USD (US Dollars), CAD (Canadian Dollars), GBP (British Pounds Sterling), EUR (Euros), JPY (Japanese Yen). |
java.lang.String |
custom
a custom string that will be "passed through" Paypal's service and back to you; never shown to the customer |
java.lang.String |
itemName
a string to represent the item's plain language name (up to 127 char), e.g. |
java.lang.String |
itemNumber
a string to represent the item # (up to 127 char); like a UPC code, or a stocking code, etc. |
java.lang.String |
logoURL
URL to a 150 x 50 pixel image that can be used to customize the PayPal transaction page. |
java.lang.String |
notifyURL
the URL to which PayPal will send the Instant Payment Notifications, if you've set up that option |
static java.lang.String |
PAYPAL_CGI_NAME
The cgi script name we're calling on PayPal's server. |
java.lang.String |
payPalBusinessName
Required by PayPal, this is a valid PayPal account name; hopefully your own if you want to make any money... |
java.lang.String |
returnURL
the URL to which the customer will be taken upon completion of the purchase; defaults to PayPal |
java.lang.String |
tax_rate
Transaction-based tax override variable. |
java.lang.Boolean |
useDefaultIPNURL
use the default IPN Notification URL from the PayPalAction class? |
java.lang.Boolean |
useIPN
are we using Instant Payment Notification? |
java.lang.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.ErrorHandling |
---|
_CLASS |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
---|
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding |
---|
NullValue |
Fields inherited from interface com.webobjects.foundation.NSValidation |
---|
_CLASS |
Constructor Summary | |
---|---|
PayPalSingleItemLinkBase(com.webobjects.appserver.WOContext context)
Constructor. |
Method Summary | |
---|---|
protected abstract com.webobjects.foundation.NSArray |
additionalBindingList()
for subclasses to add additional bindings |
protected com.webobjects.foundation.NSArray |
baseBindingList()
the base list of bindings to pull from WOComponents |
protected java.lang.String |
defaultNotificationURL()
try to intelligently construct the path back to the ipnAction in the PayPalAction class |
Methods inherited from class com.webobjects.appserver.WOComponent |
---|
_associationWithName, _awakeInContext, _childTemplate, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, appendToResponse, application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, invokeAction, isCachingEnabled, isEventLoggingEnabled, isStateless, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, reset, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, sleep, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForKey, valueForKeyPath |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String PAYPAL_CGI_NAME
public java.lang.String payPalBusinessName
public java.lang.Boolean allowCustomerNote
public java.lang.String amount
public java.lang.String currencyCode
public java.lang.String itemName
public java.lang.Boolean collectShippingAddress
public java.lang.Boolean userDefinableQuantity
public java.lang.String custom
public java.lang.String itemNumber
public java.lang.String logoURL
public java.lang.String cancelURL
public java.lang.String returnURL
public java.lang.String notifyURL
public java.lang.Boolean useIPN
public java.lang.Boolean useDefaultIPNURL
public java.lang.String tax_rate
Constructor Detail |
---|
public PayPalSingleItemLinkBase(com.webobjects.appserver.WOContext context)
context
- WOContextMethod Detail |
---|
protected com.webobjects.foundation.NSArray baseBindingList()
protected abstract com.webobjects.foundation.NSArray additionalBindingList()
protected java.lang.String defaultNotificationURL()
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |