Class: Eddy::Segments::N1
- Inherits:
-
Models::Segment
- Object
- Models::Segment
- Eddy::Segments::N1
- Defined in:
- lib/definitions/segments/generated/n1.rb
Overview
Segment Summary:
- Id: N1
- Name: Name
- Purpose: To identify a party by type of organization, name, and code
Instance Attribute Summary
Attributes inherited from Models::Segment
#elements, #id, #name, #skip, #store
Instance Method Summary collapse
- #initialize(store) ⇒ void constructor
-
#N101=(arg) ⇒ void
(also: #EntityIdentifierCode=)
N101.
-
#N102=(arg) ⇒ void
(also: #Name=)
N102.
-
#N103=(arg) ⇒ void
(also: #IdentificationCodeQualifier=)
N103.
-
#N104=(arg) ⇒ void
(also: #IdentificationCode=)
N104.
Methods inherited from Models::Segment
Constructor Details
#initialize(store) ⇒ void
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/definitions/segments/generated/n1.rb', line 12 def initialize(store) @id = "N1" @name = "Name" @n101 = Eddy::Elements::E98.new(ref: "N101", req: "M") @n102 = Eddy::Elements::E93.new(ref: "N102", req: "X") @n103 = Eddy::Elements::E66.new(ref: "N103", req: "X") @n104 = Eddy::Elements::E67.new(ref: "N104", req: "X") super( store, @n101, @n102, @n103, @n104, ) end |
Instance Method Details
#N101=(arg) ⇒ void Also known as: EntityIdentifierCode=
This method returns an undefined value.
N101
- Id: 98
- Name: Entity Identifier Code
- Type: ID
- Min/Max: 2/3
- Description: Code identifying an organizational entity, a physical location, property or an individual
38 39 40 |
# File 'lib/definitions/segments/generated/n1.rb', line 38 def N101=(arg) @n101.value = arg end |
#N102=(arg) ⇒ void Also known as: Name=
This method returns an undefined value.
N102
- Id: 93
- Name: Name
- Type: AN
- Min/Max: 1/60
- Description: Free-form name
53 54 55 |
# File 'lib/definitions/segments/generated/n1.rb', line 53 def N102=(arg) @n102.value = arg end |
#N103=(arg) ⇒ void Also known as: IdentificationCodeQualifier=
This method returns an undefined value.
N103
- Id: 66
- Name: Identification Code Qualifier
- Type: ID
- Min/Max: 1/2
- Description: Code designating the system/method of code structure used for Identification Code (67)
68 69 70 |
# File 'lib/definitions/segments/generated/n1.rb', line 68 def N103=(arg) @n103.value = arg end |
#N104=(arg) ⇒ void Also known as: IdentificationCode=
This method returns an undefined value.
N104
- Id: 67
- Name: Identification Code
- Type: AN
- Min/Max: 2/80
- Description: Code identifying a party or other code
83 84 85 |
# File 'lib/definitions/segments/generated/n1.rb', line 83 def N104=(arg) @n104.value = arg end |