@@ -166,20 +166,6 @@ class AppliesTo(StripeObject):
166166 Controls which subscription items the billing schedule applies to.
167167 """
168168
169- class BillFrom (StripeObject ):
170- computed_timestamp : int
171- """
172- The time the billing schedule applies from.
173- """
174- timestamp : Optional [int ]
175- """
176- Use a precise Unix timestamp for prebilling to start. Must be earlier than `bill_until`.
177- """
178- type : Literal ["timestamp" ]
179- """
180- Describes how the billing schedule determines the start date. Possible values are `timestamp`.
181- """
182-
183169 class BillUntil (StripeObject ):
184170 class Duration (StripeObject ):
185171 interval : Literal ["day" , "month" , "week" , "year" ]
@@ -213,10 +199,6 @@ class Duration(StripeObject):
213199 """
214200 Specifies which subscription items the billing schedule applies to.
215201 """
216- bill_from : Optional [BillFrom ]
217- """
218- Specifies the start of the billing period.
219- """
220202 bill_until : BillUntil
221203 """
222204 Specifies the end of billing period.
@@ -225,11 +207,7 @@ class Duration(StripeObject):
225207 """
226208 Unique identifier for the billing schedule.
227209 """
228- _inner_class_types = {
229- "applies_to" : AppliesTo ,
230- "bill_from" : BillFrom ,
231- "bill_until" : BillUntil ,
232- }
210+ _inner_class_types = {"applies_to" : AppliesTo , "bill_until" : BillUntil }
233211
234212 class BillingThresholds (StripeObject ):
235213 amount_gte : Optional [int ]
@@ -400,6 +378,20 @@ class MandateOptions(StripeObject):
400378 """
401379 _inner_class_types = {"mandate_options" : MandateOptions }
402380
381+ class CheckScan (StripeObject ):
382+ class CheckDepositAddress (StripeObject ):
383+ city : Optional [str ]
384+ country : Optional [str ]
385+ line1 : Optional [str ]
386+ line2 : Optional [str ]
387+ postal_code : Optional [str ]
388+ state : Optional [str ]
389+
390+ check_deposit_address : Optional [CheckDepositAddress ]
391+ _inner_class_types = {
392+ "check_deposit_address" : CheckDepositAddress ,
393+ }
394+
403395 class CustomerBalance (StripeObject ):
404396 class BankTransfer (StripeObject ):
405397 class EuBankTransfer (StripeObject ):
@@ -585,6 +577,10 @@ class Filters(StripeObject):
585577 """
586578 This sub-hash contains details about the Card payment method options to pass to invoices created by the subscription.
587579 """
580+ check_scan : Optional [CheckScan ]
581+ """
582+ This sub-hash contains details about the Check Scan payment method options to pass to invoices created by the subscription.
583+ """
588584 customer_balance : Optional [CustomerBalance ]
589585 """
590586 This sub-hash contains details about the Bank transfer payment method options to pass to invoices created by the subscription.
@@ -621,6 +617,7 @@ class Filters(StripeObject):
621617 "acss_debit" : AcssDebit ,
622618 "bancontact" : Bancontact ,
623619 "card" : Card ,
620+ "check_scan" : CheckScan ,
624621 "customer_balance" : CustomerBalance ,
625622 "id_bank_transfer" : IdBankTransfer ,
626623 "konbini" : Konbini ,
@@ -649,6 +646,7 @@ class Filters(StripeObject):
649646 "boleto" ,
650647 "card" ,
651648 "cashapp" ,
649+ "check_scan" ,
652650 "crypto" ,
653651 "custom" ,
654652 "customer_balance" ,
0 commit comments