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.

Constant Summary 

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.

Property Summary 

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.

Constructor Summary 

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

Method Summary 

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.

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

Constant Details 

TYPE_BANCONTACT 

TYPE_BANCONTACT: String = "bancontact"

Represents the Bancontact payment method.


TYPE_CARD 

TYPE_CARD: String = "card"

Represents a credit card type of payment method.


TYPE_IDEAL 

TYPE_IDEAL: String = "ideal"

Represents the iDEAL payment method.


TYPE_SEPA_DEBIT 

TYPE_SEPA_DEBIT: String = "sepa_debit"

Represents the SEPA Debit payment method.


Property Details 

ID 

ID: String (read-only)

Returns the identifier of this payment method.


brand 

brand: String (read-only)

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


expiryMonth 

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 

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 

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 

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 

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 

type: String (read-only)

Returns the type of this payment method.

See Also:


Method Details 

getBrand() 

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

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

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

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

getID(): String

Returns the identifier of this payment method.

Returns:

  • payment method identifier

getLast4() 

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

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

getType(): String

Returns the type of this payment method.

Returns:

  • payment method type

See Also: