Sha256: be013bb3887669ab064b5aaf74684e96e40391140c122c926760240b9c72abd4

Contents?: true

Size: 1.21 KB

Versions: 10

Compression:

Stored size: 1.21 KB

Contents

module Eddy
  module Segments
    # ### Segment Summary:
    #
    # - Id: N3
    # - Name: Address Information
    # - Purpose: To specify the location of the named party
    class N3 < Eddy::Models::Segment

      # @param store [Eddy::Data::Store]
      # @return [void]
      def initialize(store)
        @id = "N3"
        @name = "Address Information"
        @n301 = Eddy::Elements::E166.new(ref: "N301", req: "M")
        @n302 = Eddy::Elements::E166.new(ref: "N302", req: "O")
        super(
          store,
          @n301,
          @n302,
        )
      end

      # ### N301
      #
      # - Id: 166
      # - Name: Address Information
      # - Type: AN
      # - Min/Max: 1/55
      # - Description: Address information
      #
      # @param arg [String]
      # @return [void]
      def N301=(arg)
        @n301.value = arg
      end
      alias AddressInformation1= N301=

      # ### N302
      #
      # - Id: 166
      # - Name: Address Information
      # - Type: AN
      # - Min/Max: 1/55
      # - Description: Address information
      #
      # @param arg [String]
      # @return [void]
      def N302=(arg)
        @n302.value = arg
      end
      alias AddressInformation2= N302=

    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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