Class: Eddy::Segments::LIN

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

Overview

Segment Summary:

  • Id: LIN
  • Name: Item Identification
  • Purpose: To specify basic item identification data.

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
23
24
25
26
27
28
# File 'lib/definitions/segments/generated/lin.rb', line 12

def initialize(store)
  @id = "LIN"
  @name = "Item Identification"
  @lin01 = Eddy::Elements::E350.new(ref: "LIN01", req: "O")
  @lin02 = Eddy::Elements::E235.new(ref: "LIN02", req: "M")
  @lin03 = Eddy::Elements::E234.new(ref: "LIN03", req: "M")
  @lin04 = Eddy::Elements::E235.new(ref: "LIN04", req: "X")
  @lin05 = Eddy::Elements::E234.new(ref: "LIN05", req: "X")
  super(
    store,
    @lin01,
    @lin02,
    @lin03,
    @lin04,
    @lin05,
  )
end

Instance Method Details

#LIN01=(arg) ⇒ void Also known as: AssignedIdentification=

This method returns an undefined value.

LIN01

  • Id: 350
  • Name: Assigned Identification
  • Type: AN
  • Min/Max: 1/20
  • Description: Alphanumeric characters assigned for differentiation within a transaction set

Parameters:

  • arg (String)


40
41
42
# File 'lib/definitions/segments/generated/lin.rb', line 40

def LIN01=(arg)
  @lin01.value = arg
end

#LIN02=(arg) ⇒ void Also known as: ProductServiceIdQualifier1=

This method returns an undefined value.

LIN02

  • Id: 235
  • Name: Product/Service ID Qualifier
  • Type: ID
  • Min/Max: 2/2
  • Description: Code identifying the type/source of the descriptive number used in Product/Service ID (234)

Parameters:

  • arg (String)


55
56
57
# File 'lib/definitions/segments/generated/lin.rb', line 55

def LIN02=(arg)
  @lin02.value = arg
end

#LIN03=(arg) ⇒ void Also known as: ProductServiceId1=

This method returns an undefined value.

LIN03

  • Id: 234
  • Name: Product/Service ID
  • Type: AN
  • Min/Max: 1/48
  • Description: Identifying number for a product or service

Parameters:

  • arg (String)


70
71
72
# File 'lib/definitions/segments/generated/lin.rb', line 70

def LIN03=(arg)
  @lin03.value = arg
end

#LIN04=(arg) ⇒ void Also known as: ProductServiceIdQualifier2=

This method returns an undefined value.

LIN04

  • Id: 235
  • Name: Product/Service ID Qualifier
  • Type: ID
  • Min/Max: 2/2
  • Description: Code identifying the type/source of the descriptive number used in Product/Service ID (234)

Parameters:

  • arg (String)


85
86
87
# File 'lib/definitions/segments/generated/lin.rb', line 85

def LIN04=(arg)
  @lin04.value = arg
end

#LIN05=(arg) ⇒ void Also known as: ProductServiceId2=

This method returns an undefined value.

LIN05

  • Id: 234
  • Name: Product/Service ID
  • Type: AN
  • Min/Max: 1/48
  • Description: Identifying number for a product or service

Parameters:

  • arg (String)


100
101
102
# File 'lib/definitions/segments/generated/lin.rb', line 100

def LIN05=(arg)
  @lin05.value = arg
end