Class: Eddy::Segments::SCH

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

Overview

Segment Summary:

  • Id: SCH
  • Name: Line Item Schedule
  • Purpose: To specify the data for scheduling a specific line-item

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/sch.rb', line 12

def initialize(store)
  @id = "SCH"
  @name = "Line Item Schedule"
  @sch01 = Eddy::Elements::E380.new(ref: "SCH01", req: "M")
  @sch03 = Eddy::Elements::E98.new(ref: "SCH03", req: "O")
  super(
    store,
    @sch01,
    @sch03,
  )
end

Instance Method Details

#SCH01=(arg) ⇒ void Also known as: Quantity=

This method returns an undefined value.

SCH01

  • Id: 380
  • Name: Quantity
  • Type: R
  • Min/Max: 1/15
  • Description: Numeric value of quantity

Parameters:

  • arg (Float)


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

def SCH01=(arg)
  @sch01.value = arg
end

#SCH03=(arg) ⇒ void Also known as: EntityIdentifierCode=

This method returns an undefined value.

SCH03

  • 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

Parameters:

  • arg (String)


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

def SCH03=(arg)
  @sch03.value = arg
end