bulk Update Subscription Phases
suspend fun bulkUpdateSubscriptionPhases(subscriptionId: String, request: SubscriptionPhaseRequest.BulkUpdateSubscriptionPhaseRequest): Pair<List<SubscriptionPhase>?, NetworkingError?>
Replaces all phases on the specified subscription in a single request.
Return
A pair of the updated list of SubscriptionPhase objects and any NetworkingError that occurred.
Parameters
subscription Id
The ID of the subscription whose phases to replace.
request
The full set of phases to apply.
fun bulkUpdateSubscriptionPhases(subscriptionId: String, request: SubscriptionPhaseRequest.BulkUpdateSubscriptionPhaseRequest, completionHandler: (List<SubscriptionPhase>?, NetworkingError?) -> Unit)
Replaces all phases on the specified subscription in a single request and delivers the result via callback.
Parameters
subscription Id
The ID of the subscription whose phases to replace.
request
The full set of phases to apply.
completion Handler
Callback invoked with the updated list of SubscriptionPhase objects and any NetworkingError.