Class: Stripe::Billing::MeterEventAdjustmentCreateParams::Cancel

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/billing/meter_event_adjustment_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(identifier: nil) ⇒ Cancel

Returns a new instance of Cancel.



11
12
13
# File 'lib/stripe/params/billing/meter_event_adjustment_create_params.rb', line 11

def initialize(identifier: nil)
  @identifier = identifier
end

Instance Attribute Details

#identifierObject

Unique identifier for the event. You can only cancel events within 24 hours of Stripe receiving them.



9
10
11
# File 'lib/stripe/params/billing/meter_event_adjustment_create_params.rb', line 9

def identifier
  @identifier
end