PDL_GetItemInfo

Returns information about a specific purchase item, including whether or not the user has already purchased it.

This call is a wrapper for a getItemInfo com.palm.service.payment call and returns the same response.

Note

PDL_ItemInfo is an opaque type that your code cannot directly access. You need to call PDL_GetItemJSON to turn the response into a JSON-formatted string.

The getItemInfo call takes 3 parameters:

The PDK sets includeReceipts to true and maxReceipts to 16 when calling getItemInfo.

Syntax

PDL_ItemInfo *PDL_GetItemInfo(const char *itemID);

Parameters

Parameter
Required Type Description
itemID
Yes Pointer Pointer to item ID string.

Returns

Pointer to PDL_ItemInfo struct.