Class: Stripe::V2::Core::EventReasonRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/stripe/resources/v2/core/event_notification.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#idObject (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_keyObject (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