class Eddy::Segments::CUR

### Segment Summary:

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/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=(arg) click to toggle source

### 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
Also aliased as: EntityIdentifierCode=
CUR02=(arg) click to toggle source

### 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
Also aliased as: CurrencyCode=
CUR03=(arg) click to toggle source

### 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
Also aliased as: ExchangeRate=
CurrencyCode=(arg)
Alias for: CUR02=
EntityIdentifierCode=(arg)
Alias for: CUR01=
ExchangeRate=(arg)
Alias for: CUR03=