public abstract class PayPalSingleItemLinkBase
extends com.webobjects.appserver.WOComponent
com.webobjects.appserver.WOComponent._EventLoggingEnabler, com.webobjects.appserver.WOComponent.Event
com.webobjects.foundation.NSKeyValueCodingAdditions.DefaultImplementation, com.webobjects.foundation.NSKeyValueCodingAdditions.Utility
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.MapImplementation, com.webobjects.foundation.NSKeyValueCoding.Null<T>, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.ValueAccessor
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
Modifier and Type | Field and Description |
---|---|
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
|
String |
tax_rate
Transaction-based tax override variable.
|
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
|
_Extension, _IsEventLoggingEnabled, _keyAssociations
Constructor and Description |
---|
PayPalSingleItemLinkBase(com.webobjects.appserver.WOContext context)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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
|
__valueForBinding, _associationWithName, _awakeInContext, _childTemplate, _cleanUpStatelessComponent, _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, setVariableValueForName, sleep, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithName
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
public String tax_rate
public PayPalSingleItemLinkBase(com.webobjects.appserver.WOContext context)
context
- WOContextprotected NSArray baseBindingList()
protected abstract NSArray additionalBindingList()
protected String defaultNotificationURL()
Copyright © 2002 – 2020 Project Wonder.