Skip to content

Country

The country object represents information about country in the storefront.

classDiagram
  direction LR
  class Country{
    int id
    string code
    string name
  }

Properties

Attribute name Type Description
id int The unique identifier of the country.
code string Iso code (ISO 3166) of the country.
name string The localized name of the country.

Examples

id property

{{ country.id }}
1

code property

{{ country.code }}
PL

name property

{{ country.name }}
Poland