Order class

Represents a Tindie Order

Constructors

Order({required int number, required DateTime date, DateTime? dateShipped, String? discountCode, required String message, required String email, required String phone, String? companyTitle, required String shippingCity, required String shippingCountry, required String shippingCountryCode, String? shippingInstructions, required String shippingName, required String shippingPostcode, required String shippingService, required String shippingState, required String shippingStreet, required double total, required double totalCCFee, required double totalDiscount, required double totalKickback, required double totalSeller, required double totalShipping, required double totalSubtotal, required double totalTindieFee, String? trackingCode, String? trackingUrl, required String payment, required bool refunded, required bool shipped, required List<Item> items})
Order.fromJson(Map<String, dynamic> json)
factory

Properties

companyTitle String?
final
date DateTime
final
dateShipped DateTime?
final
discountCode String?
final
email String
final
firstName → dynamic
no setter
hashCode int
The hash code for this object.
no setterinherited
items List<Item>
final
message String
final
number int
final
payment String
final
phone String
final
refunded bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shipped bool
final
shippingCity String
final
shippingCountry String
final
shippingCountryCode String
final
shippingInstructions String?
final
shippingName String
final
shippingPostcode String
final
shippingService String
final
shippingState String
final
shippingStreet String
final
surName → dynamic
no setter
total double
final
totalCCFee double
final
totalDiscount double
final
totalKickback double
final
totalSeller double
final
totalShipping double
final
totalSubtotal double
final
totalTindieFee double
final
trackingCode String?
final
trackingUrl String?
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