Functions in paymentservice.hRelated linkspaymentservice.hFunctions and structures to allow users to purchase digital goods in applications using the BlackBerry Platform Services (BPS) Payment Service API. Enumerations in paymentservice.hpaymentservice_cancel_subscription() Cancels a subscription to a digital good. paymentservice_check_existing() Determines whether a subscription digital good is currently active. paymentservice_event_get_cancelled() Retrieves the result of a request to cancel a subscription. paymentservice_event_get_cancelled_purchase_id() Retrieves the purchase ID of a request to cancel a subscription. paymentservice_event_get_date() Retrieves the date of a purchase. paymentservice_event_get_digital_good_id() Retrieves the digital good ID of a purchase. paymentservice_event_get_digital_good_sku() Retrieves the digital good SKU of a purchase. paymentservice_event_get_end_date() Retrieves the end date of a digital good subscription. paymentservice_event_get_error_id() Retrieves the error ID from an event. paymentservice_event_get_error_text() Retrieves the error text from an event. paymentservice_event_get_initial_period() Retrieves the initial period attribute from a GET_PRICE_RESPONSE event. paymentservice_event_get_item_state() Retrieves the state of the digital good. paymentservice_event_get_license_key() Retrieves the digital good license key of a purchase. paymentservice_event_get_metadata() Retrieves the digital good metadata of a purchase. paymentservice_event_get_number_purchases() Retrieves attributes from a PURCHASE_RESPONSE or GET_EXISTING_PURCHASES_RESPONSE event in which the response code indicates that the request was successful. paymentservice_event_get_price() Retrieves the price attribute from a GET_PRICE_RESPONSE event. paymentservice_event_get_purchase_id() Retrieves the unique ID of a purchase. paymentservice_event_get_purchase_initial_period() Retrieves the number of days in the initial period of a subscription. paymentservice_event_get_renewal_period() Retrieves the renewal period attribute from a GET_PRICE_RESPONSE event. paymentservice_event_get_renewal_price() Retrieves the renewal price attribute from a GET_PRICE_RESPONSE event. paymentservice_event_get_request_id() Retrieves the request ID from a Payment Service event. paymentservice_event_get_response_code() Retrieves the response code from a Payment Service event. paymentservice_event_get_start_date() Retrieves the start date of a digital good subscription. paymentservice_event_get_subscription_exists() Retrieves the attribute that indicates whether a subscription exists from a CHECK_EXISTING_RESPONSE event. paymentservice_event_get_transaction_id() Deprecated. paymentservice_get_domain() Retrieves the unique domain ID for the Payment Service. paymentservice_get_existing_purchases_request() Retrieves the previous successful purchases. paymentservice_get_price() Retrieves the price of a digital good. paymentservice_purchase_request() Initiates the purchase of a digital good. paymentservice_request_events() Makes a request to begin receiving events. paymentservice_set_connection_mode() Sets the connection mode.