Class SalesforceAdyenSavedPaymentMethod
dw.extensions.payments
Class SalesforceAdyenSavedPaymentMethod
Object
dw.extensions.payments.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.

Constants
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.
Properties
brand  :  String  (Read Only)
The brand of this payment method, or null if none is available. Available on TYPE_CARD type methods.
expiryMonth  :  String  (Read Only)
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)
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)
The cardholder name for this payment method, or null if none is available. Available on TYPE_CARD and TYPE_BANCONTACT type methods.
ID  :  String  (Read Only)
The identifier of this payment method.
last4  :  String  (Read Only)
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)
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)
The type of this payment method.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getBrand() : String
Returns the brand of this payment method, or null if none is available.
getExpiryMonth() : String
Returns the expiry month of the card for this payment method, or null if none is available.
getExpiryYear() : String
Returns the expiry year of the card for this payment method, or null if none is available.
getHolderName() : String
Returns the cardholder name for this payment method, or null if none is available.
getID() : String
Returns the identifier of this payment method.
getLast4() : String
Returns the last 4 digits of the credential for this payment method, or null if none is available.
getOwnerName() : String
Returns the back account owner name for this payment method, or null if none is available.
getType() : String
Returns the type of this payment method.
Method Detail
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