awaitCustomerInfoEither

suspend fun <Error class: unknown class>.awaitCustomerInfoEither(fetchPolicy: <Error class: unknown class> = CacheFetchPolicy.default()): Either<<Error class: unknown class>, <Error class: unknown class>>

Get the latest available customer info.

Return

An Either.Right containing CustomerInfo if successful, an Either.Left containing a PurchasesError in case of a failure.

Parameters

fetchPolicy

Specifies cache behavior for customer info retrieval.