paymentservice_event_get_subscription_exists()

Retrieve the attribute that indicates whether a subscription exists from a CHECK_EXISTING_RESPONSE event.

Synopsis:

#include <bps/paymentservice.h>
 
BPS_API bool paymentservice_event_get_subscription_exists(bps_event_t *event)

Since:

BlackBerry 10.0.0

Arguments:

event

The event containing the subscription information.

Library:

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

Description:

The paymentservice_event_get_subscription_exists() function retrieves the attribute that indicates whether a subscription exists from the specified CHECK_EXISTING_RESPONSE event. The response code of the CHECK_EXISTING_RESPONSE event must be SUCCESS_RESPONSE.

Returns:

true if the digital good subscription exists, false otherwise.

Last modified: 2014-05-14



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

comments powered by Disqus