o
    Bin                    @   s   d dl mZ d dlmZ d dlmZ d dlmZ d dlm	Z	 d dl
mZ d dlmZ d dlmZ d d	lmZmZmZ d d
lmZmZmZ G dd deZdS )    )Invoice)InvoiceLineItemService)InvoiceUpcomingLinesService)
ListObject)RequestOptions)SearchResultObject)StripeService)sanitize_id)DictListcast)LiteralNotRequired	TypedDictc                	       s  e Zd Z fddZG dd deZG dd deZG dd deZG d	d
 d
eZG dd deZ	G dd deZ
G dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd  d eZG d!d" d"eZG d#d$ d$eZG d%d& d&eZG d'd( d(eZG d)d* d*eZG d+d, d,eZG d-d. d.eZG d/d0 d0eZG d1d2 d2eZG d3d4 d4eZG d5d6 d6eZG d7d8 d8eZG d9d: d:eZ G d;d< d<eZ!G d=d> d>eZ"G d?d@ d@eZ#G dAdB dBeZ$G dCdD dDeZ%G dEdF dFeZ&G dGdH dHeZ'G dIdJ dJeZ(G dKdL dLeZ)G dMdN dNeZ*G dOdP dPeZ+G dQdR dReZ,G dSdT dTeZ-G dUdV dVeZ.G dWdX dXeZ/G dYdZ dZeZ0G d[d\ d\eZ1G d]d^ d^eZ2G d_d` d`eZ3G dadb dbeZ4G dcdd ddeZ5G dedf dfeZ6G dgdh dheZ7G didj djeZ8G dkdl dleZ9G dmdn dneZ:G dodp dpeZ;G dqdr dreZ<G dsdt dteZ=G dudv dveZ>G dwdx dxeZ?G dydz dzeZ@G d{d| d|eZAG d}d~ d~eZBG dd deZCG dd deZDG dd deZEG dd deZFG dd deZGG dd deZHG dd deZIG dd deZJG dd deZKG dd deZLG dd deZMG dd deZNG dd deZOG dd deZPG dd deZQG dd deZRG dd deZSG dd deZTG dd deZUG dd deZVG dd deZWG dd deZXG dd deZYG dd deZZG dd deZ[G dd deZ\G dd deZ]G dd deZ^G dd deZ_G dd deZ`G dd deZaG dd deZbG dd deZcG dd deZdG ddĄ deZeG ddƄ deZfG ddȄ deZgG ddʄ deZhG dd̄ deZiG dd΄ deZjG ddЄ deZkG dd҄ deZlG ddԄ deZmG ddք deZnG dd؄ deZoG ddڄ deZpG dd܄ deZqG ddބ deZrG dd deZsG dd deZtG dd deZuG dd deZvG dd deZwG dd deZxG dd deZyG dd deZzG dd deZ{G dd deZ|G dd deZ}G dd deZ~G dd deZG dd deZG dd deZG dd deZG dd  d eZG dd deZG dd deZG dd deZG dd deZG d	d
 d
eZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd  d eZG d!d" d"eZG d#d$ d$eZG d%d& d&eZG d'd( d(eZG d)d* d*eZG d+d, d,eZG d-d. d.eZG d/d0 d0eZG d1d2 d2eZG d3d4 d4eZG d5d6 d6eZG d7d8 d8eZG d9d: d:eZG d;d< d<eZG d=d> d>eZG d?d@ d@eZG dAdB dBeZG dCdD dDeZG dEdF dFeZG dGdH dHeZG dIdJ dJeZG dKdL dLeZG dMdN dNeZG dOdP dPeZG dQdR dReZG dSdT dTeZG dUdV dVeZG dWdX dXeZG dYdZ dZeZG d[d\ d\eZG d]d^ d^eZG d_d` d`eZG dadb dbeZG dcdd ddeZG dedf dfeZG dgdh dheZi i fdiedjdkdledmefdndoZi i fdiedjdkdledmefdpdqZi i fdiedjdrdledmefdsdtZi i fdiedjdrdledmefdudvZi i fdiedjdwdledmefdxdyZi i fdiedjdwdledmefdzd{Zi i fdjd|dledmee fd}d~Zi i fdjd|dledmee fddZi i fdjddledmefddZi i fdjddledmefddZi fdjddledmee fddZi fdjddledmee fddZi i fdjddledmefddZi i fdjddledmefddZi fdiedjddledmefddZi fdiedjddledmefddZi i fdiedjddledmefddZi i fdiedjddledmefddZi i fdiedjddledmefddZi i fdiedjddledmefddZi i fdiedjddledmefddZi i fdiedjddledmefddZi fdiedjddledmefddZi fdiedjddledmefddZi i fdiedjddledmefddZi i fdiedjddledmefddZi fdiedjddledmefddZi fdiedjddledmefddZi i fdiedjddledmefddZi i fdiedjddledmefddZi i fdjddledmefddZi i fdjddledmefddZ܇  ZS (  InvoiceServicec                    s(   t  | t| j| _t| j| _d S )N)super__init__r   
_requestor
line_itemsr   upcoming_lines)self	requestor	__class__ W/var/www/html/Trade-python/venv/lib/python3.10/site-packages/stripe/_invoice_service.pyr      s   zInvoiceService.__init__c                   @   :   e Zd ZU eee  ed< 	 ed ed< 	 ed ed< dS )InvoiceService.AddLinesParamsexpandLiteral['']|Dict[str, str]invoice_metadata!InvoiceService.AddLinesParamsLinelinesN__name__
__module____qualname__r   r   str__annotations__r   r   r   r   AddLinesParams      
 r)   c                   @   s   e Zd ZU ee ed< 	 ee ed< 	 ee ed< 	 ed ed< 	 ee ed< 	 ed ed< 	 ed	 ed
