public class PayPalAddToCartHyperlink extends PayPalSingleItemHyperlink
WOComponent._EventLoggingEnabler, WOComponent.Event
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, 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
_CLASS
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator
NullValue
_CLASS
Constructor and Description |
---|
PayPalAddToCartHyperlink(WOContext context)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
addToCartHref()
addToCartHref assembles the URL for the item, based on the values of the bindings it reads from the WOComponent.
|
String |
onClickString()
onClickString basically takes the addToCartHref and embeds it in a JavaScript window.open() method, as per PayPal's instructions.
|
additionalBindingList, appendToResponse, invokeAction, isStateless, payPalPurchaseHref, payPalUrlParams, pullBindings, reset, takeValuesFromRequest
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 PayPalAddToCartHyperlink(WOContext context)
context
- WOContextpublic String addToCartHref()
public String onClickString()
Copyright © 2002 – 2024 Project Wonder.