ePages 7.23.0 - DE_EPAGES/Shop/API/ShopUtil.pm

Package DE_EPAGES::Shop::API::ShopUtil

Utility functions which operate on the Shop object

Functions

addMandatoryAddressFields
maxFeatureValuePaymentMethodsReached
new

addMandatoryAddressFields

Makes certain address fields mandatory.

Syntax
addMandatoryAddressFields( $aBillingAddressFields, $aShippingAddressFields );
Input
$aBillingAddressFields (string)
Comma-separated list of billing
address fields which must be mandatory.
$aShippingAddressFields (string)
Comma-separated list of shipping
address fields which must be mandatory.

maxFeatureValuePaymentMethodsReached

Check if the maxFeatureValue for payment methods is reached.

Syntax
maxFeatureValuePaymentMethodsReached( );
Return
(boolean)
true if it is possible to create another payment method

new

constructor

Syntax
new( );
Return
$self (DE_EPAGES::Shop::API::ShopUtil)
self