zibri
Preparing search index...
plugin/payment/services/payment-service.types
AllowedCancellationMethods
Type Alias AllowedCancellationMethods<Methods, P>
AllowedCancellationMethods
:
{
[
K
in
Methods
[
number
]
]
:
ProviderInstanceForMethod
<
Methods
,
K
,
P
>
extends
{
__cancellationSupportMap
:
infer
CS
;
__reservationSupportMap
:
infer
RS
;
}
?
(
CS
&
Record
<
string
,
any
>
)
[
K
]
extends
true
?
K
:
(
RS
&
Record
<
string
,
any
>
)
[
K
]
extends
true
?
K
:
never
:
never
}
[
Methods
[
number
]
]
Filters to all methods that are allowed for cancellation.
Type Parameters
Methods
extends
readonly
PaymentMethod
[]
P
extends
readonly
AnyPaymentProviderInterface
[]
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
zibri
Loading...
Filters to all methods that are allowed for cancellation.