ePages 7.26.0 - DE_EPAGES/DHL/API/Table/DHLProductList.pm

Package DE_EPAGES::DHL::API::Table::DHLProductList

interface for table DHLProductList

@EXPORT_OK
InsertDHLProductList
UpdateDHLProductList
DeleteDHLProductList
GetAllPKeyDHLProductLists
GetAllInfoDHLProductLists
GetInfoDHLProductList
ExistsDHLProductList
GetPKeyDHLProductListsByWeightKgMax
GetInfoDHLProductListsByWeightKgMax
GetPKeyDHLProductListsByProductID
GetInfoDHLProductListsByProductID

Functions

DeleteDHLProductList
ExistsDHLProductList
GetAllInfoDHLProductLists
GetAllPKeyDHLProductLists
GetInfoDHLProductList
GetInfoDHLProductListsByProductID
GetInfoDHLProductListsByWeightKgMax
GetPKeyDHLProductListsByProductID
GetPKeyDHLProductListsByWeightKgMax
InsertDHLProductList
UpdateDHLProductList

DeleteDHLProductList

Deletes a(n) DHLProductList.

Syntax
DeleteDHLProductList($DHLProductListID);
DeleteDHLProductList($hDHLProductList); # if $hDHLProductList includes DHLProductListID
Input
$DHLProductListID (int)
Internal ID of the DHL Product (primary key)

ExistsDHLProductList

Returns true if the DHLProductList exists.

Syntax
$exists = ExistsDHLProductList($DHLProductListID);
Input
$DHLProductListID (int)
Internal ID of the DHL Product (primary key)
Return
$exists (boolean)
1/0 the DHLProductList exists (yes/no)

GetAllInfoDHLProductLists

Returns all objects of DHLProductList.

Syntax
$ahDHLProductLists = GetAllInfoDHLProductLists();
Return
$ahDHLProductLists (reference to array of hashes)
with following keys:
  • DHLProductListID - Internal ID of the DHL Product (primary key)- int
  • ProductID - DHL product list xml tag: id - varchar(255)
  • Supplier - DHL product list xml tag: anbieter (optional)- varchar(255)
  • DisplayName - DHL product list xml tag: anzeigename (optional)- varchar(255)
  • DisplayText - DHL product list xml tag: anzeigetext (optional)- text
  • PictureURL - DHL product list xml tag: bildUrl (optional)- varchar(255)
  • ValidFrom - DHL product list xml tag: gueltigvon (optional)- datetime
  • ValidTo - DHL product list xml tag: gueltigbis (optional)- datetime
  • WeightKgMin - DHL product list xml tag: gewichtKgMin (optional)- float
  • WeightKgMax - DHL product list xml tag: gewichtKgMax (optional)- float
  • LengthCmMin - DHL product list xml tag: laengeCmMin (optional)- float
  • LengthCmMax - DHL product list xml tag: laengeCmMax (optional)- float
  • WidthCmMin - DHL product list xml tag: breiteCmMin (optional)- float
  • WidthCmMax - DHL product list xml tag: breiteCmMax (optional)- float
  • HeightCmMin - DHL product list xml tag: hoeheCmMin (optional)- float
  • HeightCmMax - DHL product list xml tag: hoeheCmMax (optional)- float
  • LengthWidthHeightCmMin - DHL product list xml tag: laengeBreiteHoeheCmMin (optional)- float
  • LengthWidthHeightCmMax - DHL product list xml tag: laengeBreiteHoeheCmMax (optional)- float
  • URL - DHL product list xml tag: url (optional)- varchar(255)
  • TOS - DHL product list xml tag: agb (optional)- varchar(255)
  • PrintAdvice - DHL product list xml tag: druckhinweis (optional)- varchar(255)

GetAllPKeyDHLProductLists

Returns all DHLProductList identifiers.

