protected boolean extractTrackData ( final EmvCard pEmvCard , final byte [ ] pData ) { template . get ( ) . getCard ( ) . setTrack1 ( TrackUtils . extractTrack1Data ( TlvUtil . getValue ( pData , EmvTags . TRACK1_DATA ) ) ) ; template . get ( ) . getCard ( ) . setTrack2 ( TrackUtils . extractTrack2EquivalentData ( TlvUtil . getValue ( pData , EmvTags . TRACK_2_EQV_DATA , EmvTags . TRACK2_DATA ) ) ) ; return pEmvCard . getTrack1 ( ) != null || pEmvCard . getTrack2 ( ) != null ; }
Method used to extract track data from response