UNPKG
@dexpenses/rule-conditions
Version:
latest (1.2.5)
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.0
1.0.5
1.0.4
1.0.3
Condition engine and parser for Dexpenses rules
dexmo007/dexpenses-rule-conditions
@dexpenses/rule-conditions
/
lib
/
condition
/
PaymentMethodCondition.d.ts
8 lines
(7 loc)
•
253 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
Condition
from
'./Condition'
;
import
{
Receipt
}
from
'@dexpenses/core'
;
export
default
class
PaymentMethodCondition
implements
Condition
{
private
paymentMethod;
constructor
(
paymentMethod
:
string
);
test
(
receipt
:
Receipt
):
boolean
; }