TestOrder class


TestOrder.fromJson(Map _json)


deliveryDetails TestOrderDeliveryDetails
Overrides the predefined delivery details if provided.
read / write
enableOrderinvoices bool
Whether the orderinvoices service should support this order.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
kind String
Identifies what kind of resource this is. Value: the fixed string "content#testOrder"
read / write
lineItems List<TestOrderLineItem>
Required. Line items that are ordered. At least one line item must be provided.
read / write
notificationMode String
Restricted. Do not use.
read / write
pickupDetails TestOrderPickupDetails
Overrides the predefined pickup details if provided.
read / write
predefinedBillingAddress String
Required. The billing address. [...]
read / write
predefinedDeliveryAddress String
Required. Identifier of one of the predefined delivery addresses for the delivery. [...]
read / write
predefinedEmail String
Required. Email address of the customer. [...]
read / write
predefinedPickupDetails String
Identifier of one of the predefined pickup details. Required for orders containing line items with shipping type pickup. [...]
read / write
promotions List<OrderPromotion>
Promotions associated with the order.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
shippingCost Price
Required. The price of shipping for all items. Shipping tax is automatically calculated for orders where marketplace facilitator tax laws are applicable. Otherwise, tax settings from Merchant Center are applied. Note that shipping is not taxed in certain states.
read / write
shippingOption String
Required. The requested shipping option. [...]
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.


operator ==(Object other) bool
The equality operator. [...]