Class: Stripe::Radar::ValueListItemCreateParams
- Inherits:
-
Stripe::RequestParams
- Object
- Stripe::RequestParams
- Stripe::Radar::ValueListItemCreateParams
- Defined in:
- lib/stripe/params/radar/value_list_item_create_params.rb
Instance Attribute Summary collapse
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#value ⇒ Object
The value of the item (whose type must match the type of the parent value list).
-
#value_list ⇒ Object
The identifier of the value list which the created item will be added to.
Instance Method Summary collapse
-
#initialize(expand: nil, value: nil, value_list: nil) ⇒ ValueListItemCreateParams
constructor
A new instance of ValueListItemCreateParams.
Methods inherited from Stripe::RequestParams
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 = @value = value @value_list = value_list end |
Instance Attribute Details
#expand ⇒ Object
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 end |
#value ⇒ Object
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_list ⇒ Object
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 |