Order constructor
Order({
- required String id,
- required String email,
- required String currencyCode,
- required String customerUrl,
- required LineItemsOrder lineItems,
- required String name,
- required int orderNumber,
- required String processedAt,
- required ShippingAddress? shippingAddress,
- required ShippingAddress? billingAddress,
- required String statusUrl,
- required PriceV2 subtotalPriceV2,
- required PriceV2 totalPriceV2,
- required PriceV2 totalShippingPriceV2,
- required PriceV2 totalTaxV2,
- required String financialStatus,
- required String fulfillmentStatus,
- PriceV2? totalRefundedV2,
- String? phone,
- String? cursor,
- String? canceledAt,
- String? cancelReason,
- List<
SuccessfulFullfilment> ? successfulFulfillments,
Implementation
factory Order({
required String id,
required String email,
required String currencyCode,
required String customerUrl,
required LineItemsOrder lineItems,
required String name,
required int orderNumber,
required String processedAt,
required ShippingAddress? shippingAddress,
required ShippingAddress? billingAddress,
required String statusUrl,
required PriceV2 subtotalPriceV2,
required PriceV2 totalPriceV2,
required PriceV2 totalShippingPriceV2,
required PriceV2 totalTaxV2,
required String financialStatus,
required String fulfillmentStatus,
PriceV2? totalRefundedV2,
String? phone,
String? cursor,
String? canceledAt,
String? cancelReason,
List<SuccessfulFullfilment>? successfulFulfillments,
}) = _Order;