NAME
Interchange6::Schema::Result::Country
DESCRIPTION
ISO 3166-1 codes for country identification
ACCESSORS
country_iso_code
Primary key.
Two letter country code such as 'SI' = Slovenia.
scope
Internal sorting field.
name
Full country name.
priority
Display order.
show_states
Whether this country has related Interchange6::Schema::Result::State via relationship "states". Default is false. This is used so that we don't have to bother running a query across the states relation every time we want to check if the country has states (or provinces, etc. ).
active
Active shipping destination? Default is true.
RELATIONSHIPS
zone_countries
has_many
relationship with Interchange6::Schema::Result::ZoneCountry
zones
many_to_many
relationship with Interchange6::Schema::Result::Zone
states
has_many
relationship with Interchange6::Schema::Result::State