DVHttpPurchaseBackend class
DVPurchaseBackend over the generated /_dartvel/purchases endpoints.
- Implemented types
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
- send → DVPurchaseSend
-
final
Methods
-
accountToken(
) → Future< String> -
The account token the store must carry for the signed-in person.
override
-
checkout(
String productId) → Future< Uri> -
The gateway's checkout page for
productId.override -
entitlements(
) → Future< List< DVEntitlementSnapshot> > -
override
-
invoice(
String productId) → Future< DVStoreInvoice> -
A Telegram Stars invoice for
productId.override -
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.override -
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.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- accountTokenPath → const String
- The endpoint paths, under the API base path. One list, read by the generated server and by this client.
- appleNotificationsPath → const String
- checkoutPath → const String
- entitlementsPath → const String
- invoicePath → const String
- offerSignaturePath → const String
- playNotificationsPath → const String
- telegramNotificationsPath → const String
- verifyPath → const String