Create Variable
frauddetector_create_variable | R Documentation |
Creates a variable¶
Description¶
Creates a variable.
Usage¶
frauddetector_create_variable(name, dataType, dataSource, defaultValue,
description, variableType, tags)
Arguments¶
name
[required] The name of the variable.
dataType
[required] The data type of the variable.
dataSource
[required] The source of the data.
defaultValue
[required] The default value for the variable when no value is received.
description
The description.
variableType
The variable type. For more information see Variable types.
Valid Values:
AUTH_CODE | AVS | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY | BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN | CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL | FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT
tags
A collection of key and value pairs.
Value¶
An empty list.