ePages 6.10 - DE_EPAGES/Ebay/API/Table/EbayCallType.pm

Package DE_EPAGES::Ebay::API::Table::EbayCallType

interface for table EbayCallType

@EXPORT_OK
InsertEbayCallType
UpdateEbayCallType
DeleteEbayCallType
GetAllPKeyEbayCallTypes
GetAllInfoEbayCallTypes
GetInfoEbayCallType
ExistsEbayCallType
GetPKeyEbayCallTypeByName
GetInfoEbayCallTypeByName
ExistsEbayCallTypeByName
GetPKeyEbayCallTypesByName
GetInfoEbayCallTypesByName

Functions

DeleteEbayCallType
ExistsEbayCallType
ExistsEbayCallTypeByName
GetAllInfoEbayCallTypes
GetAllPKeyEbayCallTypes
GetInfoEbayCallType
GetInfoEbayCallTypeByName
GetInfoEbayCallTypesByName
GetPKeyEbayCallTypeByName
GetPKeyEbayCallTypesByName
InsertEbayCallType
UpdateEbayCallType

DeleteEbayCallType

Deletes a(n) EbayCallType.

Syntax
DeleteEbayCallType($EbayCallTypeID);
DeleteEbayCallType($hEbayCallType); # if $hEbayCallType includes EbayCallTypeID
Input
$EbayCallTypeID (int)
id of call type (primary key)

ExistsEbayCallType

Returns true if the EbayCallType exists.

Syntax
$exists = ExistsEbayCallType($EbayCallTypeID);
Input
$EbayCallTypeID (int)
id of call type
Return
$exists (boolean)
1/0 the EbayCallType exists (yes/no)

ExistsEbayCallTypeByName

Returns true if a EbayCallType by alternate key Name exists.

Syntax
$EbayCallTypeID = ExistsEbayCallTypeByName($Name);
Input
$Name (varchar(255))
name of call type
Return
$exists (boolean)
1/0 the u_EbayCallType_Name exists (yes/no)

GetAllInfoEbayCallTypes

Returns all objects of EbayCallType.

Syntax
$ahEbayCallTypes = GetAllInfoEbayCallTypes();
Return
$ahEbayCallTypes (reference to array of hashes)
with following keys:
  • EbayCallTypeID - id of call type (primary key)- int
  • Name - name of call type - varchar(255)
  • Abbreviation - short name - varchar(10)

GetAllPKeyEbayCallTypes

Returns all EbayCallType identifiers.

Syntax
$aEbayCallTypeIDs = GetAllPKeyEbayCallTypes();
Return
$aEbayCallTypeIDs (reference to array of int)
id of call type

GetInfoEbayCallType

Returns the EbayCallType by identifier.

Syntax
$hEbayCallType = GetInfoEbayCallType($EbayCallTypeID);
Input
$EbayCallTypeID (int)
id of call type (primary key)
Return
$hEbayCallType (reference to hash)
with following keys:
  • EbayCallTypeID - id of call type (primary key)- int
  • Name - name of call type - varchar(255)
  • Abbreviation - short name - varchar(10)

GetInfoEbayCallTypeByName

Returns the object of EbayCallType by alternate key Name.

Syntax
$hEbayCallType = GetInfoEbayCallTypeByName($Name);
Input
$Name (varchar(255))
name of call type
Return
$hEbayCallType (reference to hash)
with following keys:
  • EbayCallTypeID - id of call type (primary key)- int
  • Name - name of call type - varchar(255)
  • Abbreviation - short name - varchar(10)

GetInfoEbayCallTypesByName

Returns objects of EbayCallType by alternate key Name.

Syntax
$ahEbayCallTypes = GetInfoEbayCallTypesByName($Name);
Input
$Name (varchar(255))
name of call type
Return
$ahEbayCallTypes (reference to array of hashes)
with following keys:
  • EbayCallTypeID - id of call type (primary key)- int
  • Name - name of call type - varchar(255)
  • Abbreviation - short name - varchar(10)

GetPKeyEbayCallTypeByName

Returns primary key of EbayCallType by alternate key Name.

Syntax
$EbayCallTypeID = GetPKeyEbayCallTypeByName($Name);
Input
$Name (varchar(255))
name of call type
Return
$EbayCallTypeID (int)
id of call type (primary key)

GetPKeyEbayCallTypesByName

Returns primary keys of EbayCallType by alternate key Name.

Syntax
$aKeys = GetPKeyEbayCallTypesByName($Name);
Input
$Name (varchar(255))
name of call type
Return
$aKeys (reference to array of int)
id of call type (primary key)

InsertEbayCallType

Creates an entry of EbayCallType.

Syntax
$EbayCallTypeID = InsertEbayCallType($hEbayCallType);
Input
$hEbayCallType (reference to hash)
with following keys:
  • EbayCallTypeID - id of call type (primary key)(optional)- int
  • Name - name of call type - varchar(255)
  • Abbreviation - short name - varchar(10)
Return
$EbayCallTypeID (int)
id of call type (primary key)

UpdateEbayCallType

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

Syntax
UpdateEbayCallType($EbayCallTypeID, $hEbayCallType);
UpdateEbayCallType($hEbayCallType); # if $hEbayCallType includes EbayCallTypeID
Input
$EbayCallTypeID (int)
id of call type (primary key)
$hEbayCallType (reference to hash)
with following keys:
  • Name - name of call type - varchar(255)
  • Abbreviation - short name - varchar(10)