Static mappings (arrays) for easily working with geographic countries and states defined in NetSuite.

Example


getStateById(3) // returns { 'country': 'US','fullname': 'Arkansas','id': 3,'shortname': 'AR' }
getStateById(-123) // returns undefined
getStateByShortName('CA') // returns 4
stateMapping.filter( state => state.country === 'US') // array of states in USA
getCountryById('US') // {'uniquekey': 230,'name': 'United States', 'edition': 'US','id': 'US' }

Index

Interfaces

Variables

Functions

Generated using TypeDoc