Class AR_CustomerCreditCard_bus

Properties

LOCAL cMainTable$="AR_CustomerCreditCard"  
LOCAL cIsSysDB=isFALSE  
LOCAL cPerformCreditChecking=isFALSE  
LOCAL cAllowMultipleEMailAddresses  
PROPERTY SYS_EBMIntegrated$   * Read Only *
PROPERTY PaymentTypeEBMEnabled$   * Read Only *
PROPERTY ARCreditCard   * Read Only *

File Handle to AR_CreditCard class for use in UI as well as here.

PROPERTY SE_ARAllowAddEditCreditCards   * Read Only *
Flag set for value of the Allow Access to add/edit credit card module option
PROPERTY SE_ARAllowAddEditACH   * Read Only *
Flag set for value of the Allow Access to add/edit ACH module option

Methods

FUNCTION CheckForCreditCardID(testCardID$, primaryKey$)  
FUNCTION CheckForCreditCardID(testCardID$, primaryKey$, payType$)  

Check if a unique Credit Card ID already exists for a particular customer.

ParameterDescription
testCardID$ [input, string] Credit Card ID to search for.
primaryKey$ [input, string] The Primary Key of the existing record with the required CreditCardID$ or null if no record located.
payType$ {optional} [input, string] PaymentType$ value. Used if the primaryKey$ value returned must match papyment type.
Returns [boolean] Success if match located, Warning if match located with a different payment type, failure if no match located.
FUNCTION ClearCreditCard(date$)  

Clear credit card data - called from the Clear Credit Card utiltiy.

ParameterDescription
date$ [input, string] credit card data will be cleared up-to and including year/month of date passed in.
Returns [numeric] Success if all expired cards removed, Warning if some expired cards are in use by data entry programs, Failure if date is not formatted corectly.
FUNCTION ConfirmDelete()  
FUNCTION DELETE(key$)  
FUNCTION SetBrowseFilter(tmpBrowseFilter$, tmpPrimaryGUID$)  
FUNCTION ValidateGroupConsumerPII()  

Group validation for fields that belong to the ConsumerPII group. Will not allow changes after the encryption of consumer PII process has been completed on a record.

Returns [Boolean]
ValueDescription
retFAILURE (0) - if NOT(NUL(EncryptedVals$))
retSUCCESS (1) - if NUL(EncryptedVals$)
FUNCTION ValidateGroupCustACH()  
FUNCTION ValidateGroupCustCreditCard()  

Properties inherited from: AR_Constant

pmtACH$, pmtCHECK$, pmtCREDIT$, pmtOTHER$, pmtCOD$, typPAYMENT$, typDEPOSIT$

Properties inherited from: CI_CustomerNo_val

cAllowCashCust, cPerformCreditChecking, CreditExceeded, CreditHold, PerformCreditChecking, AllowCashCustomer

Properties inherited from: SY_Maint

cActionWrite, cActionDelete, cActivityLogFilePrefix$, DocDateWarnDisplayed, DocDateWarnStatus, EditState, RecordChanged, FirstFailure$, DocumentTotal, ReadOnlyReason$, UDTValidation$, ViewOnly, CurrentPrecision, DocDateWarnForceOff, DocDateWarnObject, ScriptObject, ImportTest

Properties inherited from: SY_Password

AESCipher$, AES256Cipher$

Methods inherited from: AR_Constant

CheckExpirationDate(), DetermineCardType$()

Methods inherited from: CI_ARDivision_val

ClassValidateARDivision()

Methods inherited from: CI_Country_val

ClassValidateCountry()

Methods inherited from: CI_CustomerNo_val

GetNextCustomerNo(), ClassOverrideCustomerNo(), ClassValidateCustomerNo()

Methods inherited from: CI_PaymentType_val

ClassValidatePaymentType()

Methods inherited from: CI_ZipCode_val

ClassValidateZIPCode()

Methods inherited from: SY_Maint

ChangedRecordCompare(), ChangedRecordInfo(), Clear(), ClearRecord(), ConfirmDelete(), CopyFrom(), ExportToCSV(), GetColumnInfo(), GetColumnProperties$(), GetDefaults(), GetOrigRecord$(), GetPropertyValue(), GetValidationGroups$(), ResetDocDateWarnState(), SetCopyKeyValue(), SetDocDateWarnDisplayed(), SetDocDateWarnOff(), SetKey(), SetKeyValue(), SetPartialRecord(), SetRecord(), SetToReadOnly(), SetValue(), SetValues(), Write(), ActivityLogCreateFile(), ActivityLogPrepare(), ActivityLogSetMessage$(), ActivityLogWrite(), CallScript(), CheckForAdvancedFieldSettings(), CheckForScripts(), CheckNullRequiredField(), PERFORM ChildValidate(), ClassValidateDate(), ClassValidateTelephoneNo(), ClearSetFiles(), ColInfoInitAll(), ColInfoInitDefaults(), CommitRow(), GetPropertyCommon(), InitColInfo(), InitScriptEngine(), InitWorkTable(), IsColInIOList(), IsValid(), LoadColInfo(), OpenMainTable(), ParseExtField(), RemoveColToSkip(), ResetRow(), RetrieveColInfo(), SetDefaults(), SetFilter(), SetMode(), SetParentHandle(), SetValueNoValidate(), StoreColToSkip(), ValidateAll(), ValidateAllRecord(), ValidateColInfo(), ValidateRule()

Methods inherited from: SY_Password

ConfirmAESKey(), ConfirmPassword(), EncryptAESData(), EncryptAESKey(), EncryptAESPassword(), EncryptPassword(), GetAESDataTest$(), PasswordAcceptable(), ValidateAESData(), ValidateAESPassword(), ValidatePassword(), VerifyAESDataEncryption(), DecryptAESData(), DecryptAESKey(), DecryptAESPassword(), DecryptAltAESData(), DecryptPassword(), EncryptAltAESData(), GetKEK$(), InitAESKey(), InitializeAES(), InitializeAltAES(), ValidateAltAESData(), VerifyAltAESDataEncryption()