ePages 7.21.0 - DE_EPAGES/Ebay/API/TLE/EbayHandler.pm

Package DE_EPAGES::Ebay::API::TLE::EbayHandler

tle handler for ebay

Functions

AuctionsByShopEnvironmentID
FilterSellerProfiles
GetBusinessPolicies
GetSellerProfiles
IsBusinessPoliciesActivated
PercentageByCurrentBid
TransactionsByOrderID

AuctionsByShopEnvironmentID

Returns the number auf auctions of this EbayShopEnvironment Note: the shop default auction does not count

Syntax
#AuctionsByShopEnvironmentID(#EbayShopEnvironmentID)
Example
#IF(#AuctionsByShopEnvironmentID(#EbayShopEnvironmentID))) {ShopEnvironmentContainsAuctions} #ENDIF
Return
$AuctionCount

FilterSellerProfiles

Returns only the seller profiles of the given profile type

Syntax
#FilterSellerProfiles(#SellerProfiles, "Payment")
Return
$hFilteredSellerProfiles (ref.hash)
hash with attribute values of the seller profile

GetBusinessPolicies

Returns an array with all business policies for a shop environment

Syntax
#GetBusinessPolicies(#_)
Return
$hArray (ref.array)
array with all business policies

GetSellerProfiles

Returns the ebay seller profile of an ebay shop environment

Syntax
#GetSellerProfiles(#_)
Return
hSellerProfiles (ref.hash)
hash with attribute values of the seller profile

IsBusinessPoliciesActivated

Returns 1 if the business policy feature is activated for the used ebay account

Syntax
#IsBusinessPoliciesActivated(#SellerProfiles)
Input
$aSellerProfiles (ref.array)
the whole result of the seller profile call
Return
isBusinessPoliciesActivated (boolean)
returns 1 if business policy is activate

PercentageByCurrentBid

Returns a diff (from -100% to +100%) Used to set a pixel on a percentage scale to identify how good the current bid is in relation to the regular product price.

Syntax
#PercentageByCurrentBid(#ListPrice, #CurrentBid)
Example
#SET("PIXEL", #FUNCTION("PercentageByCurrentBid", #ListPrice, #CurrentBid)
Return
#PercentageDiff (float)
difference in percent

TransactionsByOrderID

Returns the number auf Ebay Transactions found for this order.

Syntax
#TransactionsByOrderID(#OrderID)
Example
#IF(#TransactionsByOrderID(#OrderID))) {IsEbayOrder} #ENDIF
Return
#TransactionCount (int)
number of eBay transactions