Added UnparsedSegment so that caller gets informed of all received segments even though we didn't parse it
This commit is contained in:
parent
662d9d963d
commit
5fc3e4cc63
|
@ -66,7 +66,7 @@ open class ResponseParser {
|
|||
InstituteSegmentId.UserParameters.id -> parseUserParameters(segment, dataElementGroups)
|
||||
InstituteSegmentId.AccountInfo.id -> parseAccountInfo(segment, dataElementGroups)
|
||||
|
||||
else -> null
|
||||
else -> UnparsedSegment(segment)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
package net.dankito.fints.response.segments
|
||||
|
||||
|
||||
open class UnparsedSegment(segmentString: String) : ReceivedSegment(segmentString)
|
Loading…
Reference in New Issue