< 	 ee ed< 	 ed ed< 	 ee ed< 	 ed ed< 	 ed ed< dS )r!   amountdescriptiondiscountablez;Literal['']|List[InvoiceService.AddLinesParamsLineDiscount]	discountsinvoice_itemr   metadata'InvoiceService.AddLinesParamsLinePeriodperiodprice*InvoiceService.AddLinesParamsLinePriceData
price_dataquantityz<Literal['']|List[InvoiceService.AddLinesParamsLineTaxAmount]tax_amountsLiteral['']|List[str]	tax_ratesNr$   r%   r&   r   intr(   r'   boolr   r   r   r   AddLinesParamsLine#   s:   
 r=   c                   @   6   e Zd ZU ee ed< 	 ee ed< 	 ee ed< dS )z)InvoiceService.AddLinesParamsLineDiscountcoupondiscountpromotion_codeNr$   r%   r&   r   r'   r(   r   r   r   r   AddLinesParamsLineDiscountY      
 rC   c                   @       e Zd ZU eed< 	 eed< dS )r1   endstartNr$   r%   r&   r;   r(   r   r   r   r   AddLinesParamsLinePeriodg   
   
 rI   c                   @   `   e Zd ZU eed< 	 ee ed< 	 ed ed< 	 eed  ed< 	 ee ed< 	 ee ed< d	S )
r4   currencyproduct5InvoiceService.AddLinesParamsLinePriceDataProductDataproduct_data	exclusive	inclusiveunspecifiedtax_behaviorunit_amountunit_amount_decimalNr$   r%   r&   r'   r(   r   r   r;   r   r   r   r   AddLinesParamsLinePriceDataq   "   
 rX   c                   @   Z   e Zd ZU ee ed< 	 eee  ed< 	 eeeef  ed< 	 eed< 	 ee ed< dS )rN   r,   imagesr0   nametax_codeNr$   r%   r&   r   r'   r(   r   r
   r   r   r   r   &AddLinesParamsLinePriceDataProductData      
 r_   c                   @   *   e Zd ZU eed< 	 ded< 	 eed< dS )z*InvoiceService.AddLinesParamsLineTaxAmountr+   5InvoiceService.AddLinesParamsLineTaxAmountTaxRateDatatax_rate_datataxable_amountNrH   r   r   r   r   AddLinesParamsLineTaxAmount   s   
 re   c                   @   t   e Zd ZU ee ed< 	 ee ed< 	 eed< 	 eed< 	 ee ed< 	 eed< 	 ee ed< 	 eed  ed	< d
S )rb   countryr,   display_namerR   jurisdiction
percentagestateamusement_taxcommunications_taxgsthstigstjct	lease_taxpstqstrst	sales_taxvattax_typeN	r$   r%   r&   r   r'   r(   r<   floatr   r   r   r   r   &AddLinesParamsLineTaxAmountTaxRateData   *   
 r|   c                   @   s  e Zd ZU ed ed< 	 ee ed< 	 ee ed< 	 ed ed< 	 eed  ed< 	 ee ed	< 	 ed
 ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee	e  ed< 	 ee ed< 	 ed ed< 	 ee ed< 	 ee ed< 	 ee	e  ed< 	 ee ed< 	 ed ed< 	 ed ed< 	 ed ed< 	 ee ed< 	 ee ed< 	 ed  ed!< 	 eed"  ed#< 	 ed$ ed%< 	 ed& ed'< 	 ed( ed)< 	 ee ed*< 	 ee ed+< 	 ed, ed-< d.S )/InvoiceService.CreateParamsr8   account_tax_idsapplication_fee_amountauto_advance'InvoiceService.CreateParamsAutomaticTaxautomatic_taxcharge_automaticallysend_invoicecollection_methodrL   z8Literal['']|List[InvoiceService.CreateParamsCustomField]custom_fieldscustomerdays_until_duedefault_payment_methoddefault_sourcedefault_tax_ratesr,   z5Literal['']|List[InvoiceService.CreateParamsDiscount]r.   due_dateeffective_atr   footer&InvoiceService.CreateParamsFromInvoicefrom_invoice!InvoiceService.CreateParamsIssuerissuerr   r0   numberon_behalf_of*InvoiceService.CreateParamsPaymentSettingspayment_settings)excludeincludepending_invoice_items_behavior$InvoiceService.CreateParamsRendering	rendering'InvoiceService.CreateParamsShippingCostshipping_cost*InvoiceService.CreateParamsShippingDetailsshipping_detailsstatement_descriptorsubscription'InvoiceService.CreateParamsTransferDatatransfer_dataN
r$   r%   r&   r   r(   r;   r<   r   r'   r   r   r   r   r   CreateParams   s   
 r   c                   @   $   e Zd ZU eed< 	 ed ed< dS )r   enabled0InvoiceService.CreateParamsAutomaticTaxLiability	liabilityNr$   r%   r&   r<   r(   r   r   r   r   r   CreateParamsAutomaticTaxp     
 r   c                   @   (   e Zd ZU ee ed< 	 ed ed< dS )r   accountr   r   typeNr$   r%   r&   r   r'   r(   r   r   r   r   r   !CreateParamsAutomaticTaxLiability|  
   
 r   c                   @   rE   )z&InvoiceService.CreateParamsCustomFieldr\   valueNr$   r%   r&   r'   r(   r   r   r   r   CreateParamsCustomField  rJ   r   c                   @   r>   )z#InvoiceService.CreateParamsDiscountr?   r@   rA   NrB   r   r   r   r   CreateParamsDiscount  rD   r   c                   @   $   e Zd ZU ed ed< 	 eed< dS )r   revisionactioninvoiceNr$   r%   r&   r   r(   r'   r   r   r   r   CreateParamsFromInvoice  
   
 r   c                   @   r   )r   r   r   r   Nr   r   r   r   r   CreateParamsIssuer  r   r   c                   @   6   e Zd ZU ed ed< 	 ed ed< 	 ed ed< dS )r   Literal['']|strdefault_mandate>InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionspayment_method_options  Literal['']|List[Literal['ach_credit_transfer', 'ach_debit', 'acss_debit', 'amazon_pay', 'au_becs_debit', 'bacs_debit', 'bancontact', 'boleto', 'card', 'cashapp', 'customer_balance', 'eps', 'fpx', 'giropay', 'grabpay', 'ideal', 'konbini', 'link', 'multibanco', 'p24', 'paynow', 'paypal', 'promptpay', 'revolut_pay', 'sepa_credit_transfer', 'sepa_debit', 'sofort', 'swish', 'us_bank_account', 'wechat_pay']]payment_method_typesNr$   r%   r&   r   r(   r   r   r   r   CreateParamsPaymentSettings     
 r   c                   @   n   e Zd ZU ed ed< 	 ed ed< 	 ed ed< 	 ed ed< 	 ed	 ed
< 	 ed ed< 	 ed ed< dS )r   zSLiteral['']|InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebit
acss_debitzTLiteral['']|InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsBancontact
bancontactzNLiteral['']|InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCardcardzYLiteral['']|InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancecustomer_balancezQLiteral['']|InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsKonbinikonbinizSLiteral['']|InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebit
sepa_debitzWLiteral['']|InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountus_bank_accountNr   r   r   r   r   /CreateParamsPaymentSettingsPaymentMethodOptions  :   
 r   c                   @   ,   e Zd ZU ed ed< 	 eed  ed< dS )zGInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitUInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsmandate_options	automaticinstantmicrodepositsverification_methodNr$   r%   r&   r   r(   r   r   r   r   r   8CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebit     
 r   c                   @      e Zd ZU eed  ed< dS )r   businesspersonaltransaction_typeNr$   r%   r&   r   r   r(   r   r   r   r   FCreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptions     
 r   c                   @   r   )zHInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsBancontactdeenfrnlpreferred_languageNr   r   r   r   r   9CreateParamsPaymentSettingsPaymentMethodOptionsBancontact     
 r   c                   @   r   )zBInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCardNInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsinstallmentsanyr   	challengerequest_three_d_secureNr   r   r   r   r   3CreateParamsPaymentSettingsPaymentMethodOptionsCard     
 r   c                   @   (   e Zd ZU ee ed< 	 ed ed< dS )r   r   z^Literal['']|InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanplanNr$   r%   r&   r   r<   r(   r   r   r   r   ?CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallments     
 r   c                   @   :   e Zd ZU ee ed< 	 eed  ed< 	 ed ed< dS )zRInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlancountmonthintervalfixed_countr   Nr$   r%   r&   r   r;   r(   r   r   r   r   r   CCreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlan+     
 r  c                   @   (   e Zd ZU ed ed< 	 ee ed< dS )zMInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceYInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferbank_transferfunding_typeNr$   r%   r&   r   r(   r'   r   r   r   r   >CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalance<     
 r  c                   @   r  )r  gInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfereu_bank_transferr   Nr
  r   r   r   r   JCreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferJ  r  r  c                   @      e Zd ZU eed< dS )r  rg   Nr   r   r   r   r   XCreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferX     
 r  c                   @      e Zd ZdS )zEInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsKonbiniNr$   r%   r&   r   r   r   r   6CreateParamsPaymentSettingsPaymentMethodOptionsKonbini`      r  c                   @   r  )zGInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebitNr  r   r   r   r   8CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebitc  r  r  c                   @   r   )zKInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccount_InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsfinancial_connectionsr   r   Nr   r   r   r   r   <CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountf     
 r  c                   @   F   e Zd ZU ed ed< 	 eeed   ed< 	 eeed   ed< dS )r  fInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersfiltersbalances	ownershippayment_methodtransactionspermissionsr   r!  r#  prefetchNr$   r%   r&   r   r(   r   r   r   r   r   r   PCreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsv  "   
 
r(  c                   @   "   e Zd ZU eeed   ed< dS )r  checkingsavingsaccount_subcategoriesNr$   r%   r&   r   r   r   r(   r   r   r   r   WCreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters  
   
 
r0  c                   @   D   e Zd ZU ed ed< 	 ed ed< 	 ee ed< 	 ed ed< dS )	r   ;Literal['']|Literal['exclude_tax', 'include_inclusive_tax']amount_tax_display'InvoiceService.CreateParamsRenderingPdfpdftemplateLiteral['']|inttemplate_versionNr
  r   r   r   r   CreateParamsRendering     
 r:  c                   @   r   )r5  a4autoletter	page_sizeNr   r   r   r   r   CreateParamsRenderingPdf  r   rA  c                   @   r   )r   shipping_rate7InvoiceService.CreateParamsShippingCostShippingRateDatashipping_rate_dataNrB   r   r   r   r   CreateParamsShippingCost     
 rE  c                   @   z   e Zd ZU ed ed< 	 eed< 	 ed ed< 	 eeeef  ed< 	 eed  ed< 	 ee ed	< 	 eed  ed