Syntax
$aDHLProductListIDs = GetAllPKeyDHLProductLists();
Return
$aDHLProductListIDs (reference to array of int)
Internal ID of the DHL Product

GetInfoDHLProductList

Returns the DHLProductList by identifier.

Syntax
$hDHLProductList = GetInfoDHLProductList($DHLProductListID);
Input
$DHLProductListID (int)
Internal ID of the DHL Product (primary key)
Return
$hDHLProductList (reference to hash)
with following keys:
  • DHLProductListID - Internal ID of the DHL Product (primary key)- int
  • ProductID - DHL product list xml tag: id - varchar(255)
  • Supplier - DHL product list xml tag: anbieter (optional)- varchar(255)
  • DisplayName - DHL product list xml tag: anzeigename (optional)- varchar(255)
  • DisplayText - DHL product list xml tag: anzeigetext (optional)- text
  • PictureURL - DHL product list xml tag: bildUrl (optional)- varchar(255)
  • ValidFrom - DHL product list xml tag: gueltigvon (optional)- datetime
  • ValidTo - DHL product list xml tag: gueltigbis (optional)- datetime
  • WeightKgMin - DHL product list xml tag: gewichtKgMin (optional)- float
  • WeightKgMax - DHL product list xml tag: gewichtKgMax (optional)- float
  • LengthCmMin - DHL product list xml tag: laengeCmMin (optional)- float
  • LengthCmMax - DHL product list xml tag: laengeCmMax (optional)- float
  • WidthCmMin - DHL product list xml tag: breiteCmMin (optional)- float
  • WidthCmMax - DHL product list xml tag: breiteCmMax (optional)- float
  • HeightCmMin - DHL product list xml tag: hoeheCmMin (optional)- float
  • HeightCmMax - DHL product list xml tag: hoeheCmMax (optional)- float
  • LengthWidthHeightCmMin - DHL product list xml tag: laengeBreiteHoeheCmMin (optional)- float
  • LengthWidthHeightCmMax - DHL product list xml tag: laengeBreiteHoeheCmMax (optional)- float
  • URL - DHL product list xml tag: url (optional)- varchar(255)
  • TOS - DHL product list xml tag: agb (optional)- varchar(255)
  • PrintAdvice - DHL product list xml tag: druckhinweis (optional)- varchar(255)

GetInfoDHLProductListsByProductID

Returns objects of DHLProductList by alternate key ProductID.

Syntax
$ahDHLProductLists = GetInfoDHLProductListsByProductID($ProductID);
Input
$ProductID (varchar(255))
DHL product list xml tag: id
Return
$ahDHLProductLists (reference to array of hashes)
with following keys:
  • DHLProductListID - Internal ID of the DHL Product (primary key)- int
  • ProductID - DHL product list xml tag: id - varchar(255)
  • Supplier - DHL product list xml tag: anbieter (optional)- varchar(255)
  • DisplayName - DHL product list xml tag: anzeigename (optional)- varchar(255)
  • DisplayText - DHL product list xml tag: anzeigetext (optional)- text
  • PictureURL - DHL product list xml tag: bildUrl (optional)- varchar(255)
  • ValidFrom - DHL product list xml tag: gueltigvon (optional)- datetime
  • ValidTo - DHL product list xml tag: gueltigbis (optional)- datetime
  • WeightKgMin - DHL product list xml tag: gewichtKgMin (optional)- float
  • WeightKgMax - DHL product list xml tag: gewichtKgMax (optional)- float
  • LengthCmMin - DHL product list xml tag: laengeCmMin (optional)- float
  • LengthCmMax - DHL product list xml tag: laengeCmMax (optional)- float
  • WidthCmMin - DHL product list xml tag: breiteCmMin (optional)- float
  • WidthCmMax - DHL product list xml tag: breiteCmMax (optional)- float
  • HeightCmMin - DHL product list xml tag: hoeheCmMin (optional)- float
  • HeightCmMax - DHL product list xml tag: hoeheCmMax (optional)- float
  • LengthWidthHeightCmMin - DHL product list xml tag: laengeBreiteHoeheCmMin (optional)- float
  • LengthWidthHeightCmMax - DHL product list xml tag: laengeBreiteHoeheCmMax (optional)- float
  • URL - DHL product list xml tag: url (optional)- varchar(255)
  • TOS - DHL product list xml tag: agb (optional)- varchar(255)
  • PrintAdvice - DHL product list xml tag: druckhinweis (optional)- varchar(255)

