woocommerce-paypal-payments/modules/ppcp-wc-gateway/resources/js/common/display-manager/condition/BaseCondition.js
Emili Castells Guasch 11105d913b Run eslint autofix
2024-07-12 12:58:34 +02:00

17 lines
262 B
JavaScript

class BaseCondition {
constructor( config, triggerUpdate ) {
this.config = config;
this.status = false;
this.triggerUpdate = triggerUpdate;
}
get key() {
return this.config.key;
}
register() {
// To override.
}
}
export default BaseCondition;