ePages 7.1.0 - DE_EPAGES/ShopConfiguration/API/WebService/ShopConfigService10.pm

Package DE_EPAGES::ShopConfiguration::API::WebService::ShopConfigService10

Provides web service access to create and delete shops

Example
use DE_EPAGES::WebService::API::Client;
my $ShopConfigService = DE_EPAGES::WebService::API::Client
    ->uri('urn://epages.de/WebService/ShopConfigService/2016/02')
    ->proxy("http://localhost:80/epages/Site.soap");
$ShopConfigService->userinfo( "/Providers/$ProviderAlias/Users/$Login:$Password" );
$ShopConfigService->delete({
    Alias => 'Store.DemoShop'
});

Functions

create
new

create

Creates a new shop on behalf of the current provider. Sets if the Unity shop has its own SSL certificate, if the choosen store type has the Unity feature activated. See DE_EPAGES::ShopConfiguration::API::WebService::ShopConfigService::create

Syntax
$ShopID = $ShopConfigService->create({
    Alias => $Alias,
    ...
    HasSSLCertificateUnity => $HasSSLCertificateUnity
})->result;
Example
my $ShopID = $ShopConfigService->create({
    Alias => 'DemoShop',
    ...
    HasSSLCertificateUnity => 1,
})->result;
Input
$Alias (string)
unique shop name for the provider
$HasSSLCertificateUnity (boolean)
sets if the Unity shop has its own SSL certificate (optional)
Return
$ShopID (integer)
object id of the shop within the database

new

Creates a new web service object as a blessed hash reference and adds the values from the %Options hash.

Syntax
$Service = DE_EPAGES::ShopConfiguration::API::WebService::ShopConfigService10->new( %Options );
Input
%Options (hash)
user-defined values
Return
$Service (object)
web service object