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, HasCustomFields {
constructor(input?: DeepPartial<Country>)
@Column() code: string;
name: LocaleString;
@Column() enabled: boolean;
@OneToMany(type => CountryTranslation, translation => translation.base, { eager: true })
translations: Array<Translation<Country>>;
@Column(type => CustomCountryFields)
customFields: CustomCountryFields;
}
Extends
Implements
- Translatable
- HasCustomFields
Members
constructor
(input?: DeepPartial<Country>) => Country
code
string
name
LocaleString
enabled
boolean
translations
Array<Translation<Country>>
customFields
CustomCountryFields