ePages 6.10 - DE_EPAGES/Amazon/API/Table/AmazonFeedMessage.pm

Package DE_EPAGES::Amazon::API::Table::AmazonFeedMessage

interface for table AmazonFeedMessage

@EXPORT_OK
InsertAmazonFeedMessage
UpdateAmazonFeedMessage
DeleteAmazonFeedMessage
GetAllPKeyAmazonFeedMessages
GetAllInfoAmazonFeedMessages
GetInfoAmazonFeedMessage
ExistsAmazonFeedMessage
GetPKeyAmazonFeedMessagesByAmazonFeedID
GetInfoAmazonFeedMessagesByAmazonFeedID
GetPKeyAmazonFeedMessagesByAmazonOfferID
GetInfoAmazonFeedMessagesByAmazonOfferID

Functions

DeleteAmazonFeedMessage
ExistsAmazonFeedMessage
GetAllInfoAmazonFeedMessages
GetAllPKeyAmazonFeedMessages
GetInfoAmazonFeedMessage
GetInfoAmazonFeedMessagesByAmazonFeedID
GetInfoAmazonFeedMessagesByAmazonOfferID
GetPKeyAmazonFeedMessagesByAmazonFeedID
GetPKeyAmazonFeedMessagesByAmazonOfferID
InsertAmazonFeedMessage
UpdateAmazonFeedMessage

DeleteAmazonFeedMessage

Deletes a(n) AmazonFeedMessage.

Syntax
DeleteAmazonFeedMessage($MessageID);
DeleteAmazonFeedMessage($hAmazonFeedMessage); # if $hAmazonFeedMessage includes MessageID
Input
$MessageID (int)
object identifier (primary key)

ExistsAmazonFeedMessage

Returns true if the AmazonFeedMessage exists.

Syntax
$exists = ExistsAmazonFeedMessage($MessageID);
Input
$MessageID (int)
object identifier
Return
$exists (boolean)
1/0 the AmazonFeedMessage exists (yes/no)

GetAllInfoAmazonFeedMessages

Returns all objects of AmazonFeedMessage.

Syntax
$ahAmazonFeedMessageIDs = GetAllInfoAmazonFeedMessages();
Return
$ahAmazonFeedMessageIDs (reference to array of hashes)
with following keys:
  • MessageID - object identifier (primary key)- int
  • AmazonFeedID - amazon feed identifier - int
  • AmazonOfferID - amazon offer identifier (optional)- int
  • ErrorCode - returned error (if any) (optional)- varchar(32)
  • ErrorMessage - returned error message (if any) (optional)- varchar(500)
  • IsReviewed - is message reviewed - bit

GetAllPKeyAmazonFeedMessages

Returns all AmazonFeedMessage identifiers.

Syntax
$aAmazonFeedMessageIDs = GetAllPKeyAmazonFeedMessages();
Return
$aAmazonFeedMessageIDs (reference to array of int)
object identifier

GetInfoAmazonFeedMessage

Returns the AmazonFeedMessage by identifier.

Syntax
$hAmazonFeedMessage = GetInfoAmazonFeedMessage($MessageID);
Input
$MessageID (int)
object identifier (primary key)
Return
$hAmazonFeedMessage (reference to hash)
with following keys:
  • MessageID - object identifier (primary key)- int
  • AmazonFeedID - amazon feed identifier - int
  • AmazonOfferID - amazon offer identifier (optional)- int
  • ErrorCode - returned error (if any) (optional)- varchar(32)
  • ErrorMessage - returned error message (if any) (optional)- varchar(500)
  • IsReviewed - is message reviewed - bit

GetInfoAmazonFeedMessagesByAmazonFeedID

Returns objects of AmazonFeedMessage by alternate key AmazonFeedID.

Syntax
$ahAmazonFeedMessages = GetInfoAmazonFeedMessagesByAmazonFeedID($AmazonFeedID);
Input
$AmazonFeedID (int)
amazon feed identifier
Return
$ahAmazonFeedMessages (reference to array of hashes)
with following keys:
  • MessageID - object identifier (primary key)- int
  • AmazonFeedID - amazon feed identifier - int
  • AmazonOfferID - amazon offer identifier (optional)- int
  • ErrorCode - returned error (if any) (optional)- varchar(32)
  • ErrorMessage - returned error message (if any) (optional)- varchar(500)
  • IsReviewed - is message reviewed - bit

GetInfoAmazonFeedMessagesByAmazonOfferID

Returns objects of AmazonFeedMessage by alternate key AmazonOfferID.

Syntax
$ahAmazonFeedMessages = GetInfoAmazonFeedMessagesByAmazonOfferID($AmazonOfferID);
Input
$AmazonOfferID (int)
amazon offer identifier
Return
$ahAmazonFeedMessages (reference to array of hashes)
with following keys:
  • MessageID - object identifier (primary key)- int
  • AmazonFeedID - amazon feed identifier - int
  • AmazonOfferID - amazon offer identifier (optional)- int
  • ErrorCode - returned error (if any) (optional)- varchar(32)
  • ErrorMessage - returned error message (if any) (optional)- varchar(500)
  • IsReviewed - is message reviewed - bit

GetPKeyAmazonFeedMessagesByAmazonFeedID

Returns primary keys of AmazonFeedMessage by alternate key AmazonFeedID.

Syntax
$aKeys = GetPKeyAmazonFeedMessagesByAmazonFeedID($AmazonFeedID);
Input
$AmazonFeedID (int)
amazon feed identifier
Return
$aKeys (reference to array of int)
object identifier (primary key)

GetPKeyAmazonFeedMessagesByAmazonOfferID

Returns primary keys of AmazonFeedMessage by alternate key AmazonOfferID.

Syntax
$aKeys = GetPKeyAmazonFeedMessagesByAmazonOfferID($AmazonOfferID);
Input
$AmazonOfferID (int)
amazon offer identifier
Return
$aKeys (reference to array of int)
object identifier (primary key)

InsertAmazonFeedMessage

Creates an entry of AmazonFeedMessage.

Syntax
InsertAmazonFeedMessage($hAmazonFeedMessage);
Input
$hAmazonFeedMessage (reference to hash)
with following keys:
  • MessageID - object identifier (primary key)(optional)- int
  • AmazonFeedID - amazon feed identifier - int
  • AmazonOfferID - amazon offer identifier (optional)- int
  • ErrorCode - returned error (if any) (optional)- varchar(32)
  • ErrorMessage - returned error message (if any) (optional)- varchar(500)
  • IsReviewed - is message reviewed - bit

UpdateAmazonFeedMessage

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

Syntax
UpdateAmazonFeedMessage($MessageID, $hAmazonFeedMessage);
UpdateAmazonFeedMessage($hAmazonFeedMessage); # if $hAmazonFeedMessage includes MessageID
Input
$MessageID (int)
object identifier (primary key)
$hAmazonFeedMessage (reference to hash)
with following keys:
  • AmazonFeedID - amazon feed identifier - int
  • AmazonOfferID - amazon offer identifier (optional)- int
  • ErrorCode - returned error (if any) (optional)- varchar(32)
  • ErrorMessage - returned error message (if any) (optional)- varchar(500)
  • IsReviewed - is message reviewed - bit