Class SalesforcePaymentDetails

Base class details to a Salesforce Payments payment. See Salesforce Payments documentation for how to gain access and configure it for use on your sites.

Some payment types like SalesforcePaymentMethod.TYPE_CARD contain additional details like the card brand, or the last 4 digits of the card number. Details to those payments will be of a specific subclass of this class like SalesforceCardPaymentDetails. Other payment types have no additional information so their details are represented by an object of this base type.

SalesforceBancontactPaymentDetails, SalesforceCardPaymentDetails, SalesforceEpsPaymentDetails, SalesforceIdealPaymentDetails, SalesforceKlarnaPaymentDetails, SalesforcePayPalPaymentDetails, SalesforceSepaDebitPaymentDetails, SalesforceVenmoPaymentDetails

PropertyDescription
type: String (read-only)Returns the payment type.

This class does not have a constructor, so you cannot create it directly.

MethodDescription
getType()Returns the payment type.

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

type: String (read-only)

Returns the payment type.

See Also:


getType(): String

Returns the payment type.

Returns:

  • payment type

See Also: