Class: Stripe::Events::V1BillingMeterErrorReportTriggeredEvent
- Inherits:
-
V2::Core::Event
- Object
- StripeObject
- APIResource
- V2::Core::Event
- Stripe::Events::V1BillingMeterErrorReportTriggeredEvent
- Defined in:
- lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb
Overview
Occurs when a Meter has invalid async usage events.
Defined Under Namespace
Classes: V1BillingMeterErrorReportTriggeredEventData
Constant Summary
Constants inherited from V2::Core::Event
Constants inherited from APIResource
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#related_object ⇒ Object
readonly
Returns the value of attribute related_object.
Attributes inherited from V2::Core::Event
#context, #created, #id, #livemode, #object, #reason, #type
Attributes inherited from APIResource
Attributes inherited from StripeObject
Class Method Summary collapse
Instance Method Summary collapse
-
#fetch_related_object ⇒ Object
Retrieves the related object from the API.
Methods inherited from V2::Core::Event
Methods inherited from APIResource
class_name, custom_method, object_name, #refresh, #request_stripe_object, resource_url, #resource_url, retrieve, save_nested_resource
Methods included from APIOperations::Request
Methods inherited from StripeObject
#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, field_remappings, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values
Constructor Details
This class inherits a constructor from Stripe::StripeObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
90 91 92 |
# File 'lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb', line 90 def data @data end |
#related_object ⇒ Object (readonly)
Returns the value of attribute related_object.
90 91 92 |
# File 'lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb', line 90 def end |
Class Method Details
.inner_class_types ⇒ Object
87 88 89 |
# File 'lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb', line 87 def self.inner_class_types @inner_class_types = { data: V1BillingMeterErrorReportTriggeredEventData } end |
.lookup_type ⇒ Object
8 9 10 |
# File 'lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb', line 8 def self.lookup_type "v1.billing.meter.error_report_triggered" end |
Instance Method Details
#fetch_related_object ⇒ Object
Retrieves the related object from the API. Makes an API request on every call.
93 94 95 96 97 98 99 100 |
# File 'lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb', line 93 def _request( method: :get, path: .url, base_address: :api, opts: { stripe_context: context } ) end |