@@ -406,9 +406,9 @@ private constructor(
406406 * * `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer fee
407407 * field in the settlement/cardholder billing currency. This is the amount the issuer
408408 * should authorize against unless the issuer is paying the acquirer fee on behalf of the
409- * cardholder.
409+ * cardholder. Use an integer value.
410410 * * `RISK_SCORE`: Mastercard only: Assessment by the network of the authentication risk
411- * level, with a higher value indicating a higher amount of risk.
411+ * level, with a higher value indicating a higher amount of risk. Use an integer value.
412412 * * `MESSAGE_CATEGORY`: The category of the authentication being processed.
413413 * * `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address data with
414414 * the cardholder KYC data if it exists. Valid values are `MATCH`, `MATCH_ADDRESS_ONLY`,
@@ -520,9 +520,10 @@ private constructor(
520520 * * `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer fee
521521 * field in the settlement/cardholder billing currency. This is the amount the issuer
522522 * should authorize against unless the issuer is paying the acquirer fee on behalf of
523- * the cardholder.
523+ * the cardholder. Use an integer value.
524524 * * `RISK_SCORE`: Mastercard only: Assessment by the network of the authentication risk
525- * level, with a higher value indicating a higher amount of risk.
525+ * level, with a higher value indicating a higher amount of risk. Use an integer
526+ * value.
526527 * * `MESSAGE_CATEGORY`: The category of the authentication being processed.
527528 * * `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address data
528529 * with the cardholder KYC data if it exists. Valid values are `MATCH`,
@@ -568,8 +569,11 @@ private constructor(
568569 /* * Alias for calling [value] with `ConditionalValue.ofRegex(regex)`. */
569570 fun value (regex : String ) = value(ConditionalValue .ofRegex(regex))
570571
572+ /* * Alias for calling [value] with `ConditionalValue.ofInteger(integer)`. */
573+ fun value (integer : Long ) = value(ConditionalValue .ofInteger(integer))
574+
571575 /* * Alias for calling [value] with `ConditionalValue.ofNumber(number)`. */
572- fun value (number : Long ) = value(ConditionalValue .ofNumber(number))
576+ fun value (number : Double ) = value(ConditionalValue .ofNumber(number))
573577
574578 /* * Alias for calling [value] with `ConditionalValue.ofListOfStrings(listOfStrings)`. */
575579 fun valueOfListOfStrings (listOfStrings : List <String >) =
@@ -677,9 +681,9 @@ private constructor(
677681 * * `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer fee
678682 * field in the settlement/cardholder billing currency. This is the amount the issuer
679683 * should authorize against unless the issuer is paying the acquirer fee on behalf of the
680- * cardholder.
684+ * cardholder. Use an integer value.
681685 * * `RISK_SCORE`: Mastercard only: Assessment by the network of the authentication risk
682- * level, with a higher value indicating a higher amount of risk.
686+ * level, with a higher value indicating a higher amount of risk. Use an integer value.
683687 * * `MESSAGE_CATEGORY`: The category of the authentication being processed.
684688 * * `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address data with
685689 * the cardholder KYC data if it exists. Valid values are `MATCH`, `MATCH_ADDRESS_ONLY`,
0 commit comments