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:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

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.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus