PurchaseSession class

Purchase information

TODO complete adding the purchase properties from /puchase/{doc-id}

Constructors

PurchaseSession({Map<String, dynamic> data, String id, String applicationUserName, Timestamp beginAt, String displayName, String email, Timestamp endAt, String phoneNumber, String photoURL, String status, String uid, PurchaseDocumentProductDetails productDetails, PurchaseDocumentPurchaseDetails purchaseDetails})
PurchaseSession.fromSnapshot(dynamic snapshot)
factory

Properties

applicationUserName String
applicationUserName is used as session id.
read / write
beginAt Timestamp
beginAt is the timestamp when the purchase session began.
read / write
data Map<String, dynamic>
data hold the document data.
read / write
displayName String
User's displayName, email, phoneNumber, photoURL, uid
read / write
email String
read / write
endAt Timestamp
endAt is the timestamp when the purchase session ended.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
id String
id is the document id of Firestore
read / write
phoneNumber String
read / write
photoURL String
read / write
productDetails PurchaseDocumentProductDetails
read / write
purchaseDetails PurchaseDocumentPurchaseDetails
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
sessionId String
read-only
status String
read / write
uid String
read / write

Methods

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

Operators

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