< dS )rC  GInvoiceService.CreateParamsShippingCostShippingRateDataDeliveryEstimatedelivery_estimaterh   BInvoiceService.CreateParamsShippingCostShippingRateDataFixedAmountfixed_amountr0   rP   rT   r]   r   Nr$   r%   r&   r   r(   r'   r
   r   r   r   r   r   (CreateParamsShippingCostShippingRateData  *   
 rM  c                   @   (   e Zd ZU ed ed< 	 ed ed< dS )rH  NInvoiceService.CreateParamsShippingCostShippingRateDataDeliveryEstimateMaximummaximumNInvoiceService.CreateParamsShippingCostShippingRateDataDeliveryEstimateMinimumminimumNr   r   r   r   r   8CreateParamsShippingCostShippingRateDataDeliveryEstimate     
 rT  c                   @   r   )rP  business_daydayhourr   weekunitr   Nr$   r%   r&   r   r(   r;   r   r   r   r   ?CreateParamsShippingCostShippingRateDataDeliveryEstimateMaximum  
   
 r]  c                   @   r   )rR  rV  r[  r   Nr\  r   r   r   r   ?CreateParamsShippingCostShippingRateDataDeliveryEstimateMinimum   r^  r_  c                   @   6   e Zd ZU eed< 	 eed< 	 eeedf  ed< dS )rJ  r+   rL   QInvoiceService.CreateParamsShippingCostShippingRateDataFixedAmountCurrencyOptionscurrency_optionsNr$   r%   r&   r;   r(   r'   r   r
   r   r   r   r   3CreateParamsShippingCostShippingRateDataFixedAmount     
 rd  c                   @   (   e Zd ZU eed< 	 eed  ed< dS )ra  r+   rP   rT   Nr$   r%   r&   r;   r(   r   r   r   r   r   r   BCreateParamsShippingCostShippingRateDataFixedAmountCurrencyOptions     
 rh  c                   @   .   e Zd ZU ded< 	 eed< 	 ed ed< dS )r   1InvoiceService.CreateParamsShippingDetailsAddressaddressr\   r   phoneNr$   r%   r&   r(   r'   r   r   r   r   r   CreateParamsShippingDetails-     
 ro  c                   @   `   e Zd ZU ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed< dS )rk  cityrg   line1line2postal_coderk   NrB   r   r   r   r   "CreateParamsShippingDetailsAddress;     
 rv  c                   @   $   e Zd ZU ee ed< 	 eed< dS )r   r+   destinationNr$   r%   r&   r   r;   r(   r'   r   r   r   r   CreateParamsTransferDataU  r   r{  c                   @   s   e Zd ZU ed ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ed ed< 	 ed ed	< 	 eee  ed
< 	 eed  ed< 	 ed ed< 	 ed ed< 	 eed  ed< 	 ee ed< 	 ed ed< 	 ee ed< 	 ed ed< dS )"InvoiceService.CreatePreviewParams.InvoiceService.CreatePreviewParamsAutomaticTaxr   r?   rL   r   1InvoiceService.CreatePreviewParamsCustomerDetailscustomer_detailsz<Literal['']|List[InvoiceService.CreatePreviewParamsDiscount]r.   r   -InvoiceService.CreatePreviewParamsInvoiceIteminvoice_items(InvoiceService.CreatePreviewParamsIssuerr   r   r   next	recurringpreview_modeschedule1InvoiceService.CreatePreviewParamsScheduleDetailsschedule_detailsr   5InvoiceService.CreatePreviewParamsSubscriptionDetailssubscription_detailsN)r$   r%   r&   r   r(   r'   r   r   r   r   r   r   CreatePreviewParams_  sV   
 r  c                   @   r   )r}  r   7InvoiceService.CreatePreviewParamsAutomaticTaxLiabilityr   Nr   r   r   r   r   CreatePreviewParamsAutomaticTax  r   r  c                   @   r   )r  r   r   r   Nr   r   r   r   r   (CreatePreviewParamsAutomaticTaxLiability  r   r  c                   @   V   e Zd ZU ed ed< 	 ed ed< 	 ed ed< 	 ed ed< 	 eed	  ed
< dS )r~  zDLiteral['']|InvoiceService.CreatePreviewParamsCustomerDetailsAddressrl  zELiteral['']|InvoiceService.CreatePreviewParamsCustomerDetailsShippingshipping4InvoiceService.CreatePreviewParamsCustomerDetailsTaxtax0Literal['']|Literal['exempt', 'none', 'reverse']
tax_exempt6InvoiceService.CreatePreviewParamsCustomerDetailsTaxIdtax_idsNr$   r%   r&   r   r(   r   r   r   r   r   "CreatePreviewParamsCustomerDetails  s*   
 r  c                   @   rq  )z8InvoiceService.CreatePreviewParamsCustomerDetailsAddressrr  rg   rs  rt  ru  rk   NrB   r   r   r   r   )CreatePreviewParamsCustomerDetailsAddress  rw  r  c                   @   .   e Zd ZU ded< 	 eed< 	 ee ed< dS )z9InvoiceService.CreatePreviewParamsCustomerDetailsShipping@InvoiceService.CreatePreviewParamsCustomerDetailsShippingAddressrl  r\   rm  Nrn  r   r   r   r   *CreatePreviewParamsCustomerDetailsShipping  s   
 r  c                   @   rq  )r  rr  rg   rs  rt  ru  rk   NrB   r   r   r   r   1CreatePreviewParamsCustomerDetailsShippingAddress	  rw  r  c                   @      e Zd ZU ed ed< dS )r  r   
ip_addressNr   r   r   r   r   %CreatePreviewParamsCustomerDetailsTax#     
 r  c                   @   r   )r  Jad_nrtae_trnar_cuitau_abnau_arnbg_uicbh_vatbo_tinbr_cnpjbr_cpfca_bn
ca_gst_hst	ca_pst_bc	ca_pst_mb	ca_pst_skca_qstch_uidch_vatcl_tincn_tinco_nitcr_tinde_stndo_rcnec_ruceg_tines_cif
eu_oss_vateu_vatgb_vatge_vathk_brhr_oibhu_tinid_npwpil_vatin_gstis_vatjp_cnjp_rnjp_trnke_pinkr_brnkz_binli_uidmx_rfcmy_frpmy_itnmy_sstng_tinno_vatno_voecnz_gstom_vatpe_rucph_tinro_tinrs_pibru_innru_kppsa_vatsg_gstsg_uensi_tinsv_nitth_vattr_tintw_vatua_vatus_einuy_rucve_rifvn_tinza_vatr   r   Nr   r   r   r   r   'CreatePreviewParamsCustomerDetailsTaxId)     
 Lr  c                   @   r>   )z*InvoiceService.CreatePreviewParamsDiscountr?   r@   rA   NrB   r   r   r   r   CreatePreviewParamsDiscount~  rD   r  c                   @      e Zd ZU ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ed ed< 	 ee ed< 	 ed ed	< 	 ed
 ed< 	 ee ed< 	 ed ed< 	 ee ed< 	 eed  ed< 	 ed ed< 	 ed ed< 	 ee ed< 	 ee ed< dS )r  r+   rL   r,   r-   zGLiteral['']|List[InvoiceService.CreatePreviewParamsInvoiceItemDiscount]r.   invoiceitemr   r0   3InvoiceService.CreatePreviewParamsInvoiceItemPeriodr2   r3   6InvoiceService.CreatePreviewParamsInvoiceItemPriceDatar5   r6   rP   rT   r   r]   r8   r9   rU   rV   N	r$   r%   r&   r   r;   r(   r'   r<   r   r   r   r   r   CreatePreviewParamsInvoiceItem  sR   
 r  c                   @   r>   )z5InvoiceService.CreatePreviewParamsInvoiceItemDiscountr?   r@   rA   NrB   r   r   r   r   &CreatePreviewParamsInvoiceItemDiscount  rD   r  c                   @   rE   )r  rF   rG   NrH   r   r   r   r   $CreatePreviewParamsInvoiceItemPeriod  rJ   r  c                   @   N   e Zd ZU eed< 	 eed< 	 eed  ed< 	 ee ed< 	 ee ed< dS )r  rL   rM   rP   rT   rU   rV   NrW   r   r   r   r   'CreatePreviewParamsInvoiceItemPriceData     
 r  c                   @   r   )r  r   r   r   Nr   r   r   r   r   CreatePreviewParamsIssuer  r   r  c                   @   B   e Zd ZU eed  ed< 	 eed  ed< 	 eed  ed< dS )r  cancelreleaseend_behavior6InvoiceService.CreatePreviewParamsScheduleDetailsPhasephasesalways_invoicecreate_prorationsnoneproration_behaviorNr$   r%   r&   r   r   r(   r   r   r   r   r   "CreatePreviewParamsScheduleDetails     
 r
  c                   @   f  e Zd ZU eed  ed< 	 ee ed< 	 ed ed< 	 eed  ed< 	 ed ed	< 	 eed
  ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ed ed< 	 ed ed< 	 ed ed< 	 ed ed< 	 ed ed< 	 ed ed< 	 ee	 ed< 	 ee
eef  ed< 	 ee ed< 	 eed  ed< 	 ed ed < 	 ed! ed"< 	 ee ed#< 	 ed ed$< d%S )&r  DInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemadd_invoice_itemsapplication_fee_percentBInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxr   r   phase_startbilling_cycle_anchorzSLiteral['']|InvoiceService.CreatePreviewParamsScheduleDetailsPhaseBillingThresholdsbilling_thresholdsr   r   r?   rL   r   r8   r   r   r,   zPLiteral['']|List[InvoiceService.CreatePreviewParamsScheduleDetailsPhaseDiscount]r.   int|Literal['now']end_dateEInvoiceService.CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsinvoice_settings:InvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemitems
iterationsr0   r   r  r  
start_dateBInvoiceService.CreatePreviewParamsScheduleDetailsPhaseTransferDatar   trial	trial_endNr$   r%   r&   r   r   r(   r{   r   r'   r;   r
   r<   r   r   r   r   'CreatePreviewParamsScheduleDetailsPhase"  s   
 r!  c                   @   V   e Zd ZU eed  ed< 	 ee ed< 	 ed ed< 	 ee ed< 	 ed ed< d	S )
r  LInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemDiscountr.   r3   MInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPriceDatar5   r6   r8   r9   Nr$   r%   r&   r   r   r(   r'   r;   r   r   r   r   5CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItem  "   
 r&  c                   @   r>   )r#  r?   r@   rA   NrB   r   r   r   r   =CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemDiscount  s   
 r(  c                   @   r  )r$  rL   rM   rP   rT   rU   rV   NrW   r   r   r   r   >CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPriceData  s   
 r)  c                   @   r   )r  r   KInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxLiabilityr   Nr   r   r   r   r   3CreatePreviewParamsScheduleDetailsPhaseAutomaticTax  r   r+  c                   @   r   )r*  r   r   r   Nr   r   r   r   r   <CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxLiability  
   
 r,  c                   @   (   e Zd ZU ee ed< 	 ee ed< dS )zGInvoiceService.CreatePreviewParamsScheduleDetailsPhaseBillingThresholds
amount_gtereset_billing_cycle_anchorNr$   r%   r&   r   r;   r(   r<   r   r   r   r   8CreatePreviewParamsScheduleDetailsPhaseBillingThresholds  r   r2  c                   @   r>   )z>InvoiceService.CreatePreviewParamsScheduleDetailsPhaseDiscountr?   r@   rA   NrB   r   r   r   r   /CreatePreviewParamsScheduleDetailsPhaseDiscount  rD   r3  c                   @   6   e Zd ZU ed ed< 	 ee ed< 	 ed ed< dS )r  r8   r   r   KInvoiceService.CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsIssuerr   Nr$   r%   r&   r   r(   r;   r   r   r   r   6CreatePreviewParamsScheduleDetailsPhaseInvoiceSettings
     
 r7  c                   @   r   )r5  r   r   r   Nr   r   r   r   r   <CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsIssuer  r-  r9  c                   @      e Zd ZU ed ed< 	 ed ed< 	 eeeef  ed< 	 ee ed< 	 ee ed< 	 ed ed	< 	 ee ed
< 	 ed ed< dS )r  zWLiteral['']|InvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemBillingThresholdsr  zTLiteral['']|List[InvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemDiscount]r.   r0   r   r3   CInvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemPriceDatar5   r6   r8   r9   Nr$   r%   r&   r   r(   r
   r'   r;   r   r   r   r   +CreatePreviewParamsScheduleDetailsPhaseItem&  .   
 r=  c                   @   r  )zKInvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemBillingThresholds	usage_gteNrH   r   r   r   r   <CreatePreviewParamsScheduleDetailsPhaseItemBillingThresholdsN  r  r@  c                   @   r>   )zBInvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemDiscountr?   r@   rA   NrB   r   r   r   r   3CreatePreviewParamsScheduleDetailsPhaseItemDiscountV  rD   rA  c                   @   X   e Zd ZU eed< 	 eed< 	 ded< 	 eed  ed< 	 ee ed< 	 ee ed< d	S )
r;  rL   rM   LInvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemPriceDataRecurringr  rP   rT   rU   rV   NrW   r   r   r   r   4CreatePreviewParamsScheduleDetailsPhaseItemPriceDatad     
 rD  c                   @   (   e Zd ZU ed ed< 	 ee ed< dS )rC  rX  r   rZ  yearr  interval_countNr$   r%   r&   r   r(   r   r;   r   r   r   r   =CreatePreviewParamsScheduleDetailsPhaseItemPriceDataRecurring  r-  rK  c                   @   rx  )r  amount_percentry  Nr$   r%   r&   r   r{   r(   r'   r   r   r   r   3CreatePreviewParamsScheduleDetailsPhaseTransferData  r   rN  c                   @      e Zd ZU ed ed< 	 ed ed< 	 ee ed< 	 ee ed< 	 ed ed< 	 eed	  ed
< 	 eed  ed< 	 ee ed< 	 eed  ed< 	 ee ed< 	 ed ed< dS )r  Literal['now', 'unchanged']|intr  r8  	cancel_atcancel_at_period_end
cancel_nowr8   r   9InvoiceService.CreatePreviewParamsSubscriptionDetailsItemr  r  r  proration_datenow	resume_atr  Literal['now']|intr  N	r$   r%   r&   r   r(   r<   r   r   r;   r   r   r   r   &CreatePreviewParamsSubscriptionDetails  6   
 rZ  c                   @      e Zd ZU ed ed< 	 ee ed< 	 ee ed< 	 ed ed< 	 ee ed< 	 ed ed	< 	 ee ed
< 	 ee ed< 	 ed ed< 	 ee ed< 	 ed ed< dS )rT  zVLiteral['']|InvoiceService.CreatePreviewParamsSubscriptionDetailsItemBillingThresholdsr  clear_usagedeletedzSLiteral['']|List[InvoiceService.CreatePreviewParamsSubscriptionDetailsItemDiscount]r.   idr   r0   r   r3   BInvoiceService.CreatePreviewParamsSubscriptionDetailsItemPriceDatar5   r6   r8   r9   Nr$   r%   r&   r   r(   r<   r'   r;   r   r   r   r   *CreatePreviewParamsSubscriptionDetailsItem  :   
 rb  c                   @   r  )zJInvoiceService.CreatePreviewParamsSubscriptionDetailsItemBillingThresholdsr?  NrH   r   r   r   r   ;CreatePreviewParamsSubscriptionDetailsItemBillingThresholds  r  rd  c                   @   r>   )zAInvoiceService.CreatePreviewParamsSubscriptionDetailsItemDiscountr?   r@   rA   NrB   r   r   r   r   2CreatePreviewParamsSubscriptionDetailsItemDiscount  rD   re  c                   @   rB  )
r`  rL   rM   KInvoiceService.CreatePreviewParamsSubscriptionDetailsItemPriceDataRecurringr  rP   rT   rU   rV   NrW   r   r   r   r   3CreatePreviewParamsSubscriptionDetailsItemPriceData  rE  rg  c                   @   rF  )rf  rG  r  rI  NrJ  r   r   r   r   <CreatePreviewParamsSubscriptionDetailsItemPriceDataRecurring.  r-  rh  c                   @   r  )InvoiceService.DeleteParamsNr  r   r   r   r   DeleteParams:  r  rj  c                   @   s,   e Zd ZU ee ed< 	 eee  ed< dS )$InvoiceService.FinalizeInvoiceParamsr   r   N)r$   r%   r&   r   r<   r(   r   r'   r   r   r   r   FinalizeInvoiceParams=  s
   
 rl  c                   @   s   e Zd ZU eed  ed< 	 ed ed< 	 ee ed< 	 ed ed< ee ed< 	 eee  ed	< 	 ee ed
< 	 ee ed< 	 eed  ed< 	 ee ed< dS )InvoiceService.ListParamsr   r   z$InvoiceService.ListParamsCreated|intcreatedr   z$InvoiceService.ListParamsDueDate|intr   ending_beforer   limitstarting_after)draftopenpaiduncollectiblevoidstatusr   N)	r$   r%   r&   r   r   r(   r'   r   r;   r   r   r   r   
ListParamsG  s0   
 rx  c                   @   D   e Zd ZU ee ed< 	 ee ed< 	 ee ed< 	 ee ed< dS )z InvoiceService.ListParamsCreatedgtgteltlteNr$   r%   r&   r   r;   r(   r   r   r   r   ListParamsCreatedr     
 r  c                   @   ry  )z InvoiceService.ListParamsDueDaterz  r{  r|  r}  Nr~  r   r   r   r   ListParamsDueDate  r  r  c                   @      e Zd ZU eee  ed< dS )&InvoiceService.MarkUncollectibleParamsr   Nr#   r   r   r   r   MarkUncollectibleParams  r   r  c                   @   sr   e Zd ZU eee  ed< 	 ee ed< 	 ed ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed< d	S )
