Log in
Interface

ShippingAssignmentInterface

Magento\Quote\Api\Data\ShippingAssignmentInterface

What it does

This interface defines a shipping assignment that groups cart items with their shipping information during quote processing.

Developers use it when working with multi-shipping scenarios or when items in a cart need different shipping methods, as it associates specific items with shipping details like address and method.

Public Methods

  • getShipping()
  • setShipping()
  • getItems()
  • setItems()
  • getExtensionAttributes()
  • setExtensionAttributes()