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

Package DE_EPAGES::Ekomi::API::Ekomi

This package provides the main ekomi functions.

@EXPORT_OK
GetFilesFromEkomi
RatingInfoMail
GetCustomerOrders
GetAllEkomiShops

Functions

GetAllEkomiShops
GetCustomerOrders
GetFilesFromEkomi
RatingInfoMail

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

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