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