Log in
Model

SalesChannelValidator

Magento\InventoryInStorePickupShipping\Model\Carrier\Validation\SalesChannelValidator

What it does

This validator ensures that a valid sales channel (website) exists before processing in-store pickup shipping rates.

Developers use this class as part of the shipping carrier validation chain to prevent rate calculation errors when the website ID in the rate request is invalid or doesn't exist in the system.

Public Methods

  • validate()