Class AR_Constant

Properties

LOCAL pmtACH$="A"  
LOCAL pmtCHECK$="C"  
LOCAL pmtCREDIT$="R"  
LOCAL pmtOTHER$="O"  
LOCAL pmtCOD$="D"  
LOCAL typPAYMENT$="P"  
LOCAL typDEPOSIT$="D"  

Methods

FUNCTION CheckExpirationDate(value$)  

Function to check if Credit Card expiration date.

ParameterDescription
value$ [input, string] Credit Card expiration date to be checked.
Returns [boolean] Failure if card has expired, Warning if close to expiring or Success.
FUNCTION LOCAL DetermineCardType$(rawCard$)  

Determine Card Type from card number.

ParameterDescription
rawCard$ [input, string] The unencrypted credit card number.
Returns cardType$ [string] String value representing card type (i.e. 4 = Visa)