class Eddy::Segments::PID

### Segment Summary:

Public Class Methods

new(store) click to toggle source

@param store [Eddy::Data::Store] @return [void]

Calls superclass method Eddy::Models::Segment::new
# File lib/definitions/segments/generated/pid.rb, line 12
def initialize(store)
  @id = "PID"
  @name = "Product/Item Description"
  @pid01 = Eddy::Elements::E349.new(ref: "PID01", req: "M")
  @pid02 = Eddy::Elements::E750.new(ref: "PID02", req: "O")
  @pid03 = Eddy::Elements::E559.new(ref: "PID03", req: "O")
  @pid04 = Eddy::Elements::E751.new(ref: "PID04", req: "O")
  @pid05 = Eddy::Elements::E352.new(ref: "PID05", req: "X")
  super(
    store,
    @pid01,
    @pid02,
    @pid03,
    @pid04,
    @pid05,
  )
end

Public Instance Methods

AgencyQualifierCode=(arg)
Alias for: PID03=
Description=(arg)
Alias for: PID05=
ItemDescriptionType=(arg)
Alias for: PID01=
PID01=(arg) click to toggle source

### PID01

  • Id: 349

  • Name: Item Description Type

  • Type: ID

  • Min/Max: 1/1

  • Description: Code indicating the format of a description

@param arg [String] @return [void]

# File lib/definitions/segments/generated/pid.rb, line 40
def PID01=(arg)
  @pid01.value = arg
end
Also aliased as: ItemDescriptionType=
PID02=(arg) click to toggle source

### PID02

  • Id: 750

  • Name: Product/Process Characteristic Code

  • Type: ID

  • Min/Max: 2/3

  • Description: Code identifying the general class of a product or process characteristic

@param arg [String] @return [void]

# File lib/definitions/segments/generated/pid.rb, line 55
def PID02=(arg)
  @pid02.value = arg
end
PID03=(arg) click to toggle source

### PID03

  • Id: 559

  • Name: Agency Qualifier Code

  • Type: ID

  • Min/Max: 2/2

  • Description: Code identifying the agency assigning the code values

@param arg [String] @return [void]

# File lib/definitions/segments/generated/pid.rb, line 70
def PID03=(arg)
  @pid03.value = arg
end
Also aliased as: AgencyQualifierCode=
PID04=(arg) click to toggle source

### PID04

  • Id: 751

  • Name: Product Description Code

  • Type: AN

  • Min/Max: 1/12

  • Description: A code from an industry code list which provides specific data about a product characteristic

@param arg [String] @return [void]

# File lib/definitions/segments/generated/pid.rb, line 85
def PID04=(arg)
  @pid04.value = arg
end
Also aliased as: ProductDescriptionCode=
PID05=(arg) click to toggle source

### PID05

  • Id: 352

  • Name: Description

  • Type: AN

  • Min/Max: 1/80

  • Description: A free-form description to clarify the related data elements and their content

@param arg [String] @return [void]

# File lib/definitions/segments/generated/pid.rb, line 100
def PID05=(arg)
  @pid05.value = arg
end
Also aliased as: Description=
ProductDescriptionCode=(arg)
Alias for: PID04=
ProductProcessCharacteristicCode=(arg)
Alias for: PID02=