Log in
Model

AssignShippingAddressToCart

Magento\QuoteGraphQl\Model\Cart\AssignShippingAddressToCart

What it does

This class assigns a shipping address to a shopping cart in GraphQL operations.

Developers use this when implementing GraphQL mutations for setting shipping addresses during checkout, handling virtual cart validation and converting standard exceptions to GraphQL-specific exceptions for proper API error responses.

Public Methods

  • execute()