ePages 6.17.40 - DE_EPAGES/Ipayment/API/SOAP/CredentialsValidation.pm

Package DE_EPAGES::Ipayment::API::SOAP::CredentialsValidation

Class to perform a validation of the provided credentials

Functions

_LogPayment
getMessage
new
validateCredentials

_LogPayment

Logs a structure to the communication.log. Does nothing if logging for the specified payment type is disabled

Syntax
_LogPayment('ServiRed', $Name, $Debug, $Section);
Input
$PaymentTypeAlias (string)
alias of payment type
$Name (string)
name of data
$Debug (hash)
data to be logged
$Section (string)
name of the section to be logged (optional - defaults to name of calling sub)
$aFilter (ref.array.string)
(optional) filter (perl regular expression for
s/$Filter[^\n]+\n/\n/gis) it can also be a CodeReference see Log3rdParty
Return
LogPayment

getMessage

Get error message create during the validateCredentials

Syntax
getMessage();
Return
$self->{'ErrorMessage'} (String)
return created during the validateCredentials execution

new

Constructor, create a new CredentialsValidation

Syntax
new( $Input1 );
Return
$self (DE_EPAGES::Ipayment::API::SOAP::CredentialsValidation)
Return himself

validateCredentials

Validate the credentials

Syntax
validateCredentials( $hFormData );
Input
$hFormData (Hash)
Hash with the new credentials
Return
$validCredentials (integer)
Return if the credentials are valid or not