Skip to content

Commit

Permalink
add date back in to invoice
Browse files Browse the repository at this point in the history
  • Loading branch information
jalexander committed Nov 19, 2024
1 parent 3741fb6 commit 643d032
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/stripe/subscriptions/invoice.ex
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ defmodule Stripe.Invoice do
custom_fields: custom_fields() | nil,
customer: Stripe.id() | Stripe.Customer.t(),
created: Stripe.timestamp(),
date: Stripe.timestamp(),
default_payment_method: String.t() | nil,
default_source: String.t() | nil,
default_tax_rates: Stripe.List.t(map) | nil,
Expand Down Expand Up @@ -134,6 +135,7 @@ defmodule Stripe.Invoice do
:currency,
:custom_fields,
:customer,
:date,
:default_payment_method,
:default_source,
:default_tax_rates,
Expand Down Expand Up @@ -304,6 +306,7 @@ defmodule Stripe.Invoice do
optional(:billing) => String.t(),
optional(:customer) => Stripe.id() | Stripe.Customer.t(),
optional(:created) => Stripe.date_query(),
optional(:date) => Stripe.date_query(),
optional(:due_date) => Stripe.timestamp(),
optional(:ending_before) => t | Stripe.id(),
optional(:limit) => 1..100,
Expand Down

0 comments on commit 643d032

Please sign in to comment.