Class SalesforceCardPaymentDetails

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.

PropertyDescription
brand: String (read-only)Returns the card brand, or null if not known.
last4: String (read-only)Returns the last 4 digits of the card number, or null if not known.
walletType: String (read-only)Returns the type of wallet used to make the card payment, or null if not known.

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

MethodDescription
getBrand()Returns the card brand, or null if not known.
getLast4()Returns the last 4 digits of the card number, or null if not known.
getWalletType()Returns the type of wallet used to make the card payment, or null if not known.

getType

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

brand: String (read-only)

Returns the card brand, or null if not known.

See Also:


last4: String (read-only)

Returns the last 4 digits of the card number, or null if not known.

See Also:


walletType: String (read-only)

Returns the type of wallet used to make the card payment, or null if not known.


getBrand(): String

Returns the card brand, or null if not known.

Returns:

  • card brand

See Also:


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(): String

Returns the type of wallet used to make the card payment, or null if not known.

Returns:

  • wallet type