Log in
Interface

ShippingInformationInterface

Magento\Checkout\Api\Data\ShippingInformationInterface

What it does

This interface defines the structure for shipping information data during Magento 2 checkout.

Developers use this to handle shipping and billing addresses, along with shipping method and carrier codes when processing checkout steps.

It's commonly used when saving shipping information before payment or when implementing custom checkout flows.

Public Methods

  • getShippingAddress()
  • setShippingAddress()
  • getBillingAddress()
  • setBillingAddress()
  • getShippingMethodCode()
  • setShippingMethodCode()
  • getShippingCarrierCode()
  • setShippingCarrierCode()
  • getExtensionAttributes()
  • setExtensionAttributes()