Class: Stripe::Radar::ValueListItemCreateParams

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Stripe::RequestParams

#to_h

Constructor Details

#initialize(expand: nil, value: nil, value_list: nil) ⇒ ValueListItemCreateParams

Returns a new instance of ValueListItemCreateParams.



14
15
16
17
18
# File 'lib/stripe/params/radar/value_list_item_create_params.rb', line 14

def initialize(expand: nil, value: nil, value_list: nil)
  @expand = expand
  @value = value
  @value_list = value_list
end

Instance Attribute Details

#expandObject

Specifies which fields in the response should be expanded.



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

def expand
  @expand
end

#valueObject

The value of the item (whose type must match the type of the parent value list).



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

def value
  @value
end

#value_listObject

The identifier of the value list which the created item will be added to.



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

def value_list
  @value_list
end