The PaymentMethodEligibilityChecker class is used to check whether an order qualifies for a given PaymentMethod.
Example
ConfigurableOperationDef<T>Configuration passed into the constructor of a PaymentMethodEligibilityChecker to configure its behavior.
ConfigurableOperationDefOptions<T>CheckPaymentMethodEligibilityCheckerFn<T>A function which implements logic to determine whether a given Order is eligible for
a particular payment method. If the function resolves to false or a string, the check is
considered to have failed. A string result can be used to provide information about the
reason for ineligibility, if desired.