paymentservice_purchase_arguments_set_extra_parameter()

Add an extra input parameter, as a key/value pair, to the purchase request.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

purchase_arguments

The purchase_arguments_t in which to add the extra parameter.

key

The key of the extra parameter to be set.

value

The value of the extra parameter to be set.

Library:

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

Description:

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno value set otherwise.

Last modified: 2014-09-30



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

comments powered by Disqus