Model
OrderIsVirtual
Magento\SalesGraphQl\Model\Resolver\OrderIsVirtual
What it does
This resolver determines whether a customer order contains only virtual products (downloadable or non-shippable items) in Magento's GraphQL API.
Developers use this when building storefronts that need to conditionally display shipping information or physical product handling options based on whether an order requires physical delivery.
Public Methods
- resolve()