ePages 6.10 - DE_EPAGES/Payment/API/Table/ShopPaymentLogo.pm

Package DE_EPAGES::Payment::API::Table::ShopPaymentLogo

interface for table ShopPaymentLogo

@EXPORT_OK
InsertShopPaymentLogo
DeleteShopPaymentLogo
GetAllPKeyShopPaymentLogos
ExistsShopPaymentLogo
GetPKeyShopPaymentLogosByShopID
GetInfoShopPaymentLogosByShopID
GetPKeyShopPaymentLogosByPaymentTypeLogoID
GetInfoShopPaymentLogosByPaymentTypeLogoID

Functions

DeleteShopPaymentLogo
ExistsShopPaymentLogo
GetAllPKeyShopPaymentLogos
GetInfoShopPaymentLogosByPaymentTypeLogoID
GetInfoShopPaymentLogosByShopID
GetPKeyShopPaymentLogosByPaymentTypeLogoID
GetPKeyShopPaymentLogosByShopID
InsertShopPaymentLogo
OnDeleteShop

DeleteShopPaymentLogo

Deletes a(n) ShopPaymentLogo.

Syntax
DeleteShopPaymentLogo($ShopID, $PaymentTypeLogoID);
DeleteShopPaymentLogo($hShopPaymentLogo); # if $hShopPaymentLogo includes ShopID, PaymentTypeLogoID
Input
$ShopID (int)
shop id (part of primary key)
$PaymentTypeLogoID (int)
PaymentTypePaymentLogoID (part of primary key)

ExistsShopPaymentLogo

Returns true if the ShopPaymentLogo exists.

Syntax
$exists = ExistsShopPaymentLogo($ShopID, $PaymentTypeLogoID);
Input
$ShopID (int)
shop id
$PaymentTypeLogoID (int)
PaymentTypePaymentLogoID
Return
$exists (boolean)
1/0 the ShopPaymentLogo exists (yes/no)

GetAllPKeyShopPaymentLogos

Returns all ShopPaymentLogo identifiers.

Syntax
$ahShopPaymentLogoIDs = GetAllPKeyShopPaymentLogos();
Return
$ahShopPaymentLogoIDs (reference to array of hashes)
with following keys:
  • ShopID - shop id - int
  • PaymentTypeLogoID - PaymentTypePaymentLogoID - int

GetInfoShopPaymentLogosByPaymentTypeLogoID

Returns objects of ShopPaymentLogo by alternate key PaymentTypeLogoID.

Syntax
$ahShopPaymentLogos = GetInfoShopPaymentLogosByPaymentTypeLogoID($PaymentTypeLogoID);
Input
$PaymentTypeLogoID (int)
PaymentTypePaymentLogoID
Return
$ahShopPaymentLogos (reference to array of hashes)
with following keys:
  • ShopID - shop id (part of primary key)- int
  • PaymentTypeLogoID - PaymentTypePaymentLogoID (part of primary key)- int

GetInfoShopPaymentLogosByShopID

Returns objects of ShopPaymentLogo by primary key element ShopID.

Syntax
$ahShopPaymentLogos = GetInfoShopPaymentLogosByShopID($ShopID);
Input
$ShopID (int)
shop id
Return
$ahShopPaymentLogos (reference to array of hashes)
with following keys:
  • ShopID - shop id (part of primary key)- int
  • PaymentTypeLogoID - PaymentTypePaymentLogoID (part of primary key)- int

GetPKeyShopPaymentLogosByPaymentTypeLogoID

Returns primary keys of ShopPaymentLogo by alternate key PaymentTypeLogoID.

Syntax
$ahKeys = GetPKeyShopPaymentLogosByPaymentTypeLogoID($PaymentTypeLogoID);
Input
$PaymentTypeLogoID (int)
PaymentTypePaymentLogoID
Return
$ahKeys (reference to array of hashes)
with following keys:
  • ShopID - shop id - int
  • PaymentTypeLogoID - PaymentTypePaymentLogoID - int

GetPKeyShopPaymentLogosByShopID

Returns primary keys of ShopPaymentLogo by primary key element ShopID.

Syntax
$ahKeys = GetPKeyShopPaymentLogosByShopID($ShopID);
Input
$ShopID (int)
shop id
Return
$ahKeys (reference to array of hashes)
with following keys:
  • ShopID - shop id - int
  • PaymentTypeLogoID - PaymentTypePaymentLogoID - int

InsertShopPaymentLogo

Creates an entry of ShopPaymentLogo.

Syntax
InsertShopPaymentLogo($hShopPaymentLogo);
Input
$hShopPaymentLogo (reference to hash)
with following keys:
  • ShopID - shop id (part of primary key)- int
  • PaymentTypeLogoID - PaymentTypePaymentLogoID (part of primary key)- int

OnDeleteShop

Deletes ShopPaymentLogo of this model when a(n) Shop is deleted.

Syntax
OnDeleteShop($hParams);
Input
$hParams (ref.hash.*)
primary key of object Shop, key is
  • ShopID