fetchUserPlanListFromLinkFive method

  1. @override
Future<LinkFiveActiveProducts> fetchUserPlanListFromLinkFive()
override

Fetches the receipts for a user

if no LinkFive UUID is provided, LinkFive will generate a new user ID

Implementation

@override
Future<LinkFiveActiveProducts> fetchUserPlanListFromLinkFive() async {
  final uri = _makeUri("api/v1/purchases/user");

  final response = await httpClient.get(uri, headers: await _headers);
  return _parseOneTimePurchaseListResponse(response);
}