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

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



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

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.



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

def identifier
  @identifier
end