dw.order
Class PaymentProcessor
A PaymentProcessor represents an entity that processes payments of one or more types. In the B2C Commerce system, a
payment processor is just a container for configuration values, which describe, for example, the parameters (URL,
merchant ID, password, etc) required for connecting to a payment gateway.
The system has several built in PaymentProcessors. These are:
- BASIC_CREDIT
- BASIC_GIFT_CERTIFICATE
- CYBERSOURCE_CREDIT
- CYBERSOURCE_BML
- PAYPAL_CREDIT
- PAYPAL_EXPRESS
- VERISIGN_CREDIT
Properties
ID
:
String
(Read Only)
The 'ID' of this processor.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getPreferenceValue(name
:
String)
:
Object
Returns the value of the specified preference for this payment processor.
Methods inherited from class
ExtensibleObject
Methods inherited from class
PersistentObject
Methods inherited from class
Object
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
Method Detail
getID
getID()
:
String
Returns the 'ID' of this processor.
Returns:
the 'ID' of this processor, e.g. "BASIC_CREDIT".
getPreferenceValue
Returns the value of the specified preference for this payment processor.
If the preference name is invalid (or null) or no preference value is
defined for this payment processor, null is returned.
Parameters:
name
-
preference name. Typically an attribute defined on SitePreferences contained in an attribute group whose name is the same as this.ID.
Returns:
preference value, or null.
© Copyright 2000-2024, salesforce.com inc. All rights reserved. Various trademarks held by their respective owners.