paymentservice_purchase_arguments_create()

Retrieve a purchase arguments structure to populate.

Synopsis:

#include <bps/paymentservice.h>
 
BPS_API int paymentservice_purchase_arguments_create(purchase_arguments_t **purchase_arguments)

Since:

BlackBerry 10.0.0

Arguments:

purchase_arguments

The pointer at the provided location will be set to point to a purchase_arguments_t structure, which can be populated via the paymentservice_purchase_arguments_set functions.

Library:

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

Description:

Once populated, you can pass the purchase_arguments_t structure to paymentservice_purchase_request_with_arguments().

The caller must call paymentservice_purchase_arguments_destroy() when done with this structure.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno value set otherwise.

Last modified: 2014-05-14



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

comments powered by Disqus