OrderLineItem class
Constructors
-
OrderLineItem({List<
OrderLineItemAdjustment> ? adjustments, List<OrderMerchantProvidedAnnotation> ? annotations, List<OrderCancellation> ? cancellations, String? id, Price? price, OrderLineItemProduct? product, int? quantityCanceled, int? quantityDelivered, int? quantityOrdered, int? quantityPending, int? quantityReadyForPickup, int? quantityReturned, int? quantityShipped, int? quantityUndeliverable, OrderLineItemReturnInfo? returnInfo, List<OrderReturn> ? returns, OrderLineItemShippingDetails? shippingDetails, Price? tax}) - OrderLineItem.fromJson(Map json_)
Properties
-
adjustments
↔ List<
OrderLineItemAdjustment> ? -
Price and tax adjustments applied on the line item.
getter/setter pair
-
annotations
↔ List<
OrderMerchantProvidedAnnotation> ? -
Annotations that are attached to the line item.
getter/setter pair
-
cancellations
↔ List<
OrderCancellation> ? -
Cancellations of the line item.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
The ID of the line item.
getter/setter pair
- price ↔ Price?
-
Total price for the line item.
getter/setter pair
- product ↔ OrderLineItemProduct?
-
Product data as seen by customer from the time of the order placement.
getter/setter pair
- quantityCanceled ↔ int?
-
Number of items canceled.
getter/setter pair
- quantityDelivered ↔ int?
-
Number of items delivered.
getter/setter pair
- quantityOrdered ↔ int?
-
Number of items ordered.
getter/setter pair
- quantityPending ↔ int?
-
Number of items pending.
getter/setter pair
- quantityReadyForPickup ↔ int?
-
Number of items ready for pickup.
getter/setter pair
- quantityReturned ↔ int?
-
Number of items returned.
getter/setter pair
- quantityShipped ↔ int?
-
Number of items shipped.
getter/setter pair
- quantityUndeliverable ↔ int?
-
Number of items undeliverable.
getter/setter pair
- returnInfo ↔ OrderLineItemReturnInfo?
-
Details of the return policy for the line item.
getter/setter pair
-
returns
↔ List<
OrderReturn> ? -
Returns of the line item.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shippingDetails ↔ OrderLineItemShippingDetails?
-
Details of the requested shipping for the line item.
getter/setter pair
- tax ↔ Price?
-
Total tax amount for the line item.
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