RedeemReceipt class

Typed LiveOrderRedeemed receipt.

Constructors

RedeemReceipt({required String marketId, required String accountId, required String owner, required BigInt orderId, required BigInt positionRootId, required double quantityClosed, required double remaining, required BigInt? replacementOrderId, required double proceeds, required double gross, required RedeemReceiptFees fees, required String? builderCodeId, required RedeemReceiptRaw raw})
const

Properties

accountId → String
final
builderCodeId → String?
final
fees → RedeemReceiptFees
final
gross → double
Gross close value before fees (the event's redeem_amount).
final
hashCode → int
The hash code for this object.
no setterinherited
marketId → String
final
orderId → BigInt
final
owner → String
final
positionRootId → BigInt
final
proceeds → double
NET quote credited to the account: gross + inventoryImpactRebate − trading − builder − penalty — the same expression the chain asserts min_proceeds against, and what settle_live_redeem_payment actually deposits.
final
quantityClosed → double
final
raw → RedeemReceiptRaw
final
remaining → double
final
replacementOrderId → BigInt?
A partial close RETIRES the old order id and issues this replacement for the remaining quantity — update your stored id or it goes silently stale.
final
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