paymentservice_event_get_price()
Retrieve the price attribute from a GET_PRICE_RESPONSE event.
Synopsis:
#include <bps/paymentservice.h>
BPS_API const char* paymentservice_event_get_price(bps_event_t *event)
Since:
BlackBerry 10.0.0
Arguments:
- event
-
The event containing the price information.
Library:
libbpsDescription:
The paymentservice_event_get_price() function retrieves the price attribute from the specified GET_PRICE_RESPONSE event. The response code of the GET_PRICE_RESPONSE event must be SUCCESS_RESPONSE.
Returns:
The price of the digital good.