SetCartAsInactive
Magento\PaymentServicesPaypalGraphQl\Model\Resolver\SetCartAsInactive
What it does
This GraphQL resolver handles requests to mark a shopping cart as inactive in Magento 2's PayPal payment services integration.
Developers would use this when implementing custom checkout flows where they need to programmatically deactivate a cart after payment completion or cancellation via GraphQL API.
It converts masked cart IDs to actual quote IDs, updates the cart's active status, and returns success/error responses.
Public Methods
- resolve()