ePages 6.17.40 - DE_EPAGES/CreditCheck/API/Table/CreditCheckAgencyCustGroup.pm

Package DE_EPAGES::CreditCheck::API::Table::CreditCheckAgencyCustGroup

interface for table CreditCheckAgencyCustGroup

@EXPORT_OK
InsertCreditCheckAgencyCustGroup
DeleteCreditCheckAgencyCustGroup
GetAllPKeyCreditCheckAgencyCustGroups
ExistsCreditCheckAgencyCustGroup
GetPKeyCreditCheckAgencyCustGroupsByCreditCheckAgencyConfigID
GetInfoCreditCheckAgencyCustGroupsByCreditCheckAgencyConfigID
GetPKeyCreditCheckAgencyCustGroupsByCustomerGroupID
GetInfoCreditCheckAgencyCustGroupsByCustomerGroupID

Functions

DeleteCreditCheckAgencyCustGroup
ExistsCreditCheckAgencyCustGroup
GetAllPKeyCreditCheckAgencyCustGroups
GetInfoCreditCheckAgencyCustGroupsByCreditCheckAgencyConfigID
GetInfoCreditCheckAgencyCustGroupsByCustomerGroupID
GetPKeyCreditCheckAgencyCustGroupsByCreditCheckAgencyConfigID
GetPKeyCreditCheckAgencyCustGroupsByCustomerGroupID
InsertCreditCheckAgencyCustGroup
OnDeleteCustomerGroup

DeleteCreditCheckAgencyCustGroup

Deletes a(n) CreditCheckAgencyCustGroup.

Syntax
DeleteCreditCheckAgencyCustGroup($CreditCheckAgencyConfigID, $CustomerGroupID);
DeleteCreditCheckAgencyCustGroup($hCreditCheckAgencyCustGroup); # if $hCreditCheckAgencyCustGroup includes CreditCheckAgencyConfigID, CustomerGroupID
Input
$CreditCheckAgencyConfigID (int)
creditcheckagencyconfig id (part of primary key)
$CustomerGroupID (int)
customer group id (part of primary key)

ExistsCreditCheckAgencyCustGroup

Returns true if the CreditCheckAgencyCustGroup exists.

Syntax
$exists = ExistsCreditCheckAgencyCustGroup($CreditCheckAgencyConfigID, $CustomerGroupID);
Input
$CreditCheckAgencyConfigID (int)
creditcheckagencyconfig id (part of primary key)
$CustomerGroupID (int)
customer group id (part of primary key)
Return
$exists (boolean)
1/0 the CreditCheckAgencyCustGroup exists (yes/no)

GetAllPKeyCreditCheckAgencyCustGroups

Returns all CreditCheckAgencyCustGroup identifiers.

Syntax
$ahCreditCheckAgencyCustGroupIDs = GetAllPKeyCreditCheckAgencyCustGroups();
Return
$ahCreditCheckAgencyCustGroupIDs (reference to array of hashes)
with following keys:
  • CreditCheckAgencyConfigID - creditcheckagencyconfig id (part of primary key)- int
  • CustomerGroupID - customer group id (part of primary key)- int

GetInfoCreditCheckAgencyCustGroupsByCreditCheckAgencyConfigID

Returns objects of CreditCheckAgencyCustGroup by primary key element CreditCheckAgencyConfigID.

Syntax
$ahCreditCheckAgencyCustGroups = GetInfoCreditCheckAgencyCustGroupsByCreditCheckAgencyConfigID($CreditCheckAgencyConfigID);
Input
$CreditCheckAgencyConfigID (int)
creditcheckagencyconfig id
Return
$ahCreditCheckAgencyCustGroups (reference to array of hashes)
with following keys:
  • CreditCheckAgencyConfigID - creditcheckagencyconfig id (part of primary key)- int
  • CustomerGroupID - customer group id (part of primary key)- int

GetInfoCreditCheckAgencyCustGroupsByCustomerGroupID

Returns objects of CreditCheckAgencyCustGroup by alternate key CustomerGroupID.

Syntax
$ahCreditCheckAgencyCustGroups = GetInfoCreditCheckAgencyCustGroupsByCustomerGroupID($CustomerGroupID);
Input
$CustomerGroupID (int)
customer group id
Return
$ahCreditCheckAgencyCustGroups (reference to array of hashes)
with following keys:
  • CreditCheckAgencyConfigID - creditcheckagencyconfig id (part of primary key)- int
  • CustomerGroupID - customer group id (part of primary key)- int

GetPKeyCreditCheckAgencyCustGroupsByCreditCheckAgencyConfigID

Returns primary keys of CreditCheckAgencyCustGroup by primary key element CreditCheckAgencyConfigID.

Syntax
$ahKeys = GetPKeyCreditCheckAgencyCustGroupsByCreditCheckAgencyConfigID($CreditCheckAgencyConfigID);
Input
$CreditCheckAgencyConfigID (int)
creditcheckagencyconfig id
Return
$ahKeys (reference to array of hashes)
with following keys:
  • CreditCheckAgencyConfigID - creditcheckagencyconfig id (part of primary key)- int
  • CustomerGroupID - customer group id (part of primary key)- int

GetPKeyCreditCheckAgencyCustGroupsByCustomerGroupID

Returns primary keys of CreditCheckAgencyCustGroup by alternate key CustomerGroupID.

Syntax
$ahKeys = GetPKeyCreditCheckAgencyCustGroupsByCustomerGroupID($CustomerGroupID);
Input
$CustomerGroupID (int)
customer group id
Return
$ahKeys (reference to array of hashes)
with following keys:
  • CreditCheckAgencyConfigID - creditcheckagencyconfig id (part of primary key)- int
  • CustomerGroupID - customer group id (part of primary key)- int

InsertCreditCheckAgencyCustGroup

Creates an entry of CreditCheckAgencyCustGroup.

Syntax
InsertCreditCheckAgencyCustGroup($hCreditCheckAgencyCustGroup);
Input
$hCreditCheckAgencyCustGroup (reference to hash)
with following keys:
  • CreditCheckAgencyConfigID - creditcheckagencyconfig id (part of primary key)- int
  • CustomerGroupID - customer group id (part of primary key)- int

OnDeleteCustomerGroup

Deletes CreditCheckAgencyCustGroup of this model when a(n) CustomerGroup is deleted.

Syntax
OnDeleteCustomerGroup($hParams);
Input
$hParams (ref.hash.*)
primary key of object CustomerGroup, key is
  • CustomerGroupID