CustomerGroup

CustomerGroup

A grouping of Customers which enables features such as group-based promotions or tax rules.

Signature

class CustomerGroup extends VendureEntity {
  constructor(input?: DeepPartial<CustomerGroup>)
  @Column() name: string;
  @ManyToMany(type => Customer)
    customers: Customer[];
}

Members

constructor

method
type:
(input?: DeepPartial<CustomerGroup>) => CustomerGroup

name

property
type:
string

customers

property
type:
Customer[]