Class: Stripe::Events::V2SignalsAccountSignalFraudulentMerchantReadyEventNotification
- Inherits:
-
V2::Core::EventNotification
- Object
- V2::Core::EventNotification
- Stripe::Events::V2SignalsAccountSignalFraudulentMerchantReadyEventNotification
- Defined in:
- lib/stripe/events/v2_signals_account_signal_fraudulent_merchant_ready_event.rb
Overview
Occurs when a fraudulent merchant signal is ready for an account.
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, #object, #reason, #type
Class Method Summary collapse
Instance Method Summary collapse
-
#fetch_related_object ⇒ Object
Retrieves the AccountSignal 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.
95 96 97 |
# File 'lib/stripe/events/v2_signals_account_signal_fraudulent_merchant_ready_event.rb', line 95 def @related_object end |
Class Method Details
.lookup_type ⇒ Object
91 92 93 |
# File 'lib/stripe/events/v2_signals_account_signal_fraudulent_merchant_ready_event.rb', line 91 def self.lookup_type "v2.signals.account_signal.fraudulent_merchant_ready" end |
Instance Method Details
#fetch_related_object ⇒ Object
Retrieves the AccountSignal related to this EventNotification from the Stripe API. Makes an API request on every call.
98 99 100 101 102 103 104 105 106 |
# File 'lib/stripe/events/v2_signals_account_signal_fraudulent_merchant_ready_event.rb', line 98 def resp = @client.raw_request( :get, .url, opts: { stripe_context: context, "Stripe-Request-Trigger": "event=#{id}" }, usage: ["fetch_related_object"] ) @client.deserialize(resp.http_body, api_mode: Util.get_api_mode(.url)) end |