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.
| Property | Description |
|---|---|
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.
| Method | Description |
|---|---|
| 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. |
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
nullif not known.See Also:
- last4: String
(read-only) Returns the last 4 digits of the card number, or
nullif not known.See Also:
- walletType: String
(read-only) Returns the type of wallet used to make the card payment, or
nullif not known.
- getBrand(): String
Returns the card brand, or
nullif not known.Returns:
- card brand
See Also:
- getLast4(): String
Returns the last 4 digits of the card number, or
nullif 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
nullif not known.Returns:
- wallet type