Class: Stripe::Radar::ValueListCreateParams

Inherits:
Stripe::RequestParams show all
Defined in:
lib/stripe/params/radar/value_list_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Stripe::RequestParams

#to_h

Constructor Details

#initialize(alias_: nil, expand: nil, item_type: nil, metadata: nil, name: nil) ⇒ ValueListCreateParams

Returns a new instance of ValueListCreateParams.



18
19
20
21
22
23
24
# File 'lib/stripe/params/radar/value_list_create_params.rb', line 18

def initialize(alias_: nil, expand: nil, item_type: nil, metadata: nil, name: nil)
  @alias = alias_
  @expand = expand
  @item_type = item_type
   = 
  @name = name
end

Instance Attribute Details

#aliasObject

The name of the value list for use in rules.



8
9
10
# File 'lib/stripe/params/radar/value_list_create_params.rb', line 8

def alias
  @alias
end

#expandObject

Specifies which fields in the response should be expanded.



10
11
12
# File 'lib/stripe/params/radar/value_list_create_params.rb', line 10

def expand
  @expand
end

#item_typeObject

Type of the items in the value list. One of ‘card_fingerprint`, `card_bin`, `email`, `ip_address`, `country`, `string`, `case_sensitive_string`, `customer_id`, `sepa_debit_fingerprint`, or `us_bank_account_fingerprint`. Use `string` if the item type is unknown or mixed.



12
13
14
# File 'lib/stripe/params/radar/value_list_create_params.rb', line 12

def item_type
  @item_type
end

#metadataObject

Set of [key-value pairs](stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to ‘metadata`.



14
15
16
# File 'lib/stripe/params/radar/value_list_create_params.rb', line 14

def 
  
end

#nameObject

The human-readable name of the value list.



16
17
18
# File 'lib/stripe/params/radar/value_list_create_params.rb', line 16

def name
  @name
end