public class PayPalSingleItemHyperlink extends PayPalSingleItemLinkBase
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 |
---|---|
protected static String |
PAYPAL_CGI_COMMAND
The cgi command we're calling on PayPal's server.
|
allowCustomerNote, amount, cancelURL, collectShippingAddress, currencyCode, custom, itemName, itemNumber, logoURL, notifyURL, PAYPAL_CGI_NAME, payPalBusinessName, returnURL, tax_rate, useDefaultIPNURL, useIPN, userDefinableQuantity
_Extension, _IsEventLoggingEnabled, _keyAssociations
Constructor and Description |
---|
PayPalSingleItemHyperlink(com.webobjects.appserver.WOContext context)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected NSArray |
additionalBindingList()
additionalBindingList is a NSArray of bindings to pull when we synchronize our values with the WOComponent's binding settings.
|
void |
appendToResponse(com.webobjects.appserver.WOResponse r,
com.webobjects.appserver.WOContext c)
Overrides the default behavior and tells the Component to synchronize its ivar values with those bound to the WOComponent's bindings by calling pullBindings()
|
com.webobjects.appserver.WOActionResults |
invokeAction(com.webobjects.appserver.WORequest r,
com.webobjects.appserver.WOContext c)
Overrides the default behavior and tells the Component to synchronize its ivar values with those bound to the WOComponent's bindings by calling pullBindings()
|
boolean |
isStateless()
Makes the component stateless.
|
String |
payPalPurchaseHref()
Assembles the url to send to PayPal for the single item purchase
|
String |
payPalUrlParams()
Assembles the string of parameters for the payPalPurchaseHref.
|
protected void |
pullBindings()
Manually synchronizes the values from the WOComponent.
|
void |
reset()
Resets the values pulled from the WOComponent to null.
|
void |
takeValuesFromRequest(com.webobjects.appserver.WORequest r,
com.webobjects.appserver.WOContext c)
Overrides the default behavior and tells the Component to synchronize its ivar values with those bound to the WOComponent's bindings by calling pullBindings()
|
baseBindingList, defaultNotificationURL
__valueForBinding, _associationWithName, _awakeInContext, _childTemplate, _cleanUpStatelessComponent, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, isCachingEnabled, isEventLoggingEnabled, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, setVariableValueForName, sleep, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, template, templateWithHTMLString, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithName
protected static String PAYPAL_CGI_COMMAND
public PayPalSingleItemHyperlink(com.webobjects.appserver.WOContext context)
context
- WOContextpublic boolean isStateless()
isStateless
in class com.webobjects.appserver.WOComponent
public String payPalPurchaseHref()
public String payPalUrlParams()
protected NSArray additionalBindingList()
additionalBindingList
in class PayPalSingleItemLinkBase
protected void pullBindings()
public void reset()
reset
in class com.webobjects.appserver.WOComponent
public void appendToResponse(com.webobjects.appserver.WOResponse r, com.webobjects.appserver.WOContext c)
appendToResponse
in class com.webobjects.appserver.WOComponent
r
- WOResponsec
- WOContextpublic void takeValuesFromRequest(com.webobjects.appserver.WORequest r, com.webobjects.appserver.WOContext c)
takeValuesFromRequest
in class com.webobjects.appserver.WOComponent
r
- WORequestc
- WOContextpublic com.webobjects.appserver.WOActionResults invokeAction(com.webobjects.appserver.WORequest r, com.webobjects.appserver.WOContext c)
invokeAction
in class com.webobjects.appserver.WOComponent
r
- WOResponsec
- WOContextCopyright © 2002 – 2020 Project Wonder.