PurchaseReceipt class

Inheritance

Constructors

PurchaseReceipt({required SolAddress bookkeeper, required SolAddress buyer, required SolAddress auctionHouse, required SolAddress seller, required SolAddress metadata, required BigInt price, required BigInt tokenSize, required int bump, required BigInt createdAt})
const
PurchaseReceipt.fromBuffer(List<int> data)
factory

Properties

auctionHouse SolAddress
final
bookkeeper SolAddress
final
bump int
final
buyer SolAddress
final
createdAt BigInt
final
hashCode int
The hash code for this object.
no setterinherited
layout → StructLayout
The layout representing the structure of the object for serialization.
no setteroverride
metadata SolAddress
final
price BigInt
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seller SolAddress
final
tokenSize BigInt
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() Map<String, dynamic>
Serializes the object to a map.
override
toBytes() List<int>
Converts the object to bytes using Borsh serialization.
inherited
toHex() String
Converts the object to a hexadecimal string.
inherited
toString() String
A string representation of this object.
override

Operators

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

Static Properties

size int
no setter