| getBankAccountDriversLicense() | Returns the driver’s license number associated with the bank account if the calling context meets the following criteria: - If the instance is a CustomerPaymentInstrument, and we are in the context of a storefront request, and the current customer is registered and authenticated, and the payment instrument is associated to the profile of the current customer, and the current protocol is HTTPS
- If the instance is a OrderPaymentInstrumentInfo, and we are in the context of a storefront request, and the current customer is identical to the customer related to the basket, and the current protocol is HTTPS
- If the instance is a OrderPaymentInstrumentInfo, and we are in the context of a business manager request, and the current user has the permission MANAGE_ORDERS
- If the instance is a OrderPaymentInstrumentInfo, and the account information has not been masked as a result of the data retention security policy for the site
|
| getBankAccountDriversLicenseLastDigits() | Returns the last 4 characters of the decrypted driver’s license number of the bank account associated with this PaymentInstrument. |
| getBankAccountDriversLicenseLastDigits(Number) | Returns the last specified number of characters of the decrypted driver’s license number of the bank account associated with this PaymentInstrument. |
| getBankAccountDriversLicenseStateCode() | Returns the driver’s license state code associated with a bank account payment instrument. |
| getBankAccountHolder() | Returns the full name of the holder of a bank account payment instrument. |
| getBankAccountNumber() | Returns the bank account number if the calling context meets the following criteria: - If the instance is a CustomerPaymentInstrument, and we are in the context of a storefront request, and the current customer is registered and authenticated, and the payment instrument is associated to the profile of the current customer, and the current protocol is HTTPS
- If the instance is a OrderPaymentInstrumentInfo, and we are in the context of a storefront request, and the current customer is identical to the customer related to the basket, and the current protocol is HTTPS
- If the instance is a OrderPaymentInstrumentInfo, and we are in the context of a business manager request, and the current user has the permission MANAGE_ORDERS
- If the instance is a OrderPaymentInstrumentInfo, and the account information has not been masked as a result of the data retention security policy for the site
|
| getBankAccountNumberLastDigits() | Returns the last 4 characters of the decrypted bank account number. |
| getBankAccountNumberLastDigits(Number) | Returns the last specified number of characters of the decrypted bank account card number. |
| getBankRoutingNumber() | Returns the bank routing number of a bank account payment instrument. |
| getCreditCardExpirationMonth() | Returns the month of the year in which the credit card expires (1-12). |
| getCreditCardExpirationYear() | Returns the year in which the credit card expires, such as ‘2004’. |
| getCreditCardHolder() | Returns the name of the credit card owner. |
| getCreditCardIssueNumber() | Returns the credit card issue number. |
| getCreditCardNumber() | Returns the decrypted credit card number if the calling context meets the following criteria: - If the instance is a CustomerPaymentInstrument, and we are in the context of a storefront request, and the current customer is registered and authenticated, and the payment instrument is associated to the profile of the current customer, and the current protocol is HTTPS
- If the instance is a OrderPaymentInstrument in the context of a storefront request, and the current authenticated customer is referenced by the basket or order, and the current protocol is HTTPS.
|
| getCreditCardNumberLastDigits() | Returns the last 4 characters of the decrypted credit card number. |
| getCreditCardNumberLastDigits(Number) | Returns the last specified number of characters of the decrypted credit card number. |
| getCreditCardToken() | Secure credit card data can be replaced by a token by utilizing a tokenization provider, which securely stores the credit card data using the token as a key. |
| getCreditCardType() | Returns the type of the credit card. |
| getCreditCardValidFromMonth() | Returns the month of the year in which the credit card became valid (1-12). |
| getCreditCardValidFromYear() | Returns the year in which the credit card became valid, such as ‘2001’. |
| getEncryptedBankAccountDriversLicense(String, String) | Encrypts the driver’s license number of the bank account of this object with the given algorithm and the given public key. |
| getEncryptedBankAccountNumber(String, String) | Encrypts the bank account number of this object with the given algorithm and the given public key. |
| getEncryptedCreditCardNumber(String, CertificateRef) | Encrypts the credit card number of this object with the given algorithm and the public key taken from a certificate in the keystore. |
getEncryptedCreditCardNumber(String, String) | Encrypts the credit card number of this object with the given algorithm and the given public key. |
| getGiftCertificateCode() | Returns the Gift Certificate code for this Payment Instrument. |
getGiftCertificateID() | Returns the Gift Certificate ID for this Payment Instrument. |
| getMaskedBankAccountDriversLicense() | Returns the decrypted driver’s license number of the bank account with all but the last 4 characters replaced with a ’*’ character. |
| getMaskedBankAccountDriversLicense(Number) | Returns the decrypted driver’s license number of the bank account with all but the specified number characters replaced with a ’*’ character. |
| getMaskedBankAccountNumber() | Returns the decrypted bank account number with all but the last 4 characters replaced with a ’*’ character. |
| getMaskedBankAccountNumber(Number) | Returns the decrypted bank account number with all but the specified number characters replaced with a ’*’ character. |
| getMaskedCreditCardNumber() | Returns the decrypted credit card number with all but the last 4 characters replaced with a ’*’ character. |
| getMaskedCreditCardNumber(Number) | Returns the decrypted credit card number with all but the specified number characters replaced with a ’*’ character. |
| getMaskedGiftCertificateCode() | Returns the masked gift certificate code with all but the last 4 characters replaced with a ’*’ character. |
| getMaskedGiftCertificateCode(Number) | Returns the masked gift certificate code with all but the specified number of characters replaced with a ’*’ character. |
| getPaymentMethod() | Returns the identifier of the payment method represented by this payment instrument. |
| isCreditCardExpired() | Returns true if this payment instrument represents an expired credit card. |
| isPermanentlyMasked() | Returns true if the account information for this Payment Instrument has been permanently masked as a result of the data retention security policy for the site or a creditcard tokenization, and false otherwise. |
| setBankAccountDriversLicense(String) | Set the driver’s license number associated with a bank account payment instrument. |
| setBankAccountDriversLicenseStateCode(String) | Set the driver’s license state code associated with a bank account payment instrument. |
| setBankAccountHolder(String) | Set the full name of the holder of a bank account payment instrument. |
| setBankAccountNumber(String) | Set the bank account number of a bank account payment instrument. |
| setBankRoutingNumber(String) | Set the bank routing number of a bank account payment instrument. |
| setCreditCardExpirationMonth(Number) | Sets the month of the year in which the credit card expires. |
| setCreditCardExpirationYear(Number) | Sets the year in which the credit card expires, such as ‘2004’. |
| setCreditCardHolder(String) | Sets the name of the credit card owner. |
| setCreditCardIssueNumber(String) | Set the credit card issue number. |
| setCreditCardNumber(String) | Sets the credit card number for this payment. |
| setCreditCardToken(String) | Secure credit card data can be replaced by a token by utilizing a tokenization provider, which securely stores the credit card data using the token as a key. |
| setCreditCardType(String) | Sets the type of the credit card. |
| setCreditCardValidFromMonth(Number) | Sets the month of the year in which the credit card became valid (1-12). |
| setCreditCardValidFromYear(Number) | Sets the year in which the credit card became valid, such as ‘2001’. |
| setGiftCertificateCode(String) | Sets the Gift Certificate code for this Payment Instrument. |
setGiftCertificateID(String) | Sets the Gift Certificate ID for this Payment Instrument. |