Class: Stripe::Radar::ValueList::UpdateParams

Inherits:
Stripe::RequestParams show all
Defined in:
lib/stripe/resources/radar/value_list.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Stripe::RequestParams

#to_h

Constructor Details

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

Returns a new instance of UpdateParams.



33
34
35
36
37
38
# File 'lib/stripe/resources/radar/value_list.rb', line 33

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

Instance Attribute Details

#aliasObject

The name of the value list for use in rules.



25
26
27
# File 'lib/stripe/resources/radar/value_list.rb', line 25

def alias
  @alias
end

#expandObject

Specifies which fields in the response should be expanded.



27
28
29
# File 'lib/stripe/resources/radar/value_list.rb', line 27

def expand
  @expand
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`.



29
30
31
# File 'lib/stripe/resources/radar/value_list.rb', line 29

def 
  @metadata
end

#nameObject

The human-readable name of the value list.



31
32
33
# File 'lib/stripe/resources/radar/value_list.rb', line 31

def name
  @name
end