class CremulReference
Represents a reference (RFF) segment in a CREMUL message. Type may be:
-
:ACK - Bank reference - KID in Norwegian
-
:AII - Bank’s reference number allocated by the bank to different underlying individual transactions
-
:CT - AutoGiro agreement ID
-
:ABO - Originator´s reference – for example SWIFT reference senders bank
-
:ACD - Bank reference = Archive reference
-
:AEK - Payment order number
-
:AFO - Beneficiary’s reference
-
:AGN - Payer’s reference, aka 'egenref' (NO)
-
:AHK - Payer’s reference number, aka 'debetref' (NO)
-
:RA - Remittance advice number
-
:TBR - Reference number pre-advice
Attributes
number[R]
type[R]
Public Class Methods
new(ref_segment)
click to toggle source
# File lib/cremul/cremul_reference.rb, line 22 def initialize(ref_segment) s = ref_segment.split(':') @number = s[1] s = s[0].split('+') @type = s[1].to_sym end