Class: Stripe::Events::V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEventNotification
- Inherits:
-
V2::Core::EventNotification
- Object
- V2::Core::EventNotification
- Stripe::Events::V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEventNotification
- Defined in:
- lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb
Overview
Occurs when the status of an Account’s customer configuration capability is updated.
Instance Attribute Summary collapse
-
#related_object ⇒ Object
readonly
Returns the value of attribute related_object.
Attributes inherited from V2::Core::EventNotification
#context, #created, #id, #livemode, #reason, #type
Class Method Summary collapse
Instance Method Summary collapse
-
#fetch_related_object ⇒ Object
Retrieves the Account related to this EventNotification from the Stripe API.
Methods inherited from V2::Core::EventNotification
Constructor Details
This class inherits a constructor from Stripe::V2::Core::EventNotification
Instance Attribute Details
#related_object ⇒ Object (readonly)
Returns the value of attribute related_object.
49 50 51 |
# File 'lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb', line 49 def end |
Class Method Details
.lookup_type ⇒ Object
45 46 47 |
# File 'lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb', line 45 def self.lookup_type "v2.core.account[configuration.customer].capability_status_updated" end |
Instance Method Details
#fetch_related_object ⇒ Object
Retrieves the Account related to this EventNotification from the Stripe API. Makes an API request on every call.
52 53 54 55 56 57 58 59 60 |
# File 'lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb', line 52 def resp = @client.raw_request( :get, .url, opts: { stripe_context: context }, usage: ["fetch_related_object"] ) @client.deserialize(resp.http_body, api_mode: Util.get_api_mode(.url)) end |