LinkFiveClientInterface class abstract
HTTP client to LinkFive
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
changeUserId(
String? userId) → Future< LinkFiveActiveProducts> - Should change the USER ID.
-
fetchLinkFiveResponse(
) → Future< LinkFiveResponseData> - Call to LinkFive to get the subscriptions to show
-
fetchUserPlanListFromLinkFive(
) → Future< LinkFiveActiveProducts> - Fetches the receipts for a user
-
init(
LinkFiveEnvironment env, LinkFiveAppDataStore appDataStore) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
purchaseGooglePlay(
GooglePlayPurchaseDetails purchaseDetails, GooglePlayProductDetails productDetails) → Future< LinkFiveActiveProducts> - after a purchase on Google we call the purchases/google We don't need to do this on Android
-
purchaseGooglePlayOneTimePurchase(
GooglePlayPurchaseDetails purchaseDetails, OneTimePurchaseOfferDetailsWrapper otpDetails) → Future< LinkFiveActiveProducts> - after a one time purchase purchase on Google we post the data to LinkFIve
-
purchaseIos(
{required AppStoreProductDetails? productDetails, required AppStorePurchaseDetails purchaseDetails}) → Future< LinkFiveActiveProducts> - after a purchase on ios we call the purchases/apple We don't need to do this on Android
-
restoreGoogle(
List< LinkFiveRestoreGoogleItem> restoreList) → Future<LinkFiveActiveProducts> - RESTORE GOOGLE PLAY STORE
-
restoreIos(
List< LinkFiveRestoreAppleItem> restoreList) → Future<LinkFiveActiveProducts> - RESTORE APPLE APP STORE
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited