Log in
Interface

GroupExcludedWebsiteInterface

Magento\Customer\Api\Data\GroupExcludedWebsiteInterface

What it does

This interface defines the contract for managing customer group exclusions from specific websites in a multi-website Magento installation.

Developers use this when they need to prevent certain customer groups from being available on particular websites, allowing for fine-grained control over customer segmentation across different store views.

It provides methods to get and set the relationship between customer groups and excluded websites.

Public Methods

  • getGroupWebsiteId()
  • setGroupWebsiteId()
  • getGroupId()
  • setGroupId()
  • getExcludedWebsiteId()
  • setExcludedWebsiteId()
  • getExtensionAttributes()
  • setExtensionAttributes()