Class: Dinie::Events::CustomerKycUpdated

Inherits:
WebhookEventBase show all
Defined in:
lib/dinie/generated/events/customer_kyc_updated.rb

Constant Summary

Constants inherited from Internal::Model

Internal::Model::REDACTED_ATTRIBUTES

Class Method Summary collapse

Methods inherited from Internal::Model

#==, attribute, attributes, #deconstruct_keys, #hash, inherited, #initialize, #inspect, #to_h

Constructor Details

This class inherits a constructor from Dinie::Internal::Model

Class Method Details

.deserialize(raw) ⇒ Object



23
24
25
26
27
28
29
30
31
32
33
# File 'lib/dinie/generated/events/customer_kyc_updated.rb', line 23

def self.deserialize(raw)
  new(
    api_version: raw[:api_version],
    created_at: raw[:created_at],
    data: CustomerKycUpdatedData.deserialize(raw[:data]),
    delivery_id: raw[:delivery_id],
    id: raw[:id],
    timestamp: raw[:timestamp],
    type: "customer.kyc_updated"
  )
end