Retrieve the result of a request to cancel a subscription.
#include <bps/paymentservice.h>
BPS_API bool paymentservice_event_get_cancelled(bps_event_t *event)
BlackBerry 10.0.0
The event containing the purchase cancellation response.
The paymentservice_event_get_cancelled() function retrieves the result of a request to cancel a subscription to a digital good from the specified CANCEL_SUBSCRIPTION_RESPONSE event. The response code of the CANCEL_SUBSCRIPTION_RESPONSE event must be SUCCESS_RESPONSE.
true if the purchase was cancelled, false otherwise.