Options
All
  • Public
  • Public/Protected
  • All
Menu

Record that stores status information about one purchase, starting from when the customer accepts a proposal. Includes refund status if applicable.

Hierarchy

  • PurchaseRecord

Index

Properties

abortStatus

abortStatus: AbortStatus

autoRefundDeadline

autoRefundDeadline: undefined | Timestamp

Continue querying the refund status until this deadline has expired.

coinDepositPermissions

coinDepositPermissions: undefined | CoinDepositPermission[]

Deposit permissions, available once the user has accepted the payment.

This value is cached and derived from payCoinSelection.

download

Downloaded and parsed proposal data.

lastPayError

lastPayError: undefined | TalerErrorDetails

lastRefundStatusError

lastRefundStatusError: undefined | TalerErrorDetails

Last error (or undefined) for querying the refund status with the merchant.

lastSessionId

lastSessionId: undefined | string

Last session signature that we submitted to /pay (if any).

merchantPaySig

merchantPaySig: undefined | string

noncePriv

noncePriv: string

Private key for the nonce.

noncePub

noncePub: string

Public key for the nonce.

payCoinSelection

payCoinSelection: PayCoinSelection

payRetryInfo

payRetryInfo: RetryInfo

paymentSubmitPending

paymentSubmitPending: boolean

Set for the first payment, or on re-plays.

Optional pendingRemovedCoinPubs

pendingRemovedCoinPubs: string[]

Pending removals from pay coin selection.

Used when a the pay coin selection needs to be changed because a coin became known as double-spent or invalid, but a new coin selection can't immediately be done, as there is not enough balance (e.g. when waiting for a refresh).

proposalId

proposalId: string

Proposal ID for this purchase. Uniquely identifies the purchase and the proposal.

refundQueryRequested

refundQueryRequested: boolean

Do we need to query the merchant for the refund status of the payment?

refundStatusRetryInfo

refundStatusRetryInfo: RetryInfo

Retry information for querying the refund status with the merchant.

refunds

refunds: {}

Pending refunds for the purchase. A refund is pending when the merchant reports a transient error from the exchange.

Type declaration

timestampAccept

timestampAccept: Timestamp

When was the purchase made? Refers to the time that the user accepted.

timestampFirstSuccessfulPay

timestampFirstSuccessfulPay: undefined | Timestamp

Timestamp of the first time that sending a payment to the merchant for this purchase was successful.

timestampLastRefundStatus

timestampLastRefundStatus: undefined | Timestamp

When was the last refund made? Set to 0 if no refund was made on the purchase.

totalPayCost

totalPayCost: AmountJson

Generated using TypeDoc