getPurchase

abstract suspend fun getPurchase(guid: String): Result<SdkSuccessAnswer.GetPurchase>

Returns a single purchase with its operations.

Return

Result.Success with SdkSuccessAnswer.GetPurchase when the purchase is found, or Result.Error when it does not exist or the call fails.

Parameters

guid

purchase identifier.