DVStoreInvoice class

An invoice a store wrote for one purchase: Telegram Stars, where the bot writes each invoice because Telegram keeps no product catalogue.

Constructors

DVStoreInvoice({required Uri url, required String receipt})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
receipt → String
What the client presents once it is paid, for the server to look up.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
url → Uri
What the client opens.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Map<String, Object?> json) → DVStoreInvoice