Zone
Zone
A Zone is a grouping of one or more Country entities. It is used for calculating applicable shipping and taxes.
Signature
class Zone extends VendureEntity implements HasCustomFields {
constructor(input?: DeepPartial<Zone>)
@Column() @Column() name: string;
@ManyToMany(type => Region) @JoinTable() @ManyToMany(type => Region)
@JoinTable()
members: Region[];
@Column(type => CustomZoneFields) @Column(type => CustomZoneFields)
customFields: CustomZoneFields;
}
Extends
Implements
- HasCustomFields
Members
constructor
method
type:
(input?: DeepPartial<Zone>) => Zone
name
property
type:
string
members
property
type:
Region[]
customFields
property
type:
CustomZoneFields