Class: Stripe::V2::Core::EventReasonRequest
- Inherits:
-
Object
- Object
- Stripe::V2::Core::EventReasonRequest
- Defined in:
- lib/stripe/resources/v2/core/event_notification.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#idempotency_key ⇒ Object
readonly
Returns the value of attribute idempotency_key.
Instance Method Summary collapse
-
#initialize(event_reason_request_payload = {}) ⇒ EventReasonRequest
constructor
A new instance of EventReasonRequest.
Constructor Details
#initialize(event_reason_request_payload = {}) ⇒ EventReasonRequest
Returns a new instance of EventReasonRequest.
9 10 11 12 |
# File 'lib/stripe/resources/v2/core/event_notification.rb', line 9 def initialize(event_reason_request_payload = {}) @id = event_reason_request_payload[:id] @idempotency_key = event_reason_request_payload[:idempotency_key] end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
7 8 9 |
# File 'lib/stripe/resources/v2/core/event_notification.rb', line 7 def id @id end |
#idempotency_key ⇒ Object (readonly)
Returns the value of attribute idempotency_key.
7 8 9 |
# File 'lib/stripe/resources/v2/core/event_notification.rb', line 7 def idempotency_key @idempotency_key end |