update Subscription Phase
suspend fun updateSubscriptionPhase(subscriptionId: String, phaseId: String, request: SubscriptionPhaseRequest.UpdateSubscriptionPhaseRequest): Pair<SubscriptionPhase?, NetworkingError?>
Updates an existing phase on the specified subscription.
Return
A pair of the updated SubscriptionPhase and any NetworkingError that occurred.
Parameters
subscription Id
The ID of the subscription that owns the phase.
phase Id
The ID of the phase to update.
request
The fields to update on the phase.
fun updateSubscriptionPhase(subscriptionId: String, phaseId: String, request: SubscriptionPhaseRequest.UpdateSubscriptionPhaseRequest, completionHandler: (SubscriptionPhase?, NetworkingError?) -> Unit)
Updates an existing phase on the specified subscription and delivers the result via callback.
Parameters
subscription Id
The ID of the subscription that owns the phase.
phase Id
The ID of the phase to update.
request
The fields to update on the phase.
completion Handler
Callback invoked with the updated SubscriptionPhase and any NetworkingError.