SpendReceipt

data class SpendReceipt(val peerId: String, val at: Instant, val instrumentId: String, val amount: BigDecimal, val receiver: String, val autoApproved: Boolean, val commandId: String)

One approved, executed spend by one peer. The ledger's receipts are the source of truth for the rolling daily cap and for the app's receipts UI, which is why they are written only after execution succeeds.

Constructors

Link copied to clipboard
constructor(peerId: String, at: Instant, instrumentId: String, amount: BigDecimal, receiver: String, autoApproved: Boolean, commandId: String)

Properties

Link copied to clipboard
Link copied to clipboard
val at: Instant
Link copied to clipboard

True when the policy approved without asking the approver.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

DappPeer.id of the session that spent.

Link copied to clipboard