Order class

Constructors

Order()

Properties

amount ↔ double?
Order total amount
getter/setter pair
callback_url ↔ String?
Order calback webhook URL
getter/setter pair
content ↔ List<Item>?
Order summary of items or products
getter/setter pair
currency ↔ String?
Order currency code alpha-3
getter/setter pair
customer_email ↔ String?
Order customer email
getter/setter pair
customer_name ↔ String?
Order customer name
getter/setter pair
extras ↔ Map<String, String>?
Order extra properties
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String?
Order ID
getter/setter pair
note ↔ String?
Order note or aditional instructions
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shipping_amount ↔ double?
Order total shipping amount
getter/setter pair
tax_amount ↔ double?
Order total tax amount
getter/setter pair

Methods

addExtra(String key, dynamic value) → Order
Add extra property to order
addItem(Item item) → Order
Add item to content list of products/items
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
totalize() → Order
Totalize order amounts and items

Operators

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