Retrieve the attribute that indicates whether a subscription exists from a CHECK_EXISTING_RESPONSE event.
#include <bps/paymentservice.h>
BPS_API bool paymentservice_event_get_subscription_exists(bps_event_t *event)
BlackBerry 10.0.0
The event containing the subscription information.
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.
true if the digital good subscription exists, false otherwise.