TestOrder class

Constructors

TestOrder({TestOrderDeliveryDetails? deliveryDetails, bool? enableOrderinvoices, String? kind, List<TestOrderLineItem>? lineItems, String? notificationMode, TestOrderPickupDetails? pickupDetails, String? predefinedBillingAddress, String? predefinedDeliveryAddress, String? predefinedEmail, String? predefinedPickupDetails, List<OrderPromotion>? promotions, Price? shippingCost, String? shippingOption})
TestOrder.fromJson(Map json_)

Properties

deliveryDetails TestOrderDeliveryDetails?
Overrides the predefined delivery details if provided.
getter/setter pair
enableOrderinvoices bool?
Whether the orderinvoices service should support this order.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
kind String?
Identifies what kind of resource this is.
getter/setter pair
lineItems List<TestOrderLineItem>?
Line items that are ordered.
getter/setter pair
notificationMode String?
Restricted.
getter/setter pair
pickupDetails TestOrderPickupDetails?
Overrides the predefined pickup details if provided.
getter/setter pair
predefinedBillingAddress String?
The billing address.
getter/setter pair
predefinedDeliveryAddress String?
Identifier of one of the predefined delivery addresses for the delivery.
getter/setter pair
predefinedEmail String?
Email address of the customer.
getter/setter pair
predefinedPickupDetails String?
Identifier of one of the predefined pickup details.
getter/setter pair
promotions List<OrderPromotion>?
Promotions associated with the order.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shippingCost Price?
The price of shipping for all items.
getter/setter pair
shippingOption String?
The requested shipping option.
getter/setter pair

Methods

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