Class: Eddy::Segments::FOB

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

Overview

Segment Summary:

  • Id: FOB
  • Name: F.O.B. Related Instructions
  • Purpose: To specify transportation instructions relating to shipment.

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
# File 'lib/definitions/segments/generated/fob.rb', line 12

def initialize(store)
  @id = "FOB"
  @name = "F.O.B. Related Instructions"
  @fob01 = Eddy::Elements::E146.new(ref: "FOB01", req: "M")
  @fob02 = Eddy::Elements::E309.new(ref: "FOB02", req: "X")
  @fob03 = Eddy::Elements::E352.new(ref: "FOB03", req: "O")
  super(
    store,
    @fob01,
    @fob02,
    @fob03,
  )
end

Instance Method Details

#FOB01=(arg) ⇒ void Also known as: ShipmentMethodOfPayment=

This method returns an undefined value.

FOB01

  • Id: 146
  • Name: Shipment Method of Payment
  • Type: ID
  • Min/Max: 2/2
  • Description: Code identifying payment terms for transportation charges

Parameters:

  • arg (String)


36
37
38
# File 'lib/definitions/segments/generated/fob.rb', line 36

def FOB01=(arg)
  @fob01.value = arg
end

#FOB02=(arg) ⇒ void Also known as: LocationQualifier=

This method returns an undefined value.

FOB02

  • Id: 309
  • Name: Location Qualifier
  • Type: ID
  • Min/Max: 1/2
  • Description: Code identifying type of location

Parameters:

  • arg (String)


51
52
53
# File 'lib/definitions/segments/generated/fob.rb', line 51

def FOB02=(arg)
  @fob02.value = arg
end

#FOB03=(arg) ⇒ void Also known as: Description=

This method returns an undefined value.

FOB03

  • Id: 352
  • Name: Description
  • Type: AN
  • Min/Max: 1/80
  • Description: A free-form description to clarify the related data elements and their content

Parameters:

  • arg (String)


66
67
68
# File 'lib/definitions/segments/generated/fob.rb', line 66

def FOB03=(arg)
  @fob03.value = arg
end