paymentservice_purchase_arguments_get_extra_parameter_by_key()

Get the value of an extra parameter from the purchase arguments.

Synopsis:

#include <bps/paymentservice.h>
 
BPS_API const char* paymentservice_purchase_arguments_get_extra_parameter_by_key(purchase_arguments_t *purchase_arguments,
                                                                      const char *key)

Since:

BlackBerry 10.0.0

Arguments:

purchase_arguments

The purchase_arguments_t from which to get the value of the extra parameter.

key

The key of the extra parameter value to be retrieved.

Library:

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

Description:

Retrieve the value of the extra parameter with the provided key, which was previously set via paymentservice_purchase_arguments_set_extra_parameter().

Returns:

The value, or NULL if no extra parameter with the provided key has been set.

Last modified: 2014-09-30



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

comments powered by Disqus