CaCustomerTypeToggle
Used to toggle globally what customer type should be current (showing prices with or without VAT)
SASS-path: ./styles/components/atoms/ca-customer-type-toggle.scss
Methods
| Method | Description | Parameters |
|---|---|---|
| setCustomerType | Set customer type in state | String |
| getActiveClass | Get active class for toggle | String |
| getLabel | Get label for toggle | String |
| getVatDisplay | Get label for toggle | Boolean |