ePages 6.11.0 - DE_EPAGES/Shop/API/WebService/BaseShopServiceLimited.pm

Package DE_EPAGES::Shop::API::WebService::BaseShopServiceLimited

Base class for shop web services (with shop as object).

Base
DE_EPAGES::Shop::API::WebService::BaseShopService

Functions

checkFeature
featureCount

checkFeature

check if feature activated and enougth WS calls allowed increments feature counter and date produce an error if not enogth WS calls allowd

Syntax
$self->checkFeature;

featureCount

returns the number of available allowed WebService calls today

Syntax
my $FeatureCount = $self->featureCount($Feature);
Input
$Feature (object)
feature object
Return
$FeatureCount (integer)
number of available WS calls