woocommerce-paypal-payments/modules/ppcp-wc-gateway/resources/js/common/display-manager/condition/BaseCondition.js

19 lines
310 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;