Class: Stripe::Billing::Meter::UpdateParams

Inherits:
RequestParams show all
Defined in:
lib/stripe/resources/billing/meter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(display_name: nil, expand: nil) ⇒ UpdateParams

Returns a new instance of UpdateParams.



143
144
145
146
# File 'lib/stripe/resources/billing/meter.rb', line 143

def initialize(display_name: nil, expand: nil)
  @display_name = display_name
  @expand = expand
end

Instance Attribute Details

#display_nameObject

The meter’s name. Not visible to the customer.



139
140
141
# File 'lib/stripe/resources/billing/meter.rb', line 139

def display_name
  @display_name
end

#expandObject

Specifies which fields in the response should be expanded.



141
142
143
# File 'lib/stripe/resources/billing/meter.rb', line 141

def expand
  @expand
end