CommercioDocReceipt class

Represents a document receipt that indicates that the document having the given documentUuid present inside the transaction with has txHash and sent by recipientDid has been received from the senderDid.

Annotations
  • @JsonSerializable(includeIfNull: false)

Constructors

CommercioDocReceipt({required String uuid, required String senderDid, required String recipientDid, required String txHash, required String documentUuid, String? proof})
CommercioDocReceipt.fromJson(Map<String, dynamic> json)
factory

Properties

documentUuid String
The shared document unique identifier.
final
hashCode int
The hash code for this object.
no setterinherited
proof String?
Optional reading proof
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
recipientDid String
The sender of the document.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
senderDid String
Must be one of the recipients of the shared document.
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
txHash String
Transaction hash in which the document has been sent.
final
uuid String
Unique receipt identifier.
final

Methods

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

Operators

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