ePages 7.23.0 - DE_EPAGES/Ebay/Hooks/Shop.pm

Package DE_EPAGES::Ebay::Hooks::Shop

interface for table ReferenceAttribute

Functions

OnBeforeCreateUnityShop
OnDeleteShop
OnFinishShopWizard
OnMBOViewMBO

OnBeforeCreateUnityShop

Triggered by the hook API_BeforeCreateUnityShop. Imports the shop notification for ebay events

Syntax
OnBeforeCreateUnityShop( $hParams );
Input
$hParams (ref.hash.*)
hook arguments, used keys are
  • Shop - shop object | object

OnDeleteShop

Delete referenced campaigns of this model if a(n) Shop will be deleted.

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

OnFinishShopWizard

Sets the BCC email addresses for mail type FulfillEbayTransaction on completion of the shop wizard (Hook CustomerOrderConfirmation).

Syntax
OnFinishShopWizard( $hParams );
Input
$hParams (ref.hash.*)
form values which are supplied by Form ShopWizard of class Shop.
  • Shop - the current Shop - object
  • Data - form values from Shop.ShopWizard - ref.hash

OnMBOViewMBO

Triggered by the hook UI_MBOViewMBO. Check for Unity shops if the ebay shop environment token expires within 30 days and enables the notificaton

Syntax
OnMBOViewMBO( $hParams );
Input
$hParams (ref.hash.*)
hook arguments, used keys are
  • Servlet - servlet object | object
  • Shop - shop object | object
  • Form - form object | object
  • Values - value hash | hash