diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 5dd641dc..ea2718ac 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1839 \ No newline at end of file +v1841 \ No newline at end of file diff --git a/lib/stripe/resources/invoice.rb b/lib/stripe/resources/invoice.rb index a63ed2c6..384f581a 100644 --- a/lib/stripe/resources/invoice.rb +++ b/lib/stripe/resources/invoice.rb @@ -1048,7 +1048,7 @@ module Stripe attr_accessor :auto_advance # Settings for automatic tax lookup for this invoice. attr_accessor :automatic_tax - # The time when this invoice should be scheduled to finalize. The invoice will be finalized at this time if it is still in draft state. To turn off automatic finalization, set `auto_advance` to false. + # The time when this invoice should be scheduled to finalize (up to 5 years in the future). The invoice is finalized at this time if it's still in draft state. To turn off automatic finalization, set `auto_advance` to false. attr_accessor :automatically_finalizes_at # Either `charge_automatically` or `send_invoice`. This field can be updated only on `draft` invoices. attr_accessor :collection_method @@ -1791,7 +1791,7 @@ module Stripe attr_accessor :auto_advance # Settings for automatic tax lookup for this invoice. attr_accessor :automatic_tax - # The time when this invoice should be scheduled to finalize. The invoice will be finalized at this time if it is still in draft state. + # The time when this invoice should be scheduled to finalize (up to 5 years in the future). The invoice is finalized at this time if it's still in draft state. attr_accessor :automatically_finalizes_at # Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this invoice using the default source attached to the customer. When sending an invoice, Stripe will email this invoice to the customer with payment instructions. Defaults to `charge_automatically`. attr_accessor :collection_method diff --git a/lib/stripe/services/invoice_service.rb b/lib/stripe/services/invoice_service.rb index 1f18b3ea..32001a03 100644 --- a/lib/stripe/services/invoice_service.rb +++ b/lib/stripe/services/invoice_service.rb @@ -554,7 +554,7 @@ module Stripe attr_accessor :auto_advance # Settings for automatic tax lookup for this invoice. attr_accessor :automatic_tax - # The time when this invoice should be scheduled to finalize. The invoice will be finalized at this time if it is still in draft state. To turn off automatic finalization, set `auto_advance` to false. + # The time when this invoice should be scheduled to finalize (up to 5 years in the future). The invoice is finalized at this time if it's still in draft state. To turn off automatic finalization, set `auto_advance` to false. attr_accessor :automatically_finalizes_at # Either `charge_automatically` or `send_invoice`. This field can be updated only on `draft` invoices. attr_accessor :collection_method @@ -1297,7 +1297,7 @@ module Stripe attr_accessor :auto_advance # Settings for automatic tax lookup for this invoice. attr_accessor :automatic_tax - # The time when this invoice should be scheduled to finalize. The invoice will be finalized at this time if it is still in draft state. + # The time when this invoice should be scheduled to finalize (up to 5 years in the future). The invoice is finalized at this time if it's still in draft state. attr_accessor :automatically_finalizes_at # Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this invoice using the default source attached to the customer. When sending an invoice, Stripe will email this invoice to the customer with payment instructions. Defaults to `charge_automatically`. attr_accessor :collection_method diff --git a/rbi/stripe.rbi b/rbi/stripe.rbi index f70e4738..de83c189 100644 --- a/rbi/stripe.rbi +++ b/rbi/stripe.rbi @@ -29898,7 +29898,7 @@ module Stripe # Settings for automatic tax lookup for this invoice. sig { returns(T.nilable(::Stripe::Invoice::UpdateParams::AutomaticTax)) } attr_accessor :automatic_tax - # The time when this invoice should be scheduled to finalize. The invoice will be finalized at this time if it is still in draft state. To turn off automatic finalization, set `auto_advance` to false. + # The time when this invoice should be scheduled to finalize (up to 5 years in the future). The invoice is finalized at this time if it's still in draft state. To turn off automatic finalization, set `auto_advance` to false. sig { returns(T.nilable(Integer)) } attr_accessor :automatically_finalizes_at # Either `charge_automatically` or `send_invoice`. This field can be updated only on `draft` invoices. @@ -30699,7 +30699,7 @@ module Stripe # Settings for automatic tax lookup for this invoice. sig { returns(T.nilable(::Stripe::Invoice::CreateParams::AutomaticTax)) } attr_accessor :automatic_tax - # The time when this invoice should be scheduled to finalize. The invoice will be finalized at this time if it is still in draft state. + # The time when this invoice should be scheduled to finalize (up to 5 years in the future). The invoice is finalized at this time if it's still in draft state. sig { returns(T.nilable(Integer)) } attr_accessor :automatically_finalizes_at # Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this invoice using the default source attached to the customer. When sending an invoice, Stripe will email this invoice to the customer with payment instructions. Defaults to `charge_automatically`. @@ -135830,7 +135830,7 @@ module Stripe # Settings for automatic tax lookup for this invoice. sig { returns(T.nilable(::Stripe::InvoiceService::UpdateParams::AutomaticTax)) } attr_accessor :automatic_tax - # The time when this invoice should be scheduled to finalize. The invoice will be finalized at this time if it is still in draft state. To turn off automatic finalization, set `auto_advance` to false. + # The time when this invoice should be scheduled to finalize (up to 5 years in the future). The invoice is finalized at this time if it's still in draft state. To turn off automatic finalization, set `auto_advance` to false. sig { returns(T.nilable(Integer)) } attr_accessor :automatically_finalizes_at # Either `charge_automatically` or `send_invoice`. This field can be updated only on `draft` invoices. @@ -136633,7 +136633,7 @@ module Stripe # Settings for automatic tax lookup for this invoice. sig { returns(T.nilable(::Stripe::InvoiceService::CreateParams::AutomaticTax)) } attr_accessor :automatic_tax - # The time when this invoice should be scheduled to finalize. The invoice will be finalized at this time if it is still in draft state. + # The time when this invoice should be scheduled to finalize (up to 5 years in the future). The invoice is finalized at this time if it's still in draft state. sig { returns(T.nilable(Integer)) } attr_accessor :automatically_finalizes_at # Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this invoice using the default source attached to the customer. When sending an invoice, Stripe will email this invoice to the customer with payment instructions. Defaults to `charge_automatically`. diff --git a/rbi/stripe/resources/invoice.rbi b/rbi/stripe/resources/invoice.rbi index 7e08ea68..3aea25f4 100644 --- a/rbi/stripe/resources/invoice.rbi +++ b/rbi/stripe/resources/invoice.rbi @@ -1466,7 +1466,7 @@ module Stripe # Settings for automatic tax lookup for this invoice. sig { returns(T.nilable(::Stripe::Invoice::UpdateParams::AutomaticTax)) } attr_accessor :automatic_tax - # The time when this invoice should be scheduled to finalize. The invoice will be finalized at this time if it is still in draft state. To turn off automatic finalization, set `auto_advance` to false. + # The time when this invoice should be scheduled to finalize (up to 5 years in the future). The invoice is finalized at this time if it's still in draft state. To turn off automatic finalization, set `auto_advance` to false. sig { returns(T.nilable(Integer)) } attr_accessor :automatically_finalizes_at # Either `charge_automatically` or `send_invoice`. This field can be updated only on `draft` invoices. @@ -2267,7 +2267,7 @@ module Stripe # Settings for automatic tax lookup for this invoice. sig { returns(T.nilable(::Stripe::Invoice::CreateParams::AutomaticTax)) } attr_accessor :automatic_tax - # The time when this invoice should be scheduled to finalize. The invoice will be finalized at this time if it is still in draft state. + # The time when this invoice should be scheduled to finalize (up to 5 years in the future). The invoice is finalized at this time if it's still in draft state. sig { returns(T.nilable(Integer)) } attr_accessor :automatically_finalizes_at # Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this invoice using the default source attached to the customer. When sending an invoice, Stripe will email this invoice to the customer with payment instructions. Defaults to `charge_automatically`. diff --git a/rbi/stripe/services/invoice_service.rbi b/rbi/stripe/services/invoice_service.rbi index c147adfc..71eb3a81 100644 --- a/rbi/stripe/services/invoice_service.rbi +++ b/rbi/stripe/services/invoice_service.rbi @@ -602,7 +602,7 @@ module Stripe # Settings for automatic tax lookup for this invoice. sig { returns(T.nilable(::Stripe::InvoiceService::UpdateParams::AutomaticTax)) } attr_accessor :automatic_tax - # The time when this invoice should be scheduled to finalize. The invoice will be finalized at this time if it is still in draft state. To turn off automatic finalization, set `auto_advance` to false. + # The time when this invoice should be scheduled to finalize (up to 5 years in the future). The invoice is finalized at this time if it's still in draft state. To turn off automatic finalization, set `auto_advance` to false. sig { returns(T.nilable(Integer)) } attr_accessor :automatically_finalizes_at # Either `charge_automatically` or `send_invoice`. This field can be updated only on `draft` invoices. @@ -1405,7 +1405,7 @@ module Stripe # Settings for automatic tax lookup for this invoice. sig { returns(T.nilable(::Stripe::InvoiceService::CreateParams::AutomaticTax)) } attr_accessor :automatic_tax - # The time when this invoice should be scheduled to finalize. The invoice will be finalized at this time if it is still in draft state. + # The time when this invoice should be scheduled to finalize (up to 5 years in the future). The invoice is finalized at this time if it's still in draft state. sig { returns(T.nilable(Integer)) } attr_accessor :automatically_finalizes_at # Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this invoice using the default source attached to the customer. When sending an invoice, Stripe will email this invoice to the customer with payment instructions. Defaults to `charge_automatically`.