InvoiceService.PayParamsr   forgiver   mandateoff_sessionpaid_out_of_bandr"  sourceN)r$   r%   r&   r   r   r'   r(   r<   r   r   r   r   	PayParams  s   
 r  c                   @   r   ) InvoiceService.RemoveLinesParamsr   r   r    $InvoiceService.RemoveLinesParamsLiner"   Nr#   r   r   r   r   RemoveLinesParams  r*   r  c                   @   r   )r  )deleteunassignbehaviorr_  Nr   r   r   r   r   RemoveLinesParamsLine  r   r  c                   @   r  )InvoiceService.RetrieveParamsr   Nr#   r   r   r   r   RetrieveParams  r   r  c                   @   sD   e Zd ZU eee  ed< 	 ee ed< 	 ee ed< 	 eed< dS )InvoiceService.SearchParamsr   rp  pagequeryN)r$   r%   r&   r   r   r'   r(   r;   r   r   r   r   SearchParams  s   
 r  c                   @   r  ) InvoiceService.SendInvoiceParamsr   Nr#   r   r   r   r   SendInvoiceParams  r   r  c                   @   s  e Zd ZU ed ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ed ed< 	 ed ed	< 	 eee  ed
< 	 eed  ed< 	 ed ed< 	 ed ed< 	 eed  ed< 	 ee ed< 	 ed ed< 	 ee ed< 	 ed ed< 	 ed ed< 	 ee ed< 	 ee ed< 	 ed ed< 	 ed ed < 	 eed!  ed"< 	 eed#  ed$< 	 ee	 ed%< 	 eed&  ed'< 	 ee	 ed(< 	 ed) ed*< 	 ee ed+< d,S )-InvoiceService.UpcomingParams)InvoiceService.UpcomingParamsAutomaticTaxr   r?   rL   r   ,InvoiceService.UpcomingParamsCustomerDetailsr  z7Literal['']|List[InvoiceService.UpcomingParamsDiscount]r.   r   (InvoiceService.UpcomingParamsInvoiceItemr  #InvoiceService.UpcomingParamsIssuerr   r   r   r  r  r  ,InvoiceService.UpcomingParamsScheduleDetailsr  r   rP  !subscription_billing_cycle_anchorr8  subscription_cancel_at!subscription_cancel_at_period_endsubscription_cancel_nowr8   subscription_default_tax_rates0InvoiceService.UpcomingParamsSubscriptionDetailsr  -InvoiceService.UpcomingParamsSubscriptionItemsubscription_itemsr  subscription_proration_behaviorsubscription_proration_daterV  subscription_resume_atsubscription_start_daterX  subscription_trial_endsubscription_trial_from_planN)
r$   r%   r&   r   r(   r'   r   r   r<   r;   r   r   r   r   UpcomingParams  s   
 r  c                   @   r   )r  r   2InvoiceService.UpcomingParamsAutomaticTaxLiabilityr   Nr   r   r   r   r   UpcomingParamsAutomaticTaxp  r   r  c                   @   r   )r  r   r   r   Nr   r   r   r   r   #UpcomingParamsAutomaticTaxLiability|  r   r  c                   @   r  )r  z?Literal['']|InvoiceService.UpcomingParamsCustomerDetailsAddressrl  z@Literal['']|InvoiceService.UpcomingParamsCustomerDetailsShippingr  /InvoiceService.UpcomingParamsCustomerDetailsTaxr  r  r  1InvoiceService.UpcomingParamsCustomerDetailsTaxIdr  Nr  r   r   r   r   UpcomingParamsCustomerDetails  s&   
 r  c                   @   rq  )z3InvoiceService.UpcomingParamsCustomerDetailsAddressrr  rg   rs  rt  ru  rk   NrB   r   r   r   r   $UpcomingParamsCustomerDetailsAddress  rw  r  c                   @   r  )z4InvoiceService.UpcomingParamsCustomerDetailsShipping;InvoiceService.UpcomingParamsCustomerDetailsShippingAddressrl  r\   rm  Nrn  r   r   r   r   %UpcomingParamsCustomerDetailsShipping  rp  r  c                   @   rq  )r  rr  rg   rs  rt  ru  rk   NrB   r   r   r   r   ,UpcomingParamsCustomerDetailsShippingAddress  rw  r  c                   @   r  )r  r   r  Nr   r   r   r   r    UpcomingParamsCustomerDetailsTax  r  r  c                   @   r   )r  r  r   r   Nr   r   r   r   r   "UpcomingParamsCustomerDetailsTaxId  r  r  c                   @   r>   )z%InvoiceService.UpcomingParamsDiscountr?   r@   rA   NrB   r   r   r   r   UpcomingParamsDiscountA	  rD   r  c                   @   r  )r  r+   rL   r,   r-   zBLiteral['']|List[InvoiceService.UpcomingParamsInvoiceItemDiscount]r.   r  r   r0   .InvoiceService.UpcomingParamsInvoiceItemPeriodr2   r3   1InvoiceService.UpcomingParamsInvoiceItemPriceDatar5   r6   rP   rT   r   r]   r8   r9   rU   rV   Nr  r   r   r   r   UpcomingParamsInvoiceItemO	  sN   
 r  c                   @   r>   )z0InvoiceService.UpcomingParamsInvoiceItemDiscountr?   r@   rA   NrB   r   r   r   r   !UpcomingParamsInvoiceItemDiscount	  rD   r  c                   @   rE   )r  rF   rG   NrH   r   r   r   r   UpcomingParamsInvoiceItemPeriod	  rJ   r  c                   @   r  )r  rL   rM   rP   rT   rU   rV   NrW   r   r   r   r   "UpcomingParamsInvoiceItemPriceData	  r  r  c                   @   r   )r  r   r   r   Nr   r   r   r   r   UpcomingParamsIssuer	  r   r  c                   @   r  )r  r  r  1InvoiceService.UpcomingParamsScheduleDetailsPhaser  r  r  Nr	  r   r   r   r   UpcomingParamsScheduleDetails	  r  r  c                   @   r  )&r  ?InvoiceService.UpcomingParamsScheduleDetailsPhaseAddInvoiceItemr  r  =InvoiceService.UpcomingParamsScheduleDetailsPhaseAutomaticTaxr   r  r  zNLiteral['']|InvoiceService.UpcomingParamsScheduleDetailsPhaseBillingThresholdsr  r   r   r?   rL   r   r8   r   r   r,   zKLiteral['']|List[InvoiceService.UpcomingParamsScheduleDetailsPhaseDiscount]r.   r  r  @InvoiceService.UpcomingParamsScheduleDetailsPhaseInvoiceSettingsr  5InvoiceService.UpcomingParamsScheduleDetailsPhaseItemr  r  r0   r   r  r  r  =InvoiceService.UpcomingParamsScheduleDetailsPhaseTransferDatar   r  r  Nr   r   r   r   r   "UpcomingParamsScheduleDetailsPhase	  s   
 r  c                   @   r"  )
