Class: Stripe::V2::Core::EventDestinationUpdateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Core::EventDestinationUpdateParams
- Defined in:
- lib/stripe/params/v2/core/event_destination_update_params.rb
Defined Under Namespace
Classes: WebhookEndpoint
Instance Attribute Summary collapse
-
#description ⇒ Object
An optional description of what the event destination is used for.
-
#enabled_events ⇒ Object
The list of events to enable for this endpoint.
-
#include ⇒ Object
Additional fields to include in the response.
-
#metadata ⇒ Object
Metadata.
-
#name ⇒ Object
Event destination name.
-
#webhook_endpoint ⇒ Object
Webhook endpoint configuration.
Instance Method Summary collapse
-
#initialize(description: nil, enabled_events: nil, include: nil, metadata: nil, name: nil, webhook_endpoint: nil) ⇒ EventDestinationUpdateParams
constructor
A new instance of EventDestinationUpdateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(description: nil, enabled_events: nil, include: nil, metadata: nil, name: nil, webhook_endpoint: nil) ⇒ EventDestinationUpdateParams
Returns a new instance of EventDestinationUpdateParams.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/stripe/params/v2/core/event_destination_update_params.rb', line 29 def initialize( description: nil, enabled_events: nil, include: nil, metadata: nil, name: nil, webhook_endpoint: nil ) @description = description @enabled_events = enabled_events @include = include = @name = name @webhook_endpoint = webhook_endpoint end |
Instance Attribute Details
#description ⇒ Object
An optional description of what the event destination is used for.
17 18 19 |
# File 'lib/stripe/params/v2/core/event_destination_update_params.rb', line 17 def description @description end |
#enabled_events ⇒ Object
The list of events to enable for this endpoint.
19 20 21 |
# File 'lib/stripe/params/v2/core/event_destination_update_params.rb', line 19 def enabled_events @enabled_events end |
#include ⇒ Object
Additional fields to include in the response. Currently supports ‘webhook_endpoint.url`.
21 22 23 |
# File 'lib/stripe/params/v2/core/event_destination_update_params.rb', line 21 def include @include end |
#metadata ⇒ Object
Metadata.
23 24 25 |
# File 'lib/stripe/params/v2/core/event_destination_update_params.rb', line 23 def end |
#name ⇒ Object
Event destination name.
25 26 27 |
# File 'lib/stripe/params/v2/core/event_destination_update_params.rb', line 25 def name @name end |
#webhook_endpoint ⇒ Object
Webhook endpoint configuration.
27 28 29 |
# File 'lib/stripe/params/v2/core/event_destination_update_params.rb', line 27 def webhook_endpoint @webhook_endpoint end |