GetInfoDHLProductListsByWeightKgMax

Returns objects of DHLProductList by alternate key WeightKgMax.

Syntax
$ahDHLProductLists = GetInfoDHLProductListsByWeightKgMax($WeightKgMax);
Input
$WeightKgMax (float)
DHL product list xml tag: gewichtKgMax
Return
$ahDHLProductLists (reference to array of hashes)
with following keys:
  • DHLProductListID - Internal ID of the DHL Product (primary key)- int
  • ProductID - DHL product list xml tag: id - varchar(255)
  • Supplier - DHL product list xml tag: anbieter (optional)- varchar(255)
  • DisplayName - DHL product list xml tag: anzeigename (optional)- varchar(255)
  • DisplayText - DHL product list xml tag: anzeigetext (optional)- text
  • PictureURL - DHL product list xml tag: bildUrl (optional)- varchar(255)
  • ValidFrom - DHL product list xml tag: gueltigvon (optional)- datetime
  • ValidTo - DHL product list xml tag: gueltigbis (optional)- datetime
  • WeightKgMin - DHL product list xml tag: gewichtKgMin (optional)- float
  • WeightKgMax - DHL product list xml tag: gewichtKgMax (optional)- float
  • LengthCmMin - DHL product list xml tag: laengeCmMin (optional)- float
  • LengthCmMax - DHL product list xml tag: laengeCmMax (optional)- float
  • WidthCmMin - DHL product list xml tag: breiteCmMin (optional)- float
  • WidthCmMax - DHL product list xml tag: breiteCmMax (optional)- float
  • HeightCmMin - DHL product list xml tag: hoeheCmMin (optional)- float
  • HeightCmMax - DHL product list xml tag: hoeheCmMax (optional)- float
  • LengthWidthHeightCmMin - DHL product list xml tag: laengeBreiteHoeheCmMin (optional)- float
  • LengthWidthHeightCmMax - DHL product list xml tag: laengeBreiteHoeheCmMax (optional)- float
  • URL - DHL product list xml tag: url (optional)- varchar(255)
  • TOS - DHL product list xml tag: agb (optional)- varchar(255)
  • PrintAdvice - DHL product list xml tag: druckhinweis (optional)- varchar(255)

GetPKeyDHLProductListsByProductID

Returns primary keys of DHLProductList by alternate key ProductID.

Syntax
$aKeys = GetPKeyDHLProductListsByProductID($ProductID);
Input
$ProductID (varchar(255))
DHL product list xml tag: id
Return
$aKeys (reference to array of int)
Internal ID of the DHL Product (primary key)

GetPKeyDHLProductListsByWeightKgMax

Returns primary keys of DHLProductList by alternate key WeightKgMax.

Syntax
$aKeys = GetPKeyDHLProductListsByWeightKgMax($WeightKgMax);
Input
$WeightKgMax (float)
DHL product list xml tag: gewichtKgMax
Return
$aKeys (reference to array of int)
Internal ID of the DHL Product (primary key)

InsertDHLProductList

Creates an entry of DHLProductList.