r  GInvoiceService.UpcomingParamsScheduleDetailsPhaseAddInvoiceItemDiscountr.   r3   HInvoiceService.UpcomingParamsScheduleDetailsPhaseAddInvoiceItemPriceDatar5   r6   r8   r9   Nr%  r   r   r   r   0UpcomingParamsScheduleDetailsPhaseAddInvoiceItemS
  r'  r  c                   @   r>   )r  r?   r@   rA   NrB   r   r   r   r   8UpcomingParamsScheduleDetailsPhaseAddInvoiceItemDiscounto
  rD   r  c                   @   r  )r  rL   rM   rP   rT   rU   rV   NrW   r   r   r   r   9UpcomingParamsScheduleDetailsPhaseAddInvoiceItemPriceData}
  r  r  c                   @   r   )r  r   FInvoiceService.UpcomingParamsScheduleDetailsPhaseAutomaticTaxLiabilityr   Nr   r   r   r   r   .UpcomingParamsScheduleDetailsPhaseAutomaticTax
  r   r  c                   @   r   )r  r   r   r   Nr   r   r   r   r   7UpcomingParamsScheduleDetailsPhaseAutomaticTaxLiability
  r   r  c                   @   r.  )zBInvoiceService.UpcomingParamsScheduleDetailsPhaseBillingThresholdsr/  r0  Nr1  r   r   r   r   3UpcomingParamsScheduleDetailsPhaseBillingThresholds
  r   r  c                   @   r>   )z9InvoiceService.UpcomingParamsScheduleDetailsPhaseDiscountr?   r@   rA   NrB   r   r   r   r   *UpcomingParamsScheduleDetailsPhaseDiscount
  rD   r  c                   @   r4  )r  r8   r   r   FInvoiceService.UpcomingParamsScheduleDetailsPhaseInvoiceSettingsIssuerr   Nr6  r   r   r   r   1UpcomingParamsScheduleDetailsPhaseInvoiceSettings
  r8  r  c                   @   r   )r  r   r   r   Nr   r   r   r   r   7UpcomingParamsScheduleDetailsPhaseInvoiceSettingsIssuer
  r   r  c                   @   r:  )r  zRLiteral['']|InvoiceService.UpcomingParamsScheduleDetailsPhaseItemBillingThresholdsr  zOLiteral['']|List[InvoiceService.UpcomingParamsScheduleDetailsPhaseItemDiscount]r.   r0   r   r3   >InvoiceService.UpcomingParamsScheduleDetailsPhaseItemPriceDatar5   r6   r8   r9   Nr<  r   r   r   r   &UpcomingParamsScheduleDetailsPhaseItem
  r>  r  c                   @   r  )zFInvoiceService.UpcomingParamsScheduleDetailsPhaseItemBillingThresholdsr?  NrH   r   r   r   r   7UpcomingParamsScheduleDetailsPhaseItemBillingThresholds     
 r  c                   @   r>   )z=InvoiceService.UpcomingParamsScheduleDetailsPhaseItemDiscountr?   r@   rA   NrB   r   r   r   r   .UpcomingParamsScheduleDetailsPhaseItemDiscount  rD   r  c                   @   rB  )
