class Eddy::Segments::N4
### Segment Summary:
-
Id:
N4
-
Name: Geographic Location
-
Purpose: To specify the geographic place of the named party
Public Class Methods
@param store [Eddy::Data::Store] @return [void]
Eddy::Models::Segment::new
# File lib/definitions/segments/generated/n4.rb, line 12 def initialize(store) @id = "N4" @name = "Geographic Location" @n401 = Eddy::Elements::E19.new(ref: "N401", req: "O") @n402 = Eddy::Elements::E156.new(ref: "N402", req: "O") @n403 = Eddy::Elements::E116.new(ref: "N403", req: "O") @n404 = Eddy::Elements::E26.new(ref: "N404", req: "O") super( store, @n401, @n402, @n403, @n404, ) end
Public Instance Methods
### N401
-
Id: 19
-
Name: City Name
-
Type: AN
-
Min/Max: 2/30
-
Description: Free-form text for city name
@param arg [String] @return [void]
# File lib/definitions/segments/generated/n4.rb, line 38 def N401=(arg) @n401.value = arg end
### N402
-
Id: 156
-
Name: State or Province Code
-
Type: ID
-
Min/Max: 2/2
-
Description: Code (Standard State/Province) as defined by appropriate government agency
@param arg [String] @return [void]
# File lib/definitions/segments/generated/n4.rb, line 53 def N402=(arg) @n402.value = arg end
### N403
-
Id: 116
-
Name: Postal Code
-
Type: ID
-
Min/Max: 3/15
-
Description: Code defining international postal zone code excluding punctuation and blanks (zip code for United States)
@param arg [String] @return [void]
# File lib/definitions/segments/generated/n4.rb, line 68 def N403=(arg) @n403.value = arg end
### N404
-
Id: 26
-
Name: Country Code
-
Type: ID
-
Min/Max: 2/3
-
Description: Code identifying the country
@param arg [String] @return [void]
# File lib/definitions/segments/generated/n4.rb, line 83 def N404=(arg) @n404.value = arg end