Order class

Constructors

Order({int? id, int? orderNumber, String? createdAt, String? updatedAt, String? completedAt, String? status, String? currency, String? total, String? subtotal, int? totalLineItemsQuantity, String? totalTax, String? totalShipping, String? cartTax, String? shippingTax, String? totalDiscount, String? shippingMethods, PaymentDetail? paymentDetails, Billing? billingAddress, Shipping? shippingAddress, String? note, String? customerIp, String? customerUserAgent, int? customerId, String? viewOrderUrl, List<LineItem>? lineItems, List<ShippingLine>? shippingLines, List<TaxLine>? taxLines, List<FeeLine>? feeLines, List<CouponLine>? couponLines, Customer? customer})
Order.fromJson(String source)
factory
Order.fromMap(Map<String, dynamic> map)
factory

Properties

billingAddress Billing?
final
cartTax String?
final
completedAt String?
final
couponLines List<CouponLine>?
final
createdAt String?
final
currency String?
final
customer Customer?
final
customerId int?
final
customerIp String?
final
customerUserAgent String?
final
feeLines List<FeeLine>?
final
hashCode int
The hash code for this object.
no setteroverride
id int?
final
lineItems List<LineItem>?
final
note String?
final
orderNumber int?
final
paymentDetails → PaymentDetail?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shippingAddress Shipping?
final
shippingLines List<ShippingLine>?
final
shippingMethods String?
final
shippingTax String?
final
status String?
final
subtotal String?
final
taxLines List<TaxLine>?
final
total String?
final
totalDiscount String?
final
totalLineItemsQuantity int?
final
totalShipping String?
final
totalTax String?
final
updatedAt String?
final
viewOrderUrl String?
final

Methods

copyWith({int? id, int? orderNumber, String? createdAt, String? updatedAt, String? completedAt, String? status, String? currency, String? total, String? subtotal, int? totalLineItemsQuantity, String? totalTax, String? totalShipping, String? cartTax, String? shippingTax, String? totalDiscount, String? shippingMethods, PaymentDetail? paymentDetails, Billing? billingAddress, Shipping? shippingAddress, String? note, String? customerIp, String? customerUserAgent, int? customerId, String? viewOrderUrl, List<LineItem>? lineItems, List<ShippingLine>? shippingLines, List<TaxLine>? taxLines, List<FeeLine>? feeLines, List<CouponLine>? couponLines, Customer? customer}) Order
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object o) bool
The equality operator.
override