Syntax
$DHLProductListID = InsertDHLProductList($hDHLProductList);
Input
$hDHLProductList (reference to hash)
with following keys:
  • DHLProductListID - Internal ID of the DHL Product (primary key)(optional)- int
  • ProductID - DHL product list xml tag: id - varchar(255)
  • Supplier - DHL product list xml tag: anbieter (optional)- varchar(255)
  • DisplayName - DHL product list xml tag: anzeigename (optional)- varchar(255)
  • DisplayText - DHL product list xml tag: anzeigetext (optional)- text
  • PictureURL - DHL product list xml tag: bildUrl (optional)- varchar(255)
  • ValidFrom - DHL product list xml tag: gueltigvon (optional)- datetime
  • ValidTo - DHL product list xml tag: gueltigbis (optional)- datetime
  • WeightKgMin - DHL product list xml tag: gewichtKgMin (optional)- float
  • WeightKgMax - DHL product list xml tag: gewichtKgMax (optional)- float
  • LengthCmMin - DHL product list xml tag: laengeCmMin (optional)- float
  • LengthCmMax - DHL product list xml tag: laengeCmMax (optional)- float
  • WidthCmMin - DHL product list xml tag: breiteCmMin (optional)- float
  • WidthCmMax - DHL product list xml tag: breiteCmMax (optional)- float
  • HeightCmMin - DHL product list xml tag: hoeheCmMin (optional)- float
  • HeightCmMax - DHL product list xml tag: hoeheCmMax (optional)- float
  • LengthWidthHeightCmMin - DHL product list xml tag: laengeBreiteHoeheCmMin (optional)- float
  • LengthWidthHeightCmMax - DHL product list xml tag: laengeBreiteHoeheCmMax (optional)- float
  • URL - DHL product list xml tag: url (optional)- varchar(255)
  • TOS - DHL product list xml tag: agb (optional)- varchar(255)
  • PrintAdvice - DHL product list xml tag: druckhinweis (optional)- varchar(255)
Return
$DHLProductListID (int)
Internal ID of the DHL Product (primary key)

UpdateDHLProductList

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

Syntax
UpdateDHLProductList($DHLProductListID, $hDHLProductList);
UpdateDHLProductList($hDHLProductList); # if $hDHLProductList includes DHLProductListID
Input
$DHLProductListID (int)
Internal ID of the DHL Product (primary key)
$hDHLProductList (reference to hash)
with following keys:
  • ProductID - DHL product list xml tag: id - varchar(255)
  • Supplier - DHL product list xml tag: anbieter (optional)- varchar(255)
  • DisplayName - DHL product list xml tag: anzeigename (optional)- varchar(255)
  • DisplayText - DHL product list xml tag: anzeigetext (optional)- text
  • PictureURL - DHL product list xml tag: bildUrl (optional)- varchar(255)
  • ValidFrom - DHL product list xml tag: gueltigvon (optional)- datetime
  • ValidTo - DHL product list xml tag: gueltigbis (optional)- datetime
  • WeightKgMin - DHL product list xml tag: gewichtKgMin (optional)- float
  • WeightKgMax - DHL product list xml tag: gewichtKgMax (optional)- float
  • LengthCmMin - DHL product list xml tag: laengeCmMin (optional)- float
  • LengthCmMax - DHL product list xml tag: laengeCmMax (optional)- float
  • WidthCmMin - DHL product list xml tag: breiteCmMin (optional)- float
  • WidthCmMax - DHL product list xml tag: breiteCmMax (optional)- float
  • HeightCmMin - DHL product list xml tag: hoeheCmMin (optional)- float
  • HeightCmMax - DHL product list xml tag: hoeheCmMax (optional)- float
  • LengthWidthHeightCmMin - DHL product list xml tag: laengeBreiteHoeheCmMin (optional)- float
  • LengthWidthHeightCmMax - DHL product list xml tag: laengeBreiteHoeheCmMax (optional)- float
  • URL - DHL product list xml tag: url (optional)- varchar(255)
  • TOS - DHL product list xml tag: agb (optional)- varchar(255)
  • PrintAdvice - DHL product list xml tag: druckhinweis (optional)- varchar(255)