Retrieve the state of the digital good.
#include <bps/paymentservice.h>
BPS_API item_state_t paymentservice_event_get_item_state(bps_event_t *event,
unsigned int index)
BlackBerry 10.0.0
The event which contains the array of existing purchases.
The index into the array of existing purchases. You can specify an index value that ranges from zero to the number of purchases minus one. You can retrieve the number of purchases using the paymentservice_event_get_number_purchases() function.
The paymentservice_event_get_item_state() function retrieves the state of the digital good. Possible states of digital goods are defined in the item_state_t enumeration.
The state of the digital good.