Interface: X12PremiumAddress
Decoded N3 + N4 address block attached to a party. lines is the N3
address lines (1-2 entries); city / state / postalCode come from
N4. All verbatim - no normalization.
Example
import type { X12PremiumAddress } from "@cosyte/x12";
declare const a: X12PremiumAddress;
a.lines[0]; // "500 CORPORATE BLVD"
a.city; // "COLUMBUS"
Properties
city
readonlycity:string|undefined
countryCode
readonlycountryCode:string|undefined
lines
readonlylines: readonlystring[]
postalCode
readonlypostalCode:string|undefined
state
readonlystate:string|undefined