DVBachsCheckout class

A checkout session as Bachs reports it, read back to confirm a payment.

Constructors

DVBachsCheckout({required String id, required String status, required String? paymentStatus, DVMoney? amount, String? customer, String? plan})
const

Properties

amount → DVMoney?
What the checkout charges, null when Bachs reports an amount this cannot read exactly.
final
customer → String?
The Bachs customer id, null for a guest checkout.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
Whether money was collected: the session completed and its payment succeeded. A redirect to the success URL proves neither, which is why this reads the session rather than trusting the return.
no setter
paymentStatus → String?
succeeded, processing, failed and the rest of Bachs' payment lifecycle; null when nothing has been attempted.
final
plan → String?
The Dartvel plan id the checkout was opened for, null for one this provider did not open.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → String
open, completed, expired or cancelled.
final

Methods

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

Operators

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