getSubscriptionPhaseWith

suspend fun getSubscriptionPhaseWith(subscriptionId: String, phaseId: String): Pair<SubscriptionPhase?, NetworkingError?>

Fetches a single phase by ID from the specified subscription.

Return

A pair of the matching SubscriptionPhase and any NetworkingError that occurred.

Parameters

subscriptionId

The ID of the subscription that owns the phase.

phaseId

The ID of the phase to retrieve.