DVPurchaseEndpoints class

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

accountToken(Request request) → Future<Response>
GET account-token: the token a purchase sheet carries for this session, so a receipt can be checked against who it was bought for.
checkout(Request request) → Future<Response>
POST checkout: {product}, answered with the gateway's {url}.
entitlements(Request request) → Future<Response>
GET entitlements: what the session holds, as snapshots with an end.
invoice(Request request) → Future<Response>
POST invoice: {product}, answered with a Telegram Stars invoice.
notification(Request request, DVStore store) → Future<Response>
POST notifications/<store>: a store server notification.
offerSignature(Request request) → Future<Response>
POST offer-signature: {product, offer}, answered with the signature an App Store promotional offer is opened with.
verify(Request request) → Future<Response>
POST verify: {store, receipts}, answered with a DVPurchaseVerdict.

Constants

deviceMaxBytes → const int
The largest body a device call reads: a restore of many receipts.
maxReceipts → const int
The most receipts one restore presents.
notificationMaxBytes → const int
The largest store notification read. Apple's signed payloads carry three certificate chains.