Class: Eddy::Segments::TDS

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

Overview

Segment Summary:

  • Id: TDS
  • Name: Total Monetary Value Summary
  • Purpose: To specify the total invoice discounts and amounts.

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

def initialize(store)
  @id = "TDS"
  @name = "Total Monetary Value Summary"
  @tds01 = Eddy::Elements::E610.new(ref: "TDS01", req: "M")
  super(
    store,
    @tds01,
  )
end

Instance Method Details

#TDS01=(arg) ⇒ void Also known as: Amount=

This method returns an undefined value.

TDS01

  • Id: 610
  • Name: Amount
  • Type: N2
  • Min/Max: 1/15
  • Description: Monetary amount

Parameters:

  • arg (Integer)


32
33
34
# File 'lib/definitions/segments/generated/tds.rb', line 32

def TDS01=(arg)
  @tds01.value = arg
end