Class: Eddy::Segments::N2
- Inherits:
-
Models::Segment
- Object
- Models::Segment
- Eddy::Segments::N2
- Defined in:
- lib/definitions/segments/manual/n2.rb
Overview
Segment Summary:
- Id: N2
- Name: Additional Name Information
- 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
-
#N201=(arg) ⇒ void
(also: #Name1=)
N201.
-
#N202=(arg) ⇒ void
(also: #Name2=)
N202.
Methods inherited from Models::Segment
Constructor Details
#initialize(store) ⇒ void
12 13 14 15 16 17 18 |
# File 'lib/definitions/segments/manual/n2.rb', line 12 def initialize(store) @id = "N2" @name = "Additional Name Information" @n201 = Eddy::Elements::E93.new(ref: "N201", req: "M") @n202 = Eddy::Elements::E93.new(ref: "N202", req: "O") super(store, @n201, @n202) end |
Instance Method Details
#N201=(arg) ⇒ void Also known as: Name1=
This method returns an undefined value.
N201
- Id: 93
- Name: Name
- Type: AN
- Min/Max: 1/60
- Description: Free-form name
30 31 32 |
# File 'lib/definitions/segments/manual/n2.rb', line 30 def N201=(arg) @n201.value = arg end |
#N202=(arg) ⇒ void Also known as: Name2=
This method returns an undefined value.
N202
- Id: 93
- Name: Name
- Type: AN
- Min/Max: 1/60
- Description: Free-form name
45 46 47 |
# File 'lib/definitions/segments/manual/n2.rb', line 45 def N202=(arg) @n202.value = arg end |