ePages 6.11.0 - DE_EPAGES/ShopConfiguration/API/Object/RemoteShopTypeRef.pm

Package DE_EPAGES::ShopConfiguration::API::Object::RemoteShopTypeRef

Provides access from the site database to a shoptyperef in a store database.

Base
DE_EPAGES::ShopConfiguration::API::Object::RemoteObject
Example
my $RemoteShopTypeRef = DE_EPAGES::ShopConfiguration::API::Object::RemoteShopTypeRef->new(ShopType => $ShopType);
# same as $RemoteShopTypeRef = $ShopType->RemoteShopTypeRef

Functions

create
delete
new
shopType

create

Creates a shop type ref in the specified store database if it does not yet exists. Otherwise returns the existing remote object.

Syntax
$RemoteShopTypeRef->create({
    Store => $Store,
});
Input
$hShopTypeRef (ref.hash)
shop type info to create a shop type ref
    Return
    $RemoteShopTypeRef (object)
    remote shop type ref

    delete

    Deletes the shop type ref.

    Syntax
    $self->delete;

    new

    Creates a RemoteShopTypeRef object from a ShopType object.

    Syntax
    $RemoteShopTypeRef = DE_EPAGES::ShopConfiguration::API::Object::RemoteShopTypeRef->new(
        ShopType => $ShopType,
    );
    Input
    $ShopType (object)
    shop type object
    Return
    $RemoteShopTypeRef (object)
    remote shop type ref object

    shopType

    Returns the ShopType object from the site database.

    Syntax
    $ShopType = $self->shopType;
    Return
    $ShopType (object)
    shop type