Application Load

ICartDelivery

The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.

ICartDelivery

Checkout delivery group.

app/interfaces/orionplace/cart/ICartData.ts
TypeScript
export interface ICartDelivery {
  // Delivery-group ID.
  delivery_from_id: number;
  // Delivery price is preliminary.
  delivery_price_is_estimate: boolean;
  // Store details and available delivery types.
  from_store: ICartStore | null;
  // Product, option and delivery totals.
  prices: ICartDeliveryPrices;
  // Weight by weight-unit ID; volume is passed through the backend length-unit
  // conversion.
  measures: {
    // Value of package_weight.
    package_weight: IUnitValues;
    // Value of package_volume_cm.
    package_volume_cm: IUnitValues;
  };
  // Selected delivery details.
  delivery_data: ICartDeliveryData;
  // Total quantity counted for this delivery group.
  total_quantity: number;
  // Products assigned to the shipment group. An unavailable product can be
  // `null`.
  product_items: Array<ICartCheckoutProduct | null>;
}