ePages 7.25.0 - DE_EPAGES/PayPalPlus/API/Requirement.pm

Package DE_EPAGES::PayPalPlus::API::Requirement

Provides methods in order to determine if the requirements for the usage of PayPalPlus are fullfilled.

Functions

areMandatoryFieldsSet
isMerchantAddressSet
new

areMandatoryFieldsSet

Determines if all necessary address fields are set as mandatory.

Syntax
$AreMandatoryFieldsSet = $Requirement->areMandatoryFieldsSet();
Return
(boolean)
True if all necessary fields are set as mandatory,
otherwise False is returned.

isMerchantAddressSet

Determines if all necessary fields of the shop address contain a valid value.

Syntax
$IsMerchantAddressSet = isMerchantAddressSet();
Return
(boolean)
True if the address information is set,
otherwise False is returned.

new

constructor

Syntax
new( );
Input
Shop
Shop object to check the requirements on
Return
$self (DE_EPAGES::PayPalPlus::API::Requirement)
self