r  rL   rM   GInvoiceService.UpcomingParamsScheduleDetailsPhaseItemPriceDataRecurringr  rP   rT   rU   rV   NrW   r   r   r   r   /UpcomingParamsScheduleDetailsPhaseItemPriceData  rE  r  c                   @   rF  )r  rG  r  rI  NrJ  r   r   r   r   8UpcomingParamsScheduleDetailsPhaseItemPriceDataRecurring5  r   r  c                   @   rx  )r  rL  ry  NrM  r   r   r   r   .UpcomingParamsScheduleDetailsPhaseTransferData?  r   r  c                   @   rO  )r  rP  r  r8  rQ  rR  rS  r8   r   4InvoiceService.UpcomingParamsSubscriptionDetailsItemr  r  r  rU  rV  rW  r  rX  r  NrY  r   r   r   r   !UpcomingParamsSubscriptionDetailsI  r[  r  c                   @   r\  )r  zQLiteral['']|InvoiceService.UpcomingParamsSubscriptionDetailsItemBillingThresholdsr  r]  r^  zNLiteral['']|List[InvoiceService.UpcomingParamsSubscriptionDetailsItemDiscount]r.   r_  r   r0   r   r3   =InvoiceService.UpcomingParamsSubscriptionDetailsItemPriceDatar5   r6   r8   r9   Nra  r   r   r   r   %UpcomingParamsSubscriptionDetailsItem{  rc  r  c                   @   r  )zEInvoiceService.UpcomingParamsSubscriptionDetailsItemBillingThresholdsr?  NrH   r   r   r   r   6UpcomingParamsSubscriptionDetailsItemBillingThresholds  r  r  c                   @   r>   )z<InvoiceService.UpcomingParamsSubscriptionDetailsItemDiscountr?   r@   rA   NrB   r   r   r   r   -UpcomingParamsSubscriptionDetailsItemDiscount  rD   r  c                   @   rB  )
r  rL   rM   FInvoiceService.UpcomingParamsSubscriptionDetailsItemPriceDataRecurringr  rP   rT   rU   rV   NrW   r   r   r   r   .UpcomingParamsSubscriptionDetailsItemPriceData  rE  r  c                   @   rF  )r  rG  r  rI  NrJ  r   r   r   r   7UpcomingParamsSubscriptionDetailsItemPriceDataRecurring  r   r  c                   @   r\  )r  zJLiteral['']|InvoiceService.UpcomingParamsSubscriptionItemBillingThresholdsr  r]  r^  zGLiteral['']|List[InvoiceService.UpcomingParamsSubscriptionItemDiscount]r.   r_  r   r0   r   r3   6InvoiceService.UpcomingParamsSubscriptionItemPriceDatar5   r6   r8   r9   Nra  r   r   r   r   UpcomingParamsSubscriptionItem  rc  r  c                   @   r  )z>InvoiceService.UpcomingParamsSubscriptionItemBillingThresholdsr?  NrH   r   r   r   r   /UpcomingParamsSubscriptionItemBillingThresholds  r  r  c                   @   r>   )z5InvoiceService.UpcomingParamsSubscriptionItemDiscountr?   r@   rA   NrB   r   r   r   r   &UpcomingParamsSubscriptionItemDiscount#  rD   r  c                   @   rB  )
r  rL   rM   ?InvoiceService.UpcomingParamsSubscriptionItemPriceDataRecurringr  rP   rT   rU   rV   NrW   r   r   r   r   'UpcomingParamsSubscriptionItemPriceData1  s    
 r  c                   @   rF  )r  rG  r  rI  NrJ  r   r   r   r   0UpcomingParamsSubscriptionItemPriceDataRecurringO  r   r  c                   @   r   ) InvoiceService.UpdateLinesParamsr   r   r    $InvoiceService.UpdateLinesParamsLiner"   Nr#   r   r   r   r   UpdateLinesParamsY  r*   r  c                   @   s   e Zd ZU ee ed< 	 ee ed< 	 ee ed< 	 ed ed< 	 eed< 	 ed ed< 	 ed	 ed
< 	 ee ed< 	 ed ed< 	 ee ed< 	 ed ed< 	 ed ed< dS )r  r+   r,   r-   z>Literal['']|List[InvoiceService.UpdateLinesParamsLineDiscount]r.   r_  r   r0   *InvoiceService.UpdateLinesParamsLinePeriodr2   r3   -InvoiceService.UpdateLinesParamsLinePriceDatar5   r6   z?Literal['']|List[InvoiceService.UpdateLinesParamsLineTaxAmount]r7   r8   r9   Nr:   r   r   r   r   UpdateLinesParamsLineg  s>   
 r  c                   @   r>   )z,InvoiceService.UpdateLinesParamsLineDiscountr?   r@   rA   NrB   r   r   r   r   UpdateLinesParamsLineDiscount  rD   r  c                   @   rE   )r  rF   rG   NrH   r   r   r   r   UpdateLinesParamsLinePeriod  rJ   r  c                   @   rK   )
