Script: Class dw.extensions.SalesforceCardPaymentDetails
Class SalesforceCardPaymentDetails
- Object
- dw.extensions.payments.SalesforcePaymentDetails
- dw.extensions.payments.SalesforceCardPaymentDetails
- dw.extensions.payments.SalesforcePaymentDetails
Details to a Salesforce Payments payment of type SalesforcePaymentMethod.TYPE_CARD. See Salesforce Payments documentation for how to gain access and configure it for use on your sites.
Properties
brand : String Read Only
The card brand, or null
if not known.
last4 : String Read Only
The last 4 digits of the card number, or null
if not known.
walletType : String Read Only
The type of wallet used to make the card payment, or null
if not known.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
Returns the card brand, or null
if not known.
Returns the last 4 digits of the card number, or null
if not known.
getWalletType() : String
Returns the type of wallet used to make the card payment, or null
if not known.
Methods inherited from class SalesforcePaymentDetails
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
getBrand
getBrand() : String
Returns the card brand, or null
if not known.
Returns:
card brand
See Also:
getLast4
getLast4() : String
Returns the last 4 digits of the card number, or null
if not known.
Returns:
last 4 digits of the card number
See Also:
getWalletType
getWalletType() : String
Returns the type of wallet used to make the card payment, or null
if not known.
Returns:
wallet type