CreditCardProcessors::validateCurrencyForProcessor Method
Indicates whether the currency is valid.
Syntax
server public static boolean validateCurrencyForProcessor(
CreditCardProcessors _creditCardProcessors,
CurrencyCode _currencyCode,
CreditCardTypeName _cardTypeName)
Run On
Server
Parameters
- _creditCardProcessors
Type: CreditCardProcessors Table
The processor to validate.
- _currencyCode
Type: CurrencyCode Extended Data Type
The currency code of the currency to validate.
- _cardTypeName
Type: CreditCardTypeName Extended Data Type
The credit card type to check for existence.
Return Value
Type: boolean
true if the currency is valid for the current credit card processor; otherwise, false.
Remarks
If there is no active processor, this method returns true.