frauddetector_create_variable: Creates a variable

View source: R/frauddetector_operations.R

frauddetector_create_variableR Documentation

Creates a variable

Description

Creates a variable.

See https://www.paws-r-sdk.com/docs/frauddetector_create_variable/ for full documentation.

Usage

frauddetector_create_variable(
  name,
  dataType,
  dataSource,
  defaultValue,
  description = NULL,
  variableType = NULL,
  tags = NULL
)

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.


paws.machine.learning documentation built on Sept. 12, 2023, 1:14 a.m.