Class: Stripe::Billing::MeterUpdateParams

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/billing/meter_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

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

Returns a new instance of MeterUpdateParams.



12
13
14
15
# File 'lib/stripe/params/billing/meter_update_params.rb', line 12

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.



8
9
10
# File 'lib/stripe/params/billing/meter_update_params.rb', line 8

def display_name
  @display_name
end

#expandObject

Specifies which fields in the response should be expanded.



10
11
12
# File 'lib/stripe/params/billing/meter_update_params.rb', line 10

def expand
  @expand
end