ePages 6.11.0 - DE_EPAGES/Ebay/API/Tools.pm

Package DE_EPAGES::Ebay::API::Tools

little helper functions for ebay

@EXPORT_OK
GetStoreRuName
ConvertFromEbayDate
GetRecentCategories
GetOldestStartTime
CheckEbayAuctionsFeature
SetNewEbayAuctionsFeatureValue

Functions

ConvertFromEbayDate
GetOldestStartTime
GetRecentCategories
GetStoreRuName

ConvertFromEbayDate

Parses an eBay DateTime string and returns a DateTime object. Converts the time to the local server time zone.

Syntax
ConvertFromEbayDate( $DateString );
Input
$DateString (string)
datetime string in ISO8601
Return
$dt (DateTime object)
converted date

GetOldestStartTime

Gets the StartTime of the oldest still running or ended (not finished) auctions. The value will be in converted to UTC.

Syntax
$oldestStartTime = GetOldestStartTime( $ShopEnvironment );
Input
$ShopEnv (EbayShopEnvironment object)
shop environemnt
Return
$oldestStartTime (DateTime object)
date (undef if no running auction)

GetRecentCategories

Builds a list of the recently used categories.

Syntax
GetRecentCategories( $Auction );
Input
$Auction (EbayAuction object)
auction
Return
$raCategories (ref.array.hash)
tleHash for each category

GetStoreRuName

Gets a global unique name for this store to identify at eBay.

Syntax
GetStoreRuName( $StoreUrl );
Input
$StoreUrl (string)
systems web url
Return
$ruName (string)
ru name for ebay