mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
19 lines
310 B
JavaScript
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;
|