Country

Country

A country to which is available when creating / updating an Address. Countries are grouped together into Zones which are in turn used to determine applicable shipping and taxes for an Order.

Signature

class Country extends VendureEntity implements Translatable {
  constructor(input?: DeepPartial<Country>)
  @Column() code: string;
  name: LocaleString;
  @Column() enabled: boolean;
  @OneToMany(type => CountryTranslation, translation => translation.base, { eager: true })
    translations: Array<Translation<Country>>;
}

Members

constructor

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

code

property
type:
string

name

property
type:
LocaleString

enabled

property
type:
boolean

translations

property
type:
Array<Translation<Country>>