Class: Stripe::Radar::ValueListService::UpdateParams
- Inherits:
-
Stripe::RequestParams
- Object
- Stripe::RequestParams
- Stripe::Radar::ValueListService::UpdateParams
- Defined in:
- lib/stripe/services/radar/value_list_service.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.
-
#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, metadata: nil, name: nil) ⇒ UpdateParams
constructor
A new instance of UpdateParams.
Methods inherited from Stripe::RequestParams
Constructor Details
#initialize(alias_: nil, expand: nil, metadata: nil, name: nil) ⇒ UpdateParams
Returns a new instance of UpdateParams.
29 30 31 32 33 34 |
# File 'lib/stripe/services/radar/value_list_service.rb', line 29 def initialize(alias_: nil, expand: nil, metadata: nil, name: nil) @alias = alias_ @expand = @metadata = @name = name end |
Instance Attribute Details
#alias ⇒ Object
The name of the value list for use in rules.
21 22 23 |
# File 'lib/stripe/services/radar/value_list_service.rb', line 21 def alias @alias end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
23 24 25 |
# File 'lib/stripe/services/radar/value_list_service.rb', line 23 def @expand 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`.
25 26 27 |
# File 'lib/stripe/services/radar/value_list_service.rb', line 25 def @metadata end |
#name ⇒ Object
The human-readable name of the value list.
27 28 29 |
# File 'lib/stripe/services/radar/value_list_service.rb', line 27 def name @name end |