View Source Stripe.List (stripity_stripe v3.2.0)

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)

Summary

Types

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