class Eddy::Segments::AMT
### Segment Summary:
-
Id:
AMT
-
Name: Monetary Amount Information
-
Purpose: To indicate the total monetary amount.
Public Class Methods
new(store)
click to toggle source
@param store [Eddy::Data::Store] @return [void]
Calls superclass method
Eddy::Models::Segment::new
# File lib/definitions/segments/generated/amt.rb, line 12 def initialize(store) @id = "AMT" @name = "Monetary Amount Information" @amt01 = Eddy::Elements::E522.new(ref: "AMT01", req: "M") @amt02 = Eddy::Elements::E782.new(ref: "AMT02", req: "M") super( store, @amt01, @amt02, ) end
Public Instance Methods
AMT01=(arg)
click to toggle source
### AMT01
-
Id: 522
-
Name: Amount Qualifier Code
-
Type: ID
-
Min/Max: 1/3
-
Description: Code to qualify amount
@param arg [String] @return [void]
# File lib/definitions/segments/generated/amt.rb, line 34 def AMT01=(arg) @amt01.value = arg end
Also aliased as: AmountQualifierCode=
AMT02=(arg)
click to toggle source
### AMT02
-
Id: 782
-
Name: Monetary Amount
-
Type: R
-
Min/Max: 1/18
-
Description: Monetary amount
@param arg [Float] @return [void]
# File lib/definitions/segments/generated/amt.rb, line 49 def AMT02=(arg) @amt02.value = arg end
Also aliased as: MonetaryAmount=