stripity_stripe v2.1.0 Stripe.Types

A module that contains shared types matching Stripe schemas.

Link to this section Summary

Link to this section Types

Link to this type address()
address() :: %{
  city: String.t() | nil,
  country: String.t() | nil,
  line1: String.t() | nil,
  line2: String.t() | nil,
  postal_code: String.t() | nil,
  state: String.t() | nil
}
Link to this type fee()
fee() :: %{
  amount: integer(),
  application: String.t() | nil,
  currency: String.t(),
  description: String.t() | nil,
  type: String.t()
}
Link to this type metadata()
metadata() :: %{optional(String.t()) => String.t()}
Link to this type shipping()
shipping() :: %{
  address: Stripe.Types.address(),
  carrier: String.t() | nil,
  name: String.t(),
  phone: String.t() | nil,
  tracking_number: String.t() | nil
}
Link to this type transfer_schedule()
transfer_schedule() :: %{
  delay_days: non_neg_integer(),
  interval: String.t(),
  monthly_anchor: non_neg_integer() | nil,
  weekly_anchor: String.t() | nil
}