getProductWith

fun getProductWith(productId: String, phaseId: String, completionHandler: (SubscriptionPhase?, NetworkingError?) -> Unit)

Retrieves a specific phase on a product by its identifier and delivers the result via a callback.

Parameters

productId

The unique identifier of the product that owns the phase.

phaseId

The unique identifier of the phase to retrieve.

completionHandler

Invoked with the matching SubscriptionPhase on success, or a NetworkingError on failure.