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 Summary
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.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
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.
Methods inherited from class SalesforcePaymentDetails
getType
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
Property Details
brand
brand: String (read-only)
Returns the card brand, or null if not known.
See Also:
last4
last4: String (read-only)
Returns the last 4 digits of the card number, or null if not known.
See Also:
walletType
walletType: String (read-only)
Returns the type of wallet used to make the card payment, or null if not known.
Method Details
getBrand()
getBrand(): String
Returns the card brand, or null if not known.
Returns:
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: