DVPurchaseBackend class abstract
The device's view of its own backend, for purchases.
Every call is made as the signed-in person: the server reads who from the session, never from anything in the request.
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
-
accountToken(
) → Future< String> - The account token the store must carry for the signed-in person.
-
checkout(
String productId) → Future< Uri> -
The gateway's checkout page for
productId. -
entitlements(
) → Future< List< DVEntitlementSnapshot> > -
invoice(
String productId) → Future< DVStoreInvoice> -
A Telegram Stars invoice for
productId. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
signOffer(
String productId, String offerId) → Future< DVStoreOfferSignature> -
The server's signature for App Store promotional offer
offerId. -
toString(
) → String -
A string representation of this object.
inherited
-
verify(
DVStore store, List< String> receipts) → Future<DVPurchaseVerdict> -
Verifies
receiptsfromstoreand answers with what is now held.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited