ePages 6.11.0 - DE_EPAGES/Ebay/API/Table/EbayCustomerMap.pm

Package DE_EPAGES::Ebay::API::Table::EbayCustomerMap

interface for table EbayCustomerMap

@EXPORT_OK
InsertEbayCustomerMap
UpdateEbayCustomerMap
DeleteEbayCustomerMap
GetAllPKeyEbayCustomerMaps
GetAllInfoEbayCustomerMaps
GetInfoEbayCustomerMap
ExistsEbayCustomerMap
GetPKeyEbayCustomerMapsByEbayShopEnvironmentID
GetInfoEbayCustomerMapsByEbayShopEnvironmentID
GetPKeyEbayCustomerMapsByCustomerID
GetInfoEbayCustomerMapsByCustomerID

Functions

DeleteEbayCustomerMap
ExistsEbayCustomerMap
GetAllInfoEbayCustomerMaps
GetAllPKeyEbayCustomerMaps
GetInfoEbayCustomerMap
GetInfoEbayCustomerMapsByCustomerID
GetInfoEbayCustomerMapsByEbayShopEnvironmentID
GetPKeyEbayCustomerMapsByCustomerID
GetPKeyEbayCustomerMapsByEbayShopEnvironmentID
InsertEbayCustomerMap
OnDeleteCustomer
UpdateEbayCustomerMap

DeleteEbayCustomerMap

Deletes a(n) EbayCustomerMap.

Syntax
DeleteEbayCustomerMap($EbayShopEnvironmentID, $EbayUserName);
DeleteEbayCustomerMap($hEbayCustomerMap); # if $hEbayCustomerMap includes EbayShopEnvironmentID, EbayUserName
Input
$EbayShopEnvironmentID (int)
object id of EbayShopEnvironment (part of primary key)
$EbayUserName (varchar(255))
eBay Username (part of primary key)

ExistsEbayCustomerMap

Returns true if the EbayCustomerMap exists.

Syntax
$exists = ExistsEbayCustomerMap($EbayShopEnvironmentID, $EbayUserName);
Input
$EbayShopEnvironmentID (int)
object id of EbayShopEnvironment
$EbayUserName (varchar(255))
eBay Username
Return
$exists (boolean)
1/0 the EbayCustomerMap exists (yes/no)

GetAllInfoEbayCustomerMaps

Returns all objects of EbayCustomerMap.

Syntax
$ahEbayCustomerMaps = GetAllInfoEbayCustomerMaps();
Return
$ahEbayCustomerMaps (reference to array of hashes)
with following keys:
  • EbayShopEnvironmentID - object id of EbayShopEnvironment (part of primary key)- int
  • EbayUserName - eBay Username (part of primary key)- varchar(255)
  • CustomerID - customer identifier - int

GetAllPKeyEbayCustomerMaps

Returns all EbayCustomerMap identifiers.

Syntax
$ahEbayCustomerMapIDs = GetAllPKeyEbayCustomerMaps();
Return
$ahEbayCustomerMapIDs (reference to array of hashes)
with following keys:
  • EbayShopEnvironmentID - object id of EbayShopEnvironment - int
  • EbayUserName - eBay Username - varchar(255)

GetInfoEbayCustomerMap

Returns the EbayCustomerMap by identifier.

Syntax
$hEbayCustomerMap = GetInfoEbayCustomerMap($EbayShopEnvironmentID, $EbayUserName);
Input
$EbayShopEnvironmentID (int)
object id of EbayShopEnvironment (part of primary key)
$EbayUserName (varchar(255))
eBay Username (part of primary key)
Return
$hEbayCustomerMap (reference to hash)
with following keys:
  • EbayShopEnvironmentID - object id of EbayShopEnvironment (part of primary key)- int
  • EbayUserName - eBay Username (part of primary key)- varchar(255)
  • CustomerID - customer identifier - int

GetInfoEbayCustomerMapsByCustomerID

Returns objects of EbayCustomerMap by alternate key CustomerID.

Syntax
$ahEbayCustomerMaps = GetInfoEbayCustomerMapsByCustomerID($CustomerID);
Input
$CustomerID (int)
customer identifier
Return
$ahEbayCustomerMaps (reference to array of hashes)
with following keys:
  • EbayShopEnvironmentID - object id of EbayShopEnvironment (part of primary key)- int
  • EbayUserName - eBay Username (part of primary key)- varchar(255)
  • CustomerID - customer identifier - int

GetInfoEbayCustomerMapsByEbayShopEnvironmentID

Returns objects of EbayCustomerMap by primary key element EbayShopEnvironmentID.

Syntax
$ahEbayCustomerMaps = GetInfoEbayCustomerMapsByEbayShopEnvironmentID($EbayShopEnvironmentID);
Input
$EbayShopEnvironmentID (int)
object id of EbayShopEnvironment
Return
$ahEbayCustomerMaps (reference to array of hashes)
with following keys:
  • EbayShopEnvironmentID - object id of EbayShopEnvironment (part of primary key)- int
  • EbayUserName - eBay Username (part of primary key)- varchar(255)
  • CustomerID - customer identifier - int

GetPKeyEbayCustomerMapsByCustomerID

Returns primary keys of EbayCustomerMap by alternate key CustomerID.

Syntax
$ahKeys = GetPKeyEbayCustomerMapsByCustomerID($CustomerID);
Input
$CustomerID (int)
customer identifier
Return
$ahKeys (reference to array of hashes)
with following keys:
  • EbayShopEnvironmentID - object id of EbayShopEnvironment - int
  • EbayUserName - eBay Username - varchar(255)

GetPKeyEbayCustomerMapsByEbayShopEnvironmentID

Returns primary keys of EbayCustomerMap by primary key element EbayShopEnvironmentID.

Syntax
$ahKeys = GetPKeyEbayCustomerMapsByEbayShopEnvironmentID($EbayShopEnvironmentID);
Input
$EbayShopEnvironmentID (int)
object id of EbayShopEnvironment
Return
$ahKeys (reference to array of hashes)
with following keys:
  • EbayShopEnvironmentID - object id of EbayShopEnvironment - int
  • EbayUserName - eBay Username - varchar(255)

InsertEbayCustomerMap

Creates an entry of EbayCustomerMap.

Syntax
InsertEbayCustomerMap($hEbayCustomerMap);
Input
$hEbayCustomerMap (reference to hash)
with following keys:
  • EbayShopEnvironmentID - object id of EbayShopEnvironment (part of primary key)- int
  • EbayUserName - eBay Username (part of primary key)- varchar(255)
  • CustomerID - customer identifier - int

OnDeleteCustomer

Deletes EbayCustomerMap of this model when a(n) Customer is deleted.

Syntax
OnDeleteCustomer($hParams);
Input
$hParams (ref.hash.*)
primary key of object Customer, key is
  • CustomerID

UpdateEbayCustomerMap

Updates a(n) EbayCustomerMap if any element was changed.

Syntax
UpdateEbayCustomerMap($EbayShopEnvironmentID, $EbayUserName, $hEbayCustomerMap);
UpdateEbayCustomerMap($hEbayCustomerMap); # if $hEbayCustomerMap includes EbayShopEnvironmentID, EbayUserName
Input
$EbayShopEnvironmentID (int)
object id of EbayShopEnvironment (part of primary key)
$EbayUserName (varchar(255))
eBay Username (part of primary key)
$hEbayCustomerMap (reference to hash)
with following keys:
  • CustomerID - customer identifier - int