Sha256: 250873ab00e19e79f95188c42f0e3e3f950b991d1506bd34c02b2d9b237c766c

Contents?: true

Size: 840 Bytes

Versions: 11

Compression:

Stored size: 840 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::Models::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

11 entries across 11 versions & 1 rubygems

Version Path
eddy-0.10.0 lib/definitions/segments/generated/tds.rb
eddy-0.9.2 lib/definitions/segments/generated/tds.rb
eddy-0.9.1 lib/definitions/segments/generated/tds.rb
eddy-0.9.0 lib/definitions/segments/generated/tds.rb
eddy-0.8.4 lib/definitions/segments/generated/tds.rb
eddy-0.8.3 lib/definitions/segments/generated/tds.rb
eddy-0.8.2 lib/definitions/segments/generated/tds.rb
eddy-0.8.1 lib/definitions/segments/generated/tds.rb
eddy-0.8.0 lib/definitions/segments/generated/tds.rb
eddy-0.7.0 lib/definitions/segments/generated/tds.rb
eddy-0.6.0 lib/definitions/segments/generated/tds.rb