Class: Eddy::Segments::N3

Inherits:
Models::Segment show all
Defined in:
lib/definitions/segments/generated/n3.rb

Overview

Segment Summary:

  • Id: N3
  • Name: Address Information
  • Purpose: To specify the location of the named party

Instance Attribute Summary

Attributes inherited from Models::Segment

#elements, #id, #name, #skip, #store

Instance Method Summary collapse

Methods inherited from Models::Segment

#render

Constructor Details

#initialize(store) ⇒ void

Parameters:



12
13
14
15
16
17
18
19
20
21
22
# File 'lib/definitions/segments/generated/n3.rb', line 12

def initialize(store)
  @id = "N3"
  @name = "Address Information"
  @n301 = Eddy::Elements::E166.new(ref: "N301", req: "M")
  @n302 = Eddy::Elements::E166.new(ref: "N302", req: "O")
  super(
    store,
    @n301,
    @n302,
  )
end

Instance Method Details

#N301=(arg) ⇒ void Also known as: AddressInformation1=

This method returns an undefined value.

N301

  • Id: 166
  • Name: Address Information
  • Type: AN
  • Min/Max: 1/55
  • Description: Address information

Parameters:

  • arg (String)


34
35
36
# File 'lib/definitions/segments/generated/n3.rb', line 34

def N301=(arg)
  @n301.value = arg
end

#N302=(arg) ⇒ void Also known as: AddressInformation2=

This method returns an undefined value.

N302

  • Id: 166
  • Name: Address Information
  • Type: AN
  • Min/Max: 1/55
  • Description: Address information

Parameters:

  • arg (String)


49
50
51
# File 'lib/definitions/segments/generated/n3.rb', line 49

def N302=(arg)
  @n302.value = arg
end