Address
zipCode
schemas.address.zipCode().getValue() // '62581'
schemas.address.zipCode().getValue({ format: '###' }) // '453'
Argument | Description |
---|---|
format | Format of the zip code. Example: '###' |
timeZone
schemas.address.timeZone() // Schema
schemas.address.timeZone().getValue() // "Asia/Magadan"
cardinalDirection
schemas.address.cardinalDirection().getValue() // 'North'
country
schemas.address.country().getValue() // 'Spain'
schemas.address.country().getValue({ continent: 'Asia' }) // 'China'
Argument | Description |
---|---|
continent | Continent of the country that you want. ('Asia', 'Africa', 'Oseania', 'Europe', 'South America', 'Noth America', 'Antartica') |
countryCode
schemas.address.countryCode().getValue() // 'CU'