This document is for a version of Craft Commerce that is no longer supported. Please refer to the
latest version →
CountryModels objects have the following attributes and methods:
The address record ID.
The countries name (required).
The country’s ISO code (required).
A boolean, which determines if the state is required when this country is selected.
A URL to edit this country in the control panel.