Stripe.List (stripity_stripe v2.17.3) View Source

Work with Stripe list objects.

A list is a general-purpose Stripe object which holds one or more other Stripe objects in its "data" property.

In its current iteration it simply allows serializing into a properly typed struct.

In future iterations, it should:

  • Support multiple types of objects in its collection
  • Support fetching the next set of objects (pagination)

Link to this section Summary

Link to this section Types

Specs

t(value) :: %Stripe.List{
  data: [value],
  has_more: boolean(),
  object: String.t(),
  total_count: integer() | nil,
  url: String.t()
}

Specs

value() :: term()