Class: Stripe::Billing::MeterEventAdjustment::CreateParams::Cancel

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/billing/meter_event_adjustment.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.



25
26
27
# File 'lib/stripe/resources/billing/meter_event_adjustment.rb', line 25

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.



23
24
25
# File 'lib/stripe/resources/billing/meter_event_adjustment.rb', line 23

def identifier
  @identifier
end