Sha256: 622bdf242c04324d539f9635809a578be4f28476a32ebd74c5b2bf7b3f5319bf

Contents?: true

Size: 832 Bytes

Versions: 4

Compression:

Stored size: 832 Bytes

Contents

module Eddy
  module Segments
    # ### Segment Summary:
    #
    # - Id: TDS
    # - Name: Total Monetary Value Summary
    # - Purpose: To specify the total invoice discounts and amounts.
    class TDS < Eddy::Segment

      # @param store [Eddy::Data::Store]
      # @return [void]
      def initialize(store)
        @id = "TDS"
        @name = "Total Monetary Value Summary"
        @tds01 = Eddy::Elements::E610.new(ref: "TDS01", req: "M")
        super(
          store,
          @tds01,
        )
      end

      # ### TDS01
      #
      # - Id: 610
      # - Name: Amount
      # - Type: N2
      # - Min/Max: 1/15
      # - Description: Monetary amount
      #
      # @param arg [Integer]
      # @return [void]
      def TDS01=(arg)
        @tds01.value = arg
      end
      alias Amount= TDS01=

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
eddy-0.5.1 lib/definitions/segments/generated/tds.rb
eddy-0.5.0 lib/definitions/segments/generated/tds.rb
eddy-0.4.0 lib/definitions/segments/generated/tds.rb
eddy-0.3.0 lib/definitions/segments/generated/tds.rb