Class SalesforceAdyenSavedPaymentMethod

Salesforce Payments representation of an Adyen saved payment method object. See Salesforce Payments documentation for how to gain access and configure it for use on your sites.

An Adyen saved payment method contains information about a credential used by a shopper to attempt payment, such as a payment card or bank account. The available information differs for each type of payment method. It includes only limited information that can be safely presented to a shopper to remind them what credential they used, and specifically not complete card, account, or other numbers that could be used to make future payments.

ConstantDescription
TYPE_BANCONTACT: String = "bancontact"Represents the Bancontact payment method.
TYPE_CARD: String = "card"Represents a credit card type of payment method.
TYPE_IDEAL: String = "ideal"Represents the iDEAL payment method.
TYPE_SEPA_DEBIT: String = "sepa_debit"Represents the SEPA Debit payment method.
PropertyDescription
ID: String (read-only)Returns the identifier of this payment method.
brand: String (read-only)Returns the brand of this payment method, or null if none is available.
expiryMonth: String (read-only)Returns the expiry month of the card for this payment method, or null if none is available.
expiryYear: String (read-only)Returns the expiry year of the card for this payment method, or null if none is available.
holderName: String (read-only)Returns the cardholder name for this payment method, or null if none is available.
last4: String (read-only)Returns the last 4 digits of the credential for this payment method, or null if none is available.
ownerName: String (read-only)Returns the back account owner name for this payment method, or null if none is available.
type: String (read-only)Returns the type of this payment method.

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

MethodDescription
getBrand()Returns the brand of this payment method, or null if none is available.
getExpiryMonth()Returns the expiry month of the card for this payment method, or null if none is available.
getExpiryYear()Returns the expiry year of the card for this payment method, or null if none is available.
getHolderName()Returns the cardholder name for this payment method, or null if none is available.
getID()Returns the identifier of this payment method.
getLast4()Returns the last 4 digits of the credential for this payment method, or null if none is available.
getOwnerName()Returns the back account owner name for this payment method, or null if none is available.
getType()Returns the type of this payment method.

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_BANCONTACT: String = "bancontact"

Represents the Bancontact payment method.


TYPE_CARD: String = "card"

Represents a credit card type of payment method.


TYPE_IDEAL: String = "ideal"

Represents the iDEAL payment method.


TYPE_SEPA_DEBIT: String = "sepa_debit"

Represents the SEPA Debit payment method.


ID: String (read-only)

Returns the identifier of this payment method.


brand: String (read-only)

Returns the brand of this payment method, or null if none is available. Available on TYPE_CARD type methods.


expiryMonth: String (read-only)

Returns the expiry month of the card for this payment method, or null if none is available. Available on TYPE_CARD and TYPE_BANCONTACT type methods.


expiryYear: String (read-only)

Returns the expiry year of the card for this payment method, or null if none is available. Available on TYPE_CARD and TYPE_BANCONTACT type methods.


holderName: String (read-only)

Returns the cardholder name for this payment method, or null if none is available. Available on TYPE_CARD and TYPE_BANCONTACT type methods.


last4: String (read-only)

Returns the last 4 digits of the credential for this payment method, or null if none is available. Available on TYPE_CARD and TYPE_BANCONTACT type methods.


ownerName: String (read-only)

Returns the back account owner name for this payment method, or null if none is available. Available on TYPE_SEPA_DEBIT and TYPE_IDEAL type method.


type: String (read-only)

Returns the type of this payment method.

See Also:


getBrand(): String

Returns the brand of this payment method, or null if none is available. Available on TYPE_CARD type methods.

Returns:

  • payment method brand

getExpiryMonth(): String

Returns the expiry month of the card for this payment method, or null if none is available. Available on TYPE_CARD and TYPE_BANCONTACT type methods.

Returns:

  • payment method credential expiry month

getExpiryYear(): String

Returns the expiry year of the card for this payment method, or null if none is available. Available on TYPE_CARD and TYPE_BANCONTACT type methods.

Returns:

  • payment method credential expiry year

getHolderName(): String

Returns the cardholder name for this payment method, or null if none is available. Available on TYPE_CARD and TYPE_BANCONTACT type methods.

Returns:

  • payment method credential cardholder name

getID(): String

Returns the identifier of this payment method.

Returns:

  • payment method identifier

getLast4(): String

Returns the last 4 digits of the credential for this payment method, or null if none is available. Available on TYPE_CARD and TYPE_BANCONTACT type methods.

Returns:

  • payment method credential last 4 digits

getOwnerName(): String

Returns the back account owner name for this payment method, or null if none is available. Available on TYPE_SEPA_DEBIT and TYPE_IDEAL type method.

Returns:

  • payment method credential back account owner name

getType(): String

Returns the type of this payment method.

Returns:

  • payment method type

See Also: