paymentservice_purchase_arguments_set_metadata()

Attach (optional) metadata to the purchase request.

Synopsis:

#include <bps/paymentservice.h>
 
BPS_API int paymentservice_purchase_arguments_set_metadata(purchase_arguments_t *purchase_arguments,
                                                           const char *metadata)

Since:

BlackBerry 10.0.0

Arguments:

purchase_arguments

The purchase_arguments_t in which to set the metadata.

metadata

The metadata to be set.

Library:

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

Description:

See paymentservice_purchase_request() for more information on the use of purchase metadata.

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