Class: Stripe::Radar::ValueListCreateParams
- Inherits:
-
Stripe::RequestParams
- Object
- Stripe::RequestParams
- Stripe::Radar::ValueListCreateParams
- Defined in:
- lib/stripe/params/radar/value_list_create_params.rb
Instance Attribute Summary collapse
-
#alias ⇒ Object
The name of the value list for use in rules.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#item_type ⇒ Object
Type of the items in the value list.
-
#metadata ⇒ Object
Set of [key-value pairs](stripe.com/docs/api/metadata) that you can attach to an object.
-
#name ⇒ Object
The human-readable name of the value list.
Instance Method Summary collapse
-
#initialize(alias_: nil, expand: nil, item_type: nil, metadata: nil, name: nil) ⇒ ValueListCreateParams
constructor
A new instance of ValueListCreateParams.
Methods inherited from Stripe::RequestParams
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_ = @item_type = item_type = @name = name end |
Instance Attribute Details
#alias ⇒ Object
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 |
#expand ⇒ Object
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 end |
#item_type ⇒ Object
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 |
#metadata ⇒ Object
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 |
#name ⇒ Object
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 |