Log in
Model

PaymentConfigItemTypeResolver

Magento\PaymentServicesPaypalGraphQl\Model\Resolver\PaymentConfigItemTypeResolver

What it does

This class is a GraphQL type resolver that determines the concrete type for payment configuration items in PaymentServicesPaypal GraphQL queries.

It always returns 'PaymentCommonConfig' as the type, ensuring that GraphQL responses correctly identify payment configuration objects.

Developers use this when implementing GraphQL schemas that need to resolve payment configuration types dynamically.

Public Methods

  • resolveType()