Log in
Interface

GuestPaymentMethodManagementInterface

Magento\Quote\Api\GuestPaymentMethodManagementInterface

What it does

This interface defines payment method management operations for guest (non-logged-in) shopping carts in Magento 2.

Developers use this to set, retrieve, or list available payment methods for guest checkout sessions.

It enables programmatic control over payment options during the guest checkout process through REST/SOAP APIs.

Public Methods

  • set()
  • get()
  • getList()