zibri
    Preparing search index...

    Type Alias AllowedCancellationMethods<Methods, P>

    AllowedCancellationMethods: {
        [K in Methods[number]]: ProviderInstanceForMethod<Methods, K, P> extends PaymentProviderInterface<
            infer _SM,
            infer _PaymentDataMap,
            infer _ValidatedMap,
            infer _ProviderPaymentDataMap,
            infer _ProviderReservationPaymentDataMap,
            infer CancellationSupport,
            infer _RefundSupport,
            infer ReservationSupport,
        >
            ? CancellationSupport[K] extends true
                ? K
                : ReservationSupport[K] extends true ? K : never
            : never
    }[Methods[number]]

    Filters to all methods that are allowed for cancellation.

    Type Parameters