CheckOutResult class

Class object containing the information related to what the user is expecting to pay for after completing the checkout process

Constructors

CheckOutResult({required List<PriceItem> priceItems, required int totalCostCents, required int taxCents, required int subtotalCents})

Properties

hashCode int
The hash code for this object.
no setterinherited
priceItems List<PriceItem>
The list of items the user agreed to pay for
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtotalCents int
The total cost of the items in cents before tax
final
taxCents int
The total tax of the items in cents
final
totalCostCents int
The total cost of the items in cents
final

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