r  rL   rM   8InvoiceService.UpdateLinesParamsLinePriceDataProductDatarO   rP   rT   rU   rV   NrW   r   r   r   r   UpdateLinesParamsLinePriceData  rY   r  c                   @   rZ   )r  r,   r[   r0   r\   r]   Nr^   r   r   r   r   )UpdateLinesParamsLinePriceDataProductData  r`   r  c                   @   ra   )z-InvoiceService.UpdateLinesParamsLineTaxAmountr+   8InvoiceService.UpdateLinesParamsLineTaxAmountTaxRateDatarc   rd   NrH   r   r   r   r   UpdateLinesParamsLineTaxAmount  s   
 r  c                   @   rf   )r  rg   r,   rh   rR   ri   rj   rk   rl   ry   Nrz   r   r   r   r   )UpdateLinesParamsLineTaxAmountTaxRateData  r}   r  c                   @   s  e Zd ZU ed ed< 	 ee ed< 	 ee ed< 	 ed ed< 	 eed  ed< 	 ed	 ed
< 	 ee ed< 	 ee ed< 	 ed ed< 	 ed ed< 	 ee ed< 	 ed ed< 	 ee ed< 	 ed ed< 	 ee	e  ed< 	 ee ed< 	 ed ed< 	 ed ed< 	 ed ed< 	 ed ed< 	 ed ed< 	 ed  ed!< 	 ed" ed#< 	 ed$ ed%< 	 ee ed&< 	 ed' ed(< d)S )*InvoiceService.UpdateParamsr8   r   r   r   'InvoiceService.UpdateParamsAutomaticTaxr   r   r   z8Literal['']|List[InvoiceService.UpdateParamsCustomField]r   r   r   r   r   r   r,   z5Literal['']|List[InvoiceService.UpdateParamsDiscount]r.   r   r8  r   r   r   !InvoiceService.UpdateParamsIssuerr   r   r0   r   r   *InvoiceService.UpdateParamsPaymentSettingsr   $InvoiceService.UpdateParamsRenderingr   z3Literal['']|InvoiceService.UpdateParamsShippingCostr   z6Literal['']|InvoiceService.UpdateParamsShippingDetailsr   r   z3Literal['']|InvoiceService.UpdateParamsTransferDatar   Nr   r   r   r   r   UpdateParams.  s   
 r  c                   @   r   )r  r   0InvoiceService.UpdateParamsAutomaticTaxLiabilityr   Nr   r   r   r   r   UpdateParamsAutomaticTax  r   r  c                   @   r   )r  r   r   r   Nr   r   r   r   r   !UpdateParamsAutomaticTaxLiability  r   r  c                   @   rE   )z&InvoiceService.UpdateParamsCustomFieldr\   r   Nr   r   r   r   r   UpdateParamsCustomField  rJ   r	  c                   @   r>   )z#InvoiceService.UpdateParamsDiscountr?   r@   rA   NrB   r   r   r   r   UpdateParamsDiscount  rD   r
  c                   @   r   )r  r   r   r   Nr   r   r   r   r   UpdateParamsIssuer  r   r  c                   @   r   )r  r   r   >InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsr   r   r   Nr   r   r   r   r   UpdateParamsPaymentSettings  r   r  c                   @   r   )r  zSLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebitr   zTLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsBancontactr   zNLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardr   zYLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancer   zQLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsKonbinir   zSLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsSepaDebitr   zWLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountr   Nr   r   r   r   r   /UpdateParamsPaymentSettingsPaymentMethodOptions  r   r  c                   @   r   )zGInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebitUInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsr   r   r   Nr   r   r   r   r   8UpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebit  r   r  c                   @   r   )r  r   r   Nr   r   r   r   r   FUpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptions*  r   r  c                   @   r   )zHInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsBancontactr   r   Nr   r   r   r   r   9UpdateParamsPaymentSettingsPaymentMethodOptionsBancontact2  r   r  c                   @   r   )zBInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardNInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsr   r   r   Nr   r   r   r   r   3UpdateParamsPaymentSettingsPaymentMethodOptionsCard8  r   r  c                   @   r   )r  r   z^Literal['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanr   Nr   r   r   r   r   ?UpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsH  r   r  c                   @   r   )zRInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanr   r   r  r  r   Nr  r   r   r   r   CUpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanW  r  r  c                   @   r  )zMInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceYInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferr  r	  Nr
  r   r   r   r   >UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceh  r  r  c                   @   r  )r  gInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferr  r   Nr
  r   r   r   r   JUpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferv  r  r  c                   @   r  )r  rg   Nr   r   r   r   r   XUpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer  r  r  c                   @   r  )zEInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsKonbiniNr  r   r   r   r   6UpdateParamsPaymentSettingsPaymentMethodOptionsKonbini  r  r  c                   @   r  )zGInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsSepaDebitNr  r   r   r   r   8UpdateParamsPaymentSettingsPaymentMethodOptionsSepaDebit  r  r  c                   @   r   )zKInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccount_InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsr  r   r   Nr   r   r   r   r   <UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccount  r  r  c                   @   r  )r  fInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersr  r  r$  r%  r&  Nr'  r   r   r   r   PUpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections  r)  r!  c                   @   r*  )r   r+  r.  Nr/  r   r   r   r   WUpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters  r1  r"  c                   @   r2  )	r  r3  r4  'InvoiceService.UpdateParamsRenderingPdfr6  r7  r8  r9  Nr
  r   r   r   r   UpdateParamsRendering  r;  r$  c                   @   r   )r#  r<  r@  Nr   r   r   r   r   UpdateParamsRenderingPdf  r   r%  c                   @   r   )z'InvoiceService.UpdateParamsShippingCostrB  7InvoiceService.UpdateParamsShippingCostShippingRateDatarD  NrB   r   r   r   r   UpdateParamsShippingCost  rF  r'  c                   @   rG  )r&  GInvoiceService.UpdateParamsShippingCostShippingRateDataDeliveryEstimaterI  rh   BInvoiceService.UpdateParamsShippingCostShippingRateDataFixedAmountrK  r0   rP   rT   r]   r   NrL  r   r   r   r   (UpdateParamsShippingCostShippingRateData  rN  r*  c                   @   rO  )r(  NInvoiceService.UpdateParamsShippingCostShippingRateDataDeliveryEstimateMaximumrQ  NInvoiceService.UpdateParamsShippingCostShippingRateDataDeliveryEstimateMinimumrS  Nr   r   r   r   r   8UpdateParamsShippingCostShippingRateDataDeliveryEstimate  rU  r-  c                   @   r   )r+  rV  r[  r   Nr\  r   r   r   r   ?UpdateParamsShippingCostShippingRateDataDeliveryEstimateMaximum   r^  r.  c                   @   r   )r,  rV  r[  r   Nr\  r   r   r   r   ?UpdateParamsShippingCostShippingRateDataDeliveryEstimateMinimum,  r^  r/  c                   @   r`  )r)  r+   rL   QInvoiceService.UpdateParamsShippingCostShippingRateDataFixedAmountCurrencyOptionsrb  Nrc  r   r   r   r   3UpdateParamsShippingCostShippingRateDataFixedAmount8  re  r1  c                   @   rf  )r0  r+   rP   rT   Nrg  r   r   r   r   BUpdateParamsShippingCostShippingRateDataFixedAmountCurrencyOptionsK  ri  r2  c                   @   rj  )z*InvoiceService.UpdateParamsShippingDetails1InvoiceService.UpdateParamsShippingDetailsAddressrl  r\   r   rm  Nrn  r   r   r   r   UpdateParamsShippingDetailsY  rp  r4  c                   @   rq  )r3  rr  rg   rs  rt  ru  rk   NrB   r   r   r   r   "UpdateParamsShippingDetailsAddressg  rw  r5  c                   @   rx  )z'InvoiceService.UpdateParamsTransferDatar+   ry  Nrz  r   r   r   r   UpdateParamsTransferData  r   r6  c                   @   r  ) InvoiceService.VoidInvoiceParamsr   Nr#   r   r   r   r   VoidInvoiceParams  r   r8  r   paramsri  optionsreturnc              	   C   &   t t| jddjt|dd||dS )*  
        Permanently deletes a one-off invoice draft. This cannot be undone. Attempts to delete invoices that are no longer in a draft state will fail; once an invoice has been finalized or if an invoice is for a subscription, it must be [voided](https://stripe.com/docs/api#void_invoice).
        r  /v1/invoices/{invoice}r   apibase_addressr9  r:  r   r   _requestformatr	   r   r   r9  r:  r   r   r   r       	zInvoiceService.deletec              	      .   t t| jddjt|dd||dI dH S )r=  r  r>  r?  r@  rA  Nr   r   _request_asyncrE  r	   rF  r   r   r   delete_async     	
zInvoiceService.delete_asyncr  c              	   C   r<  ):
        Retrieves the invoice with the given ID.
        getr>  r?  r@  rA  rC  rF  r   r   r   retrieve  rG  zInvoiceService.retrievec              	      rH  )rM  rN  r>  r?  r@  rA  NrI  rF  r   r   r   retrieve_async  rL  zInvoiceService.retrieve_asyncr   c              	   C   r<  )  
        Draft invoices are fully editable. Once an invoice is [finalized](https://stripe.com/docs/billing/invoices/workflow#finalized),
        monetary values, as well as collection_method, become uneditable.

        If you would like to stop the Stripe Billing engine from automatically finalizing, reattempting payments on,
        sending reminders for, or [automatically reconciling](https://stripe.com/docs/billing/invoices/reconciliation) invoices, pass
        auto_advance=false.
        postr>  r?  r@  rA  rC  rF  r   r   r   update  s   zInvoiceService.updatec              	      rH  )rQ  rR  r>  r?  r@  rA  NrI  rF  r   r   r   update_async  s   
zInvoiceService.update_asyncrm  c              	   C      t tt | jddd||dS )
        You can list all invoices, or list the invoices for a specific customer. The invoices are returned sorted by creation date, with the most recently created invoices appearing first.
        rN  /v1/invoicesr@  rA  )r   r   r   rD  r   r9  r:  r   r   r   list  s   zInvoiceService.listc              	      &   t tt | jddd||dI dH S )rV  rN  rW  r@  rA  N)r   r   r   rJ  rX  r   r   r   
