View Source ExOAPI.Stripe.Schemas.NotificationEventData (exoapi_stripe v0.1.4)

:object :: :map

Object containing the API resource relevant to the event. For example, an invoice.created event will have a full invoice object as the value of the object key.

:previous_attributes :: :map

Object containing the names of the attributes that have changed, and their previous values (sent along only with *.updated events).

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.NotificationEventData{
  object: map() | nil,
  previous_attributes: map() | nil
}

Link to this section Functions

Link to this function

changeset(struct \\ %__MODULE__{}, params)

View Source
@spec changeset(t(), params()) :: Ecto.Changeset.t()