Package DE_EPAGES::ShopConfiguration::API::Object::RemoteShop
Provides access from the site database to a shop in a store database.
Base |
DE_EPAGES::ShopConfiguration::API::Object::RemoteObject |
Example |
my $RemoteShop = DE_EPAGES::ShopConfiguration::API::Object::RemoteShop->new(ShopRef => $ShopRef); # same as $RemoteShop = $ShopRef->remoteShop $RemoteShop->applyFeatureValues; |
Functions
- applyFeatureValues
- create
- delete
- export
- getInfoSuperMerchant
- getShopAddress
- getShopFeatures
- getShopMerchantEMails
- importFiles
- lastMerchantLogin
- new
- sendSuperMerchantNewPassword
- setShopMerchantEMails
- shopID
- shopRef
- shopService
- shopTransferService
- store
- updateSuperMerchant
applyFeatureValues
Applies the currently allowed feature values to the shop. The allowed values are determined by the function
Syntax |
$self->applyFeatureValues; |
create
Creates a shop in the specified store database and adds a shop reference in the site database.
Syntax |
$RemoteShop->create({ Store => $Store, ShopAlias => $ShopAlias, ImportFiles => $aImportFiles, }); |
Input |
|
Return |
|
delete
Deletes the remote shop
Syntax |
$self->delete; |
export
Export the remote shop to the given path
Syntax |
$self->export; |
getInfoSuperMerchant
Returns login and email of the primary administrator.
Syntax |
$hValues = $self->getInfoSuperMerchant; |
Return |
|
getShopAddress
get the address from the shop.
Syntax |
$hShopAddress = $self->getShopAddress; |
Return |
|
getShopFeatures
get the current feature values from the shop. The values are determined by the function DE_EPAGES::Shop::API::WebService::ShopService::getFeatureValues.
Syntax |
$ahFeatureValues = $self->getShopFeatures; |
Return |
|
getShopMerchantEMails
get the merchant email addresses from the shop.
Syntax |
$aMerchantEMails = $self->getShopMerchantEMails; |
Return |
|
importFiles
Imports data from XML files into the remote shop in the store database.
Syntax |
$self->importFiles( $aImportFiles ); |
Input |
|
lastMerchantLogin
Return the last login date and time by the Merchant in this Shop.
Syntax |
$LastMerchantLogin = $self->lastMerchantLogin(); |
Input |
|
new
Creates a RemoteShop object from a ShopRef object.
Syntax |
$RemoteShop = DE_EPAGES::ShopConfiguration::API::Object::RemoteShop->new( ShopRef => $ShopRef, ShopID => $ShopID ); |
Input |
|
Return |
|
sendSuperMerchantNewPassword
Set password of the primary administrator, and sends him a email.
Syntax |
$self->sendSuperMerchantNewPassword($Alias); |
Input |
|
setShopMerchantEMails
set the merchant email addresses from the shop.
Syntax |
$self->setShopMerchantEMails(\@MerchantEMails); |
Input |
|
shopID
Returns the object id of the shop within the store database.
Syntax |
$ShopID = $self->shopID; |
Return |
|
shopRef
Returns the ShopRef object from the site database.
Syntax |
$ShopRef = $self->shopRef; |
Return |
|
shopService
Returns a web service client of the ShopService.
Syntax |
$ShopService = $self->shopService; $ShopService = $self->shopService( $Store ); |
Input |
|
Return |
|
shopTransferService
Returns a web service client of the ShopTransferService.
Syntax |
$ShopTransferService = $self->shopTransferService; $ShopTransferService = $self->shopTransferService( $Store ); |
Input |
|
Return |
|
store
Returns the store database object where the shop data is stored.
Syntax |
$Store = $self->store; |
Return |
|
updateSuperMerchant
Sets login, email and password of the primary administrator.
Syntax |
$self->updateSuperMerchant($hValues); |
Input |
|