woocommerce-paypal-payments/modules/ppcp-settings/resources/js/data/constants.js
Philipp Stracker ee2c374f79
♻️ Move constants to a central config file
Reason: The constants are also used by the store and are synced to the server. Their use is not isolated to the specific component
2024-10-30 17:02:01 +01:00

13 lines
288 B
JavaScript

export const NAMESPACE = '/wc/v3/wc_paypal';
export const STORE_NAME = 'wc/paypal';
export const BUSINESS_TYPES = {
CASUAL_SELLER: 'casual_seller',
BUSINESS: 'business',
};
export const PRODUCT_TYPES = {
VIRTUAL: 'virtual',
PHYSICAL: 'physical',
SUBSCRIPTIONS: 'subscriptions',
};