mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
17 lines
262 B
JavaScript
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;
|