paymentservice_event_get_end_date()

Retrieve the end date of a digital good subscription.

Synopsis:

#include <bps/paymentservice.h>
 
BPS_API const char* paymentservice_event_get_end_date(bps_event_t *event,
                                                      unsigned int index)

Since:

BlackBerry 10.0.0

Arguments:

event

The event containing the array of existing purchases.

index

The index into the array of existing purchases. You can specify an index value that ranges from zero to the number of purchases minus one. You can retrieve the number of purchases using the paymentservice_event_get_number_purchases() function.

Library:

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

Description:

The paymentservice_event_get_end_date() function gets the end date of a digital good subscription.

Returns:

The end date of the purchased digital good subscription, or a NULL value if the digital good is not a subscription.

Last modified: 2014-09-30



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

comments powered by Disqus