Log in
Model

DefaultShippingAddressChooser

Magento\InstantPurchase\Model\ShippingAddressChoose\DefaultShippingAddressChooser

What it does

This class selects the default shipping address for a customer during the instant purchase process.

Developers would use this when implementing instant purchase functionality where the system needs to automatically choose which shipping address to use, defaulting to the customer's primary shipping address if one exists.

Public Methods

  • choose()