Free the memory that is used by a purchase arguments structure.
#include <bps/paymentservice.h>
BPS_API int paymentservice_purchase_arguments_destroy(purchase_arguments_t *purchase_arguments)
BlackBerry 10.0.0
The purchase_arguments_t whose memory needs to be freed. Note that the pointer to the structure is not freed.
The paymentservice_purchase_arguments_destroy() function frees the memory that is used by the specified purchase_arguments_t structure.
BPS_SUCCESS upon success, BPS_FAILURE with errno value set otherwise.