cancel Subscription With
Cancels an active subscription immediately.
Return
A pair containing the cancelled Subscription on success, or a NetworkingError on failure.
Parameters
subscription Id
The unique ID of the subscription to cancel.
fun cancelSubscriptionWith(subscriptionId: String, completionHandler: (Subscription?, NetworkingError?) -> Unit)
Cancels an active subscription immediately and delivers the result via callback.
Parameters
subscription Id
The unique ID of the subscription to cancel.
completion Handler
Invoked with the cancelled Subscription on success, or a NetworkingError on failure.