Chargebeex.Event (chargebeex v0.6.0)

View Source

Summary

Types

t()

@type t() :: %Chargebeex.Event{
  api_version: String.t() | nil,
  content: map() | nil,
  event_type: String.t() | nil,
  id: String.t() | nil,
  object: String.t() | nil,
  occurred_at: integer() | nil,
  resources: map(),
  source: String.t() | nil,
  user: String.t() | nil,
  webhook_status: String.t() | nil
}

Functions

build(raw_data)

Callback implementation for Chargebeex.Resource.build/1.

build(map_or_kwlist, opts \\ [])

@spec build(ExConstructor.map_or_kwlist(), Keyword.t()) :: %Chargebeex.Event{
  api_version: term(),
  content: term(),
  event_type: term(),
  id: term(),
  object: term(),
  occurred_at: term(),
  resources: term(),
  source: term(),
  user: term(),
  webhook_status: term()
}

list(params \\ %{}, opts \\ [])

Callback implementation for Chargebeex.Resource.list/2.

retrieve(id, opts \\ [])

Callback implementation for Chargebeex.Resource.retrieve/2.