@ NonNull public static SourceParams createSourceFromTokenParams ( String tokenId ) { SourceParams sourceParams = SourceParams . createCustomParams ( ) ; sourceParams . setType ( Source . CARD ) ; sourceParams . setToken ( tokenId ) ; return sourceParams ; }
Create parameters necessary for converting a token into a source