ePages 7.38.0 - DE_EPAGES/SageOne/API/Webservice/ShopService.pm

Package DE_EPAGES::SageOne::API::Webservice::ShopService

Service as wrapper to REST requests

Functions

disconnectShop
getAuthUrl
getShopStatus
new
syncShop

disconnectShop

Create request to epagesj §throws WebserviceError

Syntax
disconnectShop();

getAuthUrl

Create request to epagesj and handle the answer §throws JsonParserError, WebserviceError, ResponseError

Syntax
getAuthUrl($Ep6RedirectUrl);
Input
$Ep6RedirectUrl (string)
redirect url to epages6
$EpjPublicUrl (string)
redirect url to epagesj
Return
(object)
AuthUrlDTO

getShopStatus

Create request to epagesj and handle the answer §throws JsonParserError, WebserviceError, ResponseError, ShopServiceError

Syntax
getShopStatus();
Return
(object)
ShopDTO

new

constructor

Syntax
new($Shop);

syncShop

Create request to epagesj §throws WebserviceError

Syntax
syncShop();