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
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