ePages 7.38.0 - DE_EPAGES/Ekomi/API/Ekomi.pm

Package DE_EPAGES::Ekomi::API::Ekomi

This package provides the main ekomi functions.

@EXPORT_OK
VerifyInterfacePassword
GetFilesFromEkomi
RatingInfoMail
GetCustomerOrders
GetAllEkomiShops
GetRandomEkomiMessage

Functions

GetAllEkomiShops
GetCustomerOrders
GetFilesFromEkomi
GetRandomEkomiMessage
RatingInfoMail
VerifyInterfacePassword

GetAllEkomiShops

Returns all shops with valid ekomi account.

Syntax
$aShops = GetAllEkomiShops();
Return
$aSShops (ref.array.object)
list of shop objects

GetCustomerOrders

Selects all customerorders with dispatchedon >= $DispatchedOn and inserts in ekomirating.

Syntax
GetCustomerOrders($Shop, $DispatchedOn);
Input
$Shop (object)
shop object
$DispatchedOn (datetime)
dispatched date

GetFilesFromEkomi

Gets meinung_$i.html, widget_1.gif, get_zertifikat.txt.

Syntax
GetFilesFromEkomi($Shop);
Input
$Shop (object)
shop object

GetRandomEkomiMessage

Returns a random eKomi Message

Syntax
$hMessage = GetRandomEkomiMessage();
Input
$Shop (object)
shop object
Return
$hMessage (refhash)
random Ekomi Message as list

RatingInfoMail

Sends mail to user of order with is dispatched on given date.

Syntax
RatingInfoMail($Shop, $DispatchedOn);
Input
$Shop (object)
shop object
$DispatchedOn (datetime)
dispatched date

VerifyInterfacePassword

runs the web service getSnapshot at eKomi in order to verify access

Syntax
VerifyInterfacePassword($Shop);
Input
$Shop (object)
shop object