stripity_stripe v2.2.1 Stripe.Types View Source

A module that contains shared types matching Stripe schemas.

Link to this section Summary

Link to this section Types

Link to this type address() View Source
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() View Source
fee() :: %{
  amount: integer(),
  application: String.t() | nil,
  currency: String.t(),
  description: String.t() | nil,
  type: String.t()
}
Link to this type metadata() View Source
metadata() :: %{optional(String.t()) => String.t()}
Link to this type shipping() View Source
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 tax_info() View Source
tax_info() :: %{type: String.t(), tax_id: String.t() | nil}
Link to this type tax_info_verification() View Source
tax_info_verification() :: %{
  status: String.t() | nil,
  verified_name: String.t() | nil
}
Link to this type transfer_schedule() View Source
transfer_schedule() :: %{
  delay_days: non_neg_integer(),
  interval: String.t(),
  monthly_anchor: non_neg_integer() | nil,
  weekly_anchor: String.t() | nil
}