list_async&  s   
zInvoiceService.list_asyncr~   c              	   C      t t| jddd||dS )   
        This endpoint creates a draft invoice for a given customer. The invoice remains a draft until you [finalize the invoice, which allows you to [pay](#pay_invoice) or <a href="#send_invoice">send](https://stripe.com/docs/api#finalize_invoice) the invoice to your customers.
        rR  rW  r@  rA  r   r   rD  rX  r   r   r   create9  s   zInvoiceService.createc              	      "   t t| jddd||dI dH S )r]  rR  rW  r@  rA  Nr   r   rJ  rX  r   r   r   create_asyncL  s   
zInvoiceService.create_asyncr  c              	   C   rU  )  
        Search for invoices you've previously created using Stripe's [Search Query Language](https://stripe.com/docs/search#search-query-language).
        Don't use search in read-after-write flows where strict consistency is necessary. Under normal operating
        conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up
        to an hour behind during outages. Search functionality is not available to merchants in India.
        rN  /v1/invoices/searchr@  rA  )r   r   r   rD  rX  r   r   r   search_  s   zInvoiceService.searchc              	      rZ  )rc  rN  rd  r@  rA  N)r   r   r   rJ  rX  r   r   r   search_asyncu  s   
zInvoiceService.search_asyncr  c              	   C   r\  )  
        At any time, you can preview the upcoming invoice for a customer. This will show you all the charges that are pending, including subscription renewal charges, invoice item charges, etc. It will also show you any discounts that are applicable to the invoice.

        Note that when you are viewing an upcoming invoice, you are simply viewing a preview – the invoice has not yet been created. As such, the upcoming invoice will not show up in invoice listing calls, and you cannot use the API to pay or edit the invoice. If you want to change the amount that your customer will be billed, you can add, remove, or update pending invoice items, or update the customer's discount.

        You can preview the effects of updating a subscription, including a preview of what proration will take place. To ensure that the actual proration is calculated exactly the same as the previewed proration, you should pass the subscription_details.proration_date parameter when doing the actual subscription update. The recommended way to get only the prorations being previewed is to consider only proration line items where period[start] is equal to the subscription_details.proration_date value passed in the request.

        Note: Currency conversion calculations use the latest exchange rates. Exchange rates may vary between the time of the preview and the time of the actual invoice creation. [Learn more](https://docs.stripe.com/currencies/conversions)
        rN  /v1/invoices/upcomingr@  rA  r^  rX  r   r   r   upcoming     zInvoiceService.upcomingc              	      r`  )rg  rN  rh  r@  rA  Nra  rX  r   r   r   upcoming_async     
zInvoiceService.upcoming_asyncr   c              	   C   r<  )q
        Adds multiple line items to an invoice. This is only possible when an invoice is still a draft.
        rR   /v1/invoices/{invoice}/add_linesr?  r@  rA  rC  rF  r   r   r   	add_lines     	zInvoiceService.add_linesc              	      rH  )rm  rR  rn  r?  r@  rA  NrI  rF  r   r   r   add_lines_async     	
zInvoiceService.add_lines_asyncrk  c              	   C   r<  )
        Stripe automatically finalizes drafts before sending and attempting payment on invoices. However, if you'd like to finalize a draft invoice manually, you can do so using this method.
        rR  /v1/invoices/{invoice}/finalizer?  r@  rA  rC  rF  r   r   r   finalize_invoice  rp  zInvoiceService.finalize_invoicec              	      rH  )rs  rR  rt  r?  r@  rA  NrI  rF  r   r   r   finalize_invoice_async  rr  z%InvoiceService.finalize_invoice_asyncr  c              	   C   r<  )
        Marking an invoice as uncollectible is useful for keeping track of bad debts that can be written off for accounting purposes.
        rR  )/v1/invoices/{invoice}/mark_uncollectibler?  r@  rA  rC  rF  r   r   r   mark_uncollectible  rp  z!InvoiceService.mark_uncollectiblec              	      rH  )rw  rR  rx  r?  r@  rA  NrI  rF  r   r   r   mark_uncollectible_async+  rr  z'InvoiceService.mark_uncollectible_asyncr  c              	   C   r<  )i  
        Stripe automatically creates and then attempts to collect payment on invoices for customers on subscriptions according to your [subscriptions settings](https://dashboard.stripe.com/account/billing/automatic). However, if you'd like to attempt payment on an invoice out of the normal collection schedule or for some other reason, you can do so.
        rR  /v1/invoices/{invoice}/payr?  r@  rA  rC  rF  r   r   r   payA  rp  zInvoiceService.payc              	      rH  )r{  rR  r|  r?  r@  rA  NrI  rF  r   r   r   	pay_asyncW  rr  zInvoiceService.pay_asyncr  c              	   C   r<  )v
        Removes multiple line items from an invoice. This is only possible when an invoice is still a draft.
        rR  #/v1/invoices/{invoice}/remove_linesr?  r@  rA  rC  rF  r   r   r   remove_linesm  rp  zInvoiceService.remove_linesc              	      rH  )r  rR  r  r?  r@  rA  NrI  rF  r   r   r   remove_lines_async  rr  z!InvoiceService.remove_lines_asyncr  c              	   C   r<  )  
        Stripe will automatically send invoices to customers according to your [subscriptions settings](https://dashboard.stripe.com/account/billing/automatic). However, if you'd like to manually send an invoice to your customer out of the normal schedule, you can do so. When sending invoices that have already been paid, there will be no reference to the payment in the email.

        Requests made in test-mode result in no emails being sent, despite sending an invoice.sent event.
        rR  /v1/invoices/{invoice}/sendr?  r@  rA  rC  rF  r   r   r   r        zInvoiceService.send_invoicec              	      rH  )r  rR  r  r?  r@  rA  NrI  rF  r   r   r   send_invoice_async     
z!InvoiceService.send_invoice_asyncr  c              	   C   r<  )t
        Updates multiple line items on an invoice. This is only possible when an invoice is still a draft.
        rR  #/v1/invoices/{invoice}/update_linesr?  r@  rA  rC  rF  r   r   r   update_lines  rp  zInvoiceService.update_linesc              	      rH  )r  rR  r  r?  r@  rA  NrI  rF  r   r   r   update_lines_async  rr  z!InvoiceService.update_lines_asyncr7  c              	   C   r<  )  
        Mark a finalized invoice as void. This cannot be undone. Voiding an invoice is similar to [deletion](https://stripe.com/docs/api#delete_invoice), however it only applies to finalized invoices and maintains a papertrail where the invoice can still be found.

        Consult with local regulations to determine whether and how an invoice might be amended, canceled, or voided in the jurisdiction you're doing business in. You might need to [issue another invoice or <a href="#create_credit_note">credit note](https://stripe.com/docs/api#create_invoice) instead. Stripe recommends that you consult with your legal counsel for advice specific to your business.
        rR  /v1/invoices/{invoice}/voidr?  r@  rA  rC  rF  r   r   r   void_invoice  r  zInvoiceService.void_invoicec              	      rH  )r  rR  r  r?  r@  rA  NrI  rF  r   r   r   void_invoice_async  r  z!InvoiceService.void_invoice_asyncr|  c              	   C   r\  )rg  rR  /v1/invoices/create_previewr@  rA  r^  rX  r   r   r   create_preview%  rj  zInvoiceService.create_previewc              	      r`  )rg  rR  r  r@  rA  Nra  rX  r   r   r   create_preview_async>  rl  z#InvoiceService.create_preview_async)r$   r%   r&   r   r   r)   r=   rC   rI   rX   r_   re   r|   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  r  r  r  r  r(  r0  r:  rA  rE  rM  rT  r]  r_  rd  rh  ro  rv  r{  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r
  r!  r&  r(  r)  r+  r,  r2  r3  r7  r9  r=  r@  rA  rD  rK  rN  rZ  rb  rd  re  rg  rh  rj  rl  rx  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r	  r
  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r!  r"  r$  r%  r'  r*  r-  r.  r/  r1  r2  r4  r5  r6  r8  r'   r   r   r  rK  rO  rP  rS  rT  r   rY  r[  r_  rb  r   re  rf  ri  rk  ro  rq  ru  rv  ry  rz  r}  r~  r  r  r   r  r  r  r  r  r  r  __classcell__r   r   r   r   r      st   6
1 



,









$



J
 UJ

r





(

2
4

+ 
~
UH

p


(

24
4
8
1x


,
$
	r   N)stripe._invoicer   !stripe._invoice_line_item_servicer   &stripe._invoice_upcoming_lines_servicer   stripe._list_objectr   stripe._request_optionsr   stripe._search_result_objectr   stripe._stripe_servicer   stripe._utilr	   typingr
   r   r   typing_extensionsr   r   r   r   r   r   r   r   <module>   s   