Class: Eddy::Segments::IT1

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

Overview

Segment Summary:

  • Id: IT1
  • Name: Baseline Item Data (Invoice)
  • Purpose: To specify the basic and most frequently used line item data for the invoice and related transactions.

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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'lib/definitions/segments/generated/it1.rb', line 12

def initialize(store)
  @id = "IT1"
  @name = "Baseline Item Data (Invoice)"
  @it101 = Eddy::Elements::E350.new(ref: "IT101", req: "O")
  @it102 = Eddy::Elements::E358.new(ref: "IT102", req: "X")
  @it103 = Eddy::Elements::E355.new(ref: "IT103", req: "X")
  @it104 = Eddy::Elements::E212.new(ref: "IT104", req: "X")
  @it105 = Eddy::Elements::E639.new(ref: "IT105", req: "O")
  @it106 = Eddy::Elements::E235.new(ref: "IT106", req: "X")
  @it107 = Eddy::Elements::E234.new(ref: "IT107", req: "X")
  @it108 = Eddy::Elements::E235.new(ref: "IT108", req: "X")
  @it109 = Eddy::Elements::E234.new(ref: "IT109", req: "X")
  @it110 = Eddy::Elements::E235.new(ref: "IT110", req: "X")
  @it111 = Eddy::Elements::E234.new(ref: "IT111", req: "X")
  @it112 = Eddy::Elements::E235.new(ref: "IT112", req: "X")
  @it113 = Eddy::Elements::E234.new(ref: "IT113", req: "X")
  @it114 = Eddy::Elements::E235.new(ref: "IT114", req: "X")
  @it115 = Eddy::Elements::E234.new(ref: "IT115", req: "X")
  super(
    store,
    @it101,
    @it102,
    @it103,
    @it104,
    @it105,
    @it106,
    @it107,
    @it108,
    @it109,
    @it110,
    @it111,
    @it112,
    @it113,
    @it114,
    @it115,
  )
end

Instance Method Details

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

This method returns an undefined value.

IT101

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

Parameters:

  • arg (String)


60
61
62
# File 'lib/definitions/segments/generated/it1.rb', line 60

def IT101=(arg)
  @it101.value = arg
end

#IT102=(arg) ⇒ void Also known as: QuantityInvoiced=

This method returns an undefined value.

IT102

  • Id: 358
  • Name: Quantity Invoiced
  • Type: R
  • Min/Max: 1/10
  • Description: Number of units invoiced (supplier units)

Parameters:

  • arg (Float)


75
76
77
# File 'lib/definitions/segments/generated/it1.rb', line 75

def IT102=(arg)
  @it102.value = arg
end

#IT103=(arg) ⇒ void Also known as: UnitOrBasisForMeasurementCode=

This method returns an undefined value.

IT103

  • Id: 355
  • Name: Unit or Basis for Measurement Code
  • Type: ID
  • Min/Max: 2/2
  • Description: Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

Parameters:

  • arg (String)


90
91
92
# File 'lib/definitions/segments/generated/it1.rb', line 90

def IT103=(arg)
  @it103.value = arg
end

#IT104=(arg) ⇒ void Also known as: UnitPrice=

This method returns an undefined value.

IT104

  • Id: 212
  • Name: Unit Price
  • Type: R
  • Min/Max: 1/17
  • Description: Price per unit of product, service, commodity, etc.

Parameters:

  • arg (Float)


105
106
107
# File 'lib/definitions/segments/generated/it1.rb', line 105

def IT104=(arg)
  @it104.value = arg
end

#IT105=(arg) ⇒ void Also known as: BasisOfUnitPriceCode=

This method returns an undefined value.

IT105

  • Id: 639
  • Name: Basis of Unit Price Code
  • Type: ID
  • Min/Max: 2/2
  • Description: Code identifying the type of unit price for an item

Parameters:

  • arg (String)


120
121
122
# File 'lib/definitions/segments/generated/it1.rb', line 120

def IT105=(arg)
  @it105.value = arg
end

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

This method returns an undefined value.

IT106

  • 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)


135
136
137
# File 'lib/definitions/segments/generated/it1.rb', line 135

def IT106=(arg)
  @it106.value = arg
end

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

This method returns an undefined value.

IT107

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

Parameters:

  • arg (String)


150
151
152
# File 'lib/definitions/segments/generated/it1.rb', line 150

def IT107=(arg)
  @it107.value = arg
end

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

This method returns an undefined value.

IT108

  • 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)


165
166
167
# File 'lib/definitions/segments/generated/it1.rb', line 165

def IT108=(arg)
  @it108.value = arg
end

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

This method returns an undefined value.

IT109

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

Parameters:

  • arg (String)


180
181
182
# File 'lib/definitions/segments/generated/it1.rb', line 180

def IT109=(arg)
  @it109.value = arg
end

#IT110=(arg) ⇒ void Also known as: ProductServiceIdQualifier3=

This method returns an undefined value.

IT110

  • 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)


195
196
197
# File 'lib/definitions/segments/generated/it1.rb', line 195

def IT110=(arg)
  @it110.value = arg
end

#IT111=(arg) ⇒ void Also known as: ProductServiceId3=

This method returns an undefined value.

IT111

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

Parameters:

  • arg (String)


210
211
212
# File 'lib/definitions/segments/generated/it1.rb', line 210

def IT111=(arg)
  @it111.value = arg
end

#IT112=(arg) ⇒ void Also known as: ProductServiceIdQualifier4=

This method returns an undefined value.

IT112

  • 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)


225
226
227
# File 'lib/definitions/segments/generated/it1.rb', line 225

def IT112=(arg)
  @it112.value = arg
end

#IT113=(arg) ⇒ void Also known as: ProductServiceId4=

This method returns an undefined value.

IT113

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

Parameters:

  • arg (String)


240
241
242
# File 'lib/definitions/segments/generated/it1.rb', line 240

def IT113=(arg)
  @it113.value = arg
end

#IT114=(arg) ⇒ void Also known as: ProductServiceIdQualifier5=

This method returns an undefined value.

IT114

  • 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)


255
256
257
# File 'lib/definitions/segments/generated/it1.rb', line 255

def IT114=(arg)
  @it114.value = arg
end

#IT115=(arg) ⇒ void Also known as: ProductServiceId5=

This method returns an undefined value.

IT115

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

Parameters:

  • arg (String)


270
271
272
# File 'lib/definitions/segments/generated/it1.rb', line 270

def IT115=(arg)
  @it115.value = arg
end