Log in
Interface

ShippingMethodChooserInterface

Magento\InstantPurchase\Model\ShippingMethodChoose\ShippingMethodChooserInterface

What it does

This interface defines the contract for selecting a shipping method during instant purchase checkout for a customer's address.

Developers implement this interface to create custom logic that automatically chooses the most appropriate shipping method, or returns null if no suitable method is available.

It supports both immediate selection and deferred selection patterns for shipping method determination.

Public Methods

  • choose()