Order class
- Annotations
-
- @JsonSerializable(includeIfNull: false)
Constructors
-
Order({String? id, String? customerId, String? state, OrderSource? source, String? closedAt, String? createdAt, List<
OrderLineItemDiscount> ? discounts, List<OrderFulfillment> ? fulfillments, List<OrderLineItem> ? lineItems, String? locationId, Map<String, String> ? metadata, OrderMoneyAmounts? netAmounts, OrderPricingOptions? pricingOptions, String? referenceId, List<Refund> ? refunds, OrderMoneyAmounts? returnAmounts, List<OrderReturn> ? returns, List<OrderReward> ? rewards, OrderRoundingAdjustment? roundingAdjustment, List<OrderServiceCharge> ? serviceCharges, List<OrderLineItemTax> ? taxes, List<Tender> ? tenders, String? ticketName, Money? totalDiscountMoney, Money? totalMoney, Money? totalServiceChargeMoney, Money? totalTaxMoney, Money? totalTipMoney, String? updatedAt, int? version}) -
Order.fromJson(Map<
String, dynamic> json) -
factory
Properties
- closedAt → String?
-
final
- createdAt → String?
-
final
- customerId → String?
-
final
-
discounts
→ List<
OrderLineItemDiscount> ? -
final
-
fulfillments
→ List<
OrderFulfillment> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
final
-
lineItems
→ List<
OrderLineItem> ? -
final
- locationId → String?
-
final
-
metadata
→ Map<
String, String> ? -
final
- netAmounts → OrderMoneyAmounts?
-
final
- pricingOptions → OrderPricingOptions?
-
final
- referenceId → String?
-
final
-
refunds
→ List<
Refund> ? -
final
- returnAmounts → OrderMoneyAmounts?
-
final
-
returns
→ List<
OrderReturn> ? -
final
-
rewards
→ List<
OrderReward> ? -
final
- roundingAdjustment → OrderRoundingAdjustment?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serviceCharges
→ List<
OrderServiceCharge> ? -
final
- source → OrderSource?
-
final
- state → String?
-
final
-
taxes
→ List<
OrderLineItemTax> ? -
final
-
tenders
→ List<
Tender> ? -
final
- ticketName → String?
-
final
- totalDiscountMoney → Money?
-
final
- totalMoney → Money?
-
final
- totalServiceChargeMoney → Money?
-
final
- totalTaxMoney → Money?
-
final
- totalTipMoney → Money?
-
final
- updatedAt → String?
-
final
- version → int?
-
final
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited