setTokenFormatInfo()
Saves token format information to database. This is used only for customer-created token formats.
If the token format is already in the database, it must be updated.
Syntax
public void setTokenFormatInfo(Connection conn,HashMap<String, String> info) throws SQLException
Request Parameters
Parameter | Type | Description |
---|---|---|
conn | String | The database connection. |
info | String | It is an input object that contains information about new or existing custom token format. The following field pairs must be set: • FormatId - Identifier of the new format.• MinimumFormatId - Minimum format identifier value.• FormatDescription - Text description of the format.• LeadPositions - Lead positions for the format.• TrailPositions - Trail positions for the format.• LeadMask - Lead mask for the format.• LuhnCheck - Luhn check value for the format.• TokenLength - Length of the result token.• Splitter - Splitter regular expression.• Splicer - Splicer definition. |