Skip to content

Commit

Permalink
add location back to types
Browse files Browse the repository at this point in the history
  • Loading branch information
jalexander committed Nov 19, 2024
1 parent 20c7c37 commit 47d86a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/stripe/subscriptions/invoice.ex
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ defmodule Stripe.Invoice do
Does not take options yet.
Stripe API reference: https://stripe.com/docs/api#invoice
DEPRECATED BUT STILL IN USE:
closed
"""

use Stripe.Entity
Expand Down
6 changes: 6 additions & 0 deletions lib/stripe/types.ex
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ defmodule Stripe.Types do
town: String.t() | nil
}

@type location :: %{
country: String.t(),
source: String.t(),
state: String.t()
}

@type metadata :: %{
optional(String.t()) => String.t()
}
Expand Down

0 comments on commit 47d86a0

Please sign in to comment.