Order class

Constructors

Order.new({required int amount, required String reference, String? description, List<Item>? items, Map<String, dynamic>? metadata, Shipping? shipping, int? tax})
Order.fromJson(Map<String, dynamic> json)
factory

Properties

amount int
final
description String?
final
hashCode int
The hash code for this object.
no setterinherited
items List<Item>?
final
metadata Map<String, dynamic>?
final
reference String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shipping Shipping?
final
tax int?
final

Methods

copyWith({int? amount, String? description, List<Item>? items, Map<String, dynamic>? metadata, String? reference, Shipping? shipping, int? tax}) Order
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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