class Eddy::Segments::CUR
### Segment Summary:
-
Id:
CUR
-
Name: Currency
-
Purpose: To specify the currency (dollars, pounds, francs, etc.) used in a transaction
Public Class Methods
@param store [Eddy::Data::Store] @return [void]
Eddy::Models::Segment::new
# File lib/definitions/segments/generated/cur.rb, line 12 def initialize(store) @id = "CUR" @name = "Currency" @cur01 = Eddy::Elements::E98.new(ref: "CUR01", req: "M") @cur02 = Eddy::Elements::E100.new(ref: "CUR02", req: "M") @cur03 = Eddy::Elements::E280.new(ref: "CUR03", req: "O") super( store, @cur01, @cur02, @cur03, ) end
Public Instance Methods
### CUR01
-
Id: 98
-
Name: Entity Identifier Code
-
Type: ID
-
Min/Max: 2/3
-
Description: Code identifying an organizational entity, a physical location, property or an individual
@param arg [String] @return [void]
# File lib/definitions/segments/generated/cur.rb, line 36 def CUR01=(arg) @cur01.value = arg end
### CUR02
-
Id: 100
-
Name: Currency Code
-
Type: ID
-
Min/Max: 3/3
-
Description: Code (Standard ISO) for country in whose currency the charges are specified
@param arg [String] @return [void]
# File lib/definitions/segments/generated/cur.rb, line 51 def CUR02=(arg) @cur02.value = arg end
### CUR03
-
Id: 280
-
Name: Exchange Rate
-
Type: R
-
Min/Max: 4/10
-
Description: Value to be used as a multiplier conversion factor to convert monetary value from one currency to another
@param arg [Float] @return [void]
# File lib/definitions/segments/generated/cur.rb, line 66 def CUR03=(arg) @cur03.value = arg end