o
    BiQ                  
   @   s  U d dl mZmZ d dlmZ d dlZd dlZd dlm	Z	 d dl
mZ d dlZd dlmZ d dlmZ dZeed	< d
Zeed< dZeed< dZee ed< dZee ed< eZeed< eZeed< eZeed< e	jZeed< dZeed< dZ ee ed< dZ!ed ed< da"ee ed< dZ#eed< d Z$e%ed< ej&'ej&(e)ddZ*eed< dZ+eed  ed < d d!l,m-Z- d d"l.m/Z/m0Z0 d d#l1m2Z2 			dd$ed%ee d&ee d'ee fd(d)Z3d d*l4m5Z5 d d+l6m7Z7 d d,l6m8Z8 d d-l9m:Z: d d.l;m<Z< d d/l=m>Z> d d0l?m@Z@ d d1lAmBZB d d2lCmDZD d d3lEmFZF d d4lGmHZH d d5lImJZJ d d6lKmLZL d d7lMmNZN d d8lOmPZP d d9lQmRZR d d:lSmTZT d d;lUmVZV d d<lWmXZX d d=lYmZZZ d d>l[m\Z\ d d?l[m]Z] d d@l[m^Z^m_Z_ d dAl`maZa d dBl`mbZb d dCl`mcZc d dDl`mdZd d dEl`meZe d dFl`mfZf d dGl`mgZg d dHl`mhZh d dIl`miZi d dJl`mjZj d dKl`mkZk d dLllmmZmmnZnmoZompZpmqZqmrZrmsZs d dMltmuZu esGd dNlmvZw d dOlmxZy d dPlmzZ{ d dQlm|Z} d dRlm~Z d dSlmZ d dTlmZ d dUlmZ d dVlmZ d dWlmZ d dXlmZ d dlZejddY dZkrd[d\ Zn+e  ejd]ed^ d dlm  mZ d dlmZ W d   n	1 sBw   Y  d d_lmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ d d`lmZ d dalmZ d dblmZ d dclmZ d ddlmZ d delmZ d dflmZ d dglmZ d dhlmZ d dilmZ d djlmZ d dklmZ d dllmZ d dmlmZ d dnlmZ d dolmZ d dplmZ d dqlmZ d drlmZ d dslmZ d dtlmZ d dulmZ d dvlmZ d dwlmZ d dxlmZ d dylmZ d dzlmZ d d{lmZ d d|lmZ d d}lmZ d d~lmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ 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 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# 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 dXlmZ d dl.m/Z/ d dl0m1Z1 d dl2m3Z3 d dl4m5Z5 d dl6m7Z7 d dl8m9Z9 d dl:m;Z; d dl<m=Z= d dl>m?Z? d dl@mAZA d dlBmCZC d dlDmEZE d dlFmGZG d dlHmIZI d dlJmKZK d dlLmMZM d dlNmOZO d dlPmQZQ d dlRmSZS d dlTmUZU d dlVmWZW d dlXmYZY d dlZm[Z[ d dl\m]Z] d dl^m_Z_ d dl`maZa d dlbmcZc d dldmeZe d dlfmgZg d dlhmiZi d dljmkZk d dllmmZm d dÐlnmoZo d dĐlpmqZq d dŐlrmsZs d dƐltmuZu d dǐlvmwZw d dȐlxmyZy d dɐlz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 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 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 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 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 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 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S (      )TYPE_CHECKINGLiteral)OptionalN)_ApiVersion)_APIRequestor)AppInfo)VERSIONzhttps://api.stripe.comDEFAULT_API_BASEzhttps://connect.stripe.comDEFAULT_CONNECT_API_BASEzhttps://files.stripe.comDEFAULT_UPLOAD_API_BASEapi_key	client_idapi_baseconnect_api_baseupload_api_baseapi_versionTverify_ssl_certsproxy
HTTPClientdefault_http_clientapp_infoenable_telemetrymax_network_retriesdatazca-certificates.crtca_bundle_path)debuginfolog)OAuth)WebhookWebhookSignature)StripeClientname
partner_idurlversionc                 C   s   | |||da d S )Nr"   r#   r$   r%   )r   r&    r'   O/var/www/html/Trade-python/venv/lib/python3.10/site-packages/stripe/__init__.pyset_app_infoC   s
   
r)   )APIResource)ErrorObject)OAuthErrorObject)
ListObject)SearchResultObject)StripeObject)RequestOptions)CreateableAPIResource)custom_method)DeletableAPIResource)ListableAPIResource)nested_resource_class_methods)SearchableAPIResource)SingletonAPIResource)APIResourceTestHelpers)UpdateableAPIResource)VerifyMixin)RequestorOptions)ApiMode)BaseAddress)StripeResponse)StripeResponseBase)StripeStreamResponseStripeStreamResponseAsync)StripeError)APIError)APIConnectionError)StripeErrorWithParamCode)	CardError)IdempotencyError)InvalidRequestError)AuthenticationError)PermissionError)RateLimitError)SignatureVerificationError)r   PycurlClientRequestsClientUrlFetchClientHTTPXClientAIOHTTPClientnew_default_http_client)convert_to_stripe_object)_stripe_response)_stripe_object)_error_object)_error)_http_client)_util)_oauth)_webhook)_multipart_data_generator)_request_metrics)File   )      c                 C   sJ   | dkrdd l m  m} |S | dkrdd lm} |S tdtd| )Nabstractr   api_resourceszmodule z has no attribute )stripe.api_resources.abstractrc   rb   stripe.api_resourcesAttributeError__name__)r"   	_abstract_api_resourcesr'   r'   r(   __getattr__   s   rj   ignore)category)appsbillingbilling_portalcheckoutclimateentitlementsfinancial_connections
forwardingidentityissuingradar	reportingsigmataxterminaltest_helperstreasury)Account)AccountCapabilityService)AccountExternalAccountService)AccountLink)AccountLinkService)AccountLoginLinkService)AccountPersonService)AccountService)AccountSession)AccountSessionService)ApplePayDomain)ApplePayDomainService)Application)ApplicationFee)ApplicationFeeRefund)ApplicationFeeRefundService)ApplicationFeeService)AppsService)Balance)BalanceService)BalanceTransaction)BalanceTransactionService)BankAccount)BillingPortalService)BillingService)
Capability)Card)CashBalance)Charge)ChargeService)CheckoutService)ClimateService)ConfirmationToken)ConfirmationTokenService)ConnectCollectionTransfer)CountrySpec)CountrySpecService)Coupon)CouponService)
CreditNote)CreditNoteLineItem)CreditNoteLineItemService)CreditNotePreviewLinesService)CreditNoteService)Customer)CustomerBalanceTransaction)!CustomerBalanceTransactionService)CustomerCashBalanceService)CustomerCashBalanceTransaction)%CustomerCashBalanceTransactionService)"CustomerFundingInstructionsService)CustomerPaymentMethodService)CustomerPaymentSourceService)CustomerService)CustomerSession)CustomerSessionService)CustomerTaxIdService)Discount)Dispute)DisputeService)EntitlementsService)EphemeralKey)EphemeralKeyService)Event)EventService)ExchangeRate)ExchangeRateService)FileLink)FileLinkService)FileService)FinancialConnectionsService)ForwardingService)FundingInstructions)IdentityService)Invoice)InvoiceItem)InvoiceItemService)InvoiceLineItem)InvoiceLineItemService)InvoiceRenderingTemplate)InvoiceRenderingTemplateService)InvoiceService)InvoiceUpcomingLinesService)IssuingService)LineItem)	LoginLink)Mandate)MandateService)PaymentIntent)PaymentIntentService)PaymentLink)PaymentLinkLineItemService)PaymentLinkService)PaymentMethod)PaymentMethodConfiguration)!PaymentMethodConfigurationService)PaymentMethodDomain)PaymentMethodDomainService)PaymentMethodService)Payout)PayoutService)Person)Plan)PlanService)Price)PriceService)Product)ProductFeature)ProductFeatureService)ProductService)PromotionCode)PromotionCodeService)Quote)$QuoteComputedUpfrontLineItemsService)QuoteLineItemService)QuoteService)RadarService)Refund)RefundService)ReportingService)ReserveTransaction)Reversal)Review)ReviewService)SetupAttempt)SetupAttemptService)SetupIntent)SetupIntentService)ShippingRate)ShippingRateService)SigmaService)Source)SourceMandateNotification)SourceService)SourceTransaction)SourceTransactionService)Subscription)SubscriptionItem)SubscriptionItemService)"SubscriptionItemUsageRecordService))SubscriptionItemUsageRecordSummaryService)SubscriptionSchedule)SubscriptionScheduleService)SubscriptionService)TaxCode)TaxCodeService)TaxDeductedAtSource)TaxId)TaxIdService)TaxRate)TaxRateService)
TaxService)TerminalService)TestHelpersService)Token)TokenService)Topup)TopupService)Transfer)TransferReversalService)TransferService)TreasuryService)UsageRecord)UsageRecordSummary)WebhookEndpoint)WebhookEndpointService)NNN(  typing_extensionsr   r   typingr   sys_sysosstripe._api_versionr   stripe._api_requestorr   stripe.app_infostripestripe._app_infor   stripe._versionr   r	   str__annotations__r
   r   r   r   r   r   r   CURRENTr   r   boolr   r   r   r   r   intpathjoindirname__file__r   r   stripe._oauthr   stripe._webhookr   r    stripe._stripe_clientr!   r)   stripe._api_resourcer*   stripe._error_objectr+   r,   stripe._list_objectr-   stripe._search_result_objectr.   stripe._stripe_objectr/   stripe._request_optionsr0   stripe._createable_api_resourcer1   stripe._custom_methodr2   stripe._deletable_api_resourcer3   stripe._listable_api_resourcer4   %stripe._nested_resource_class_methodsr5   stripe._searchable_api_resourcer6   stripe._singleton_api_resourcer7   stripe._test_helpersr8   stripe._updateable_api_resourcer9   stripe._verify_mixinr:   stripe._requestor_optionsr;   stripe._api_moder<   stripe._base_addressr=   stripe._stripe_responser>   r?   r@   rA   stripe._errorrB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   rL   stripe._http_clientr   rM   rN   rO   rP   rQ   rR   stripe._utilrS   rT   stripe_responserU   stripe_objectrV   error_objectrW   errorrX   http_clientrY   utilrZ   oauthr[   webhookr\   multipart_data_generatorr]   request_metricsstripe._filer^   
FileUploadwarningsversion_inforj   catch_warningsfilterwarningsDeprecationWarningrd   rc   rb   re   rm   rn   ro   rp   rq   rr   rs   rt   ru   rv   rw   rx   ry   rz   r{   r|   r}   stripe._accountr~   "stripe._account_capability_servicer   (stripe._account_external_account_servicer   stripe._account_linkr   stripe._account_link_servicer   "stripe._account_login_link_servicer   stripe._account_person_servicer   stripe._account_servicer   stripe._account_sessionr   stripe._account_session_servicer   stripe._apple_pay_domainr    stripe._apple_pay_domain_servicer   stripe._applicationr   stripe._application_feer   stripe._application_fee_refundr   &stripe._application_fee_refund_servicer   stripe._application_fee_servicer   stripe._apps_servicer   stripe._balancer   stripe._balance_servicer   stripe._balance_transactionr   #stripe._balance_transaction_servicer   stripe._bank_accountr   stripe._billing_portal_servicer   stripe._billing_servicer   stripe._capabilityr   stripe._cardr   stripe._cash_balancer   stripe._charger   stripe._charge_servicer   stripe._checkout_servicer   stripe._climate_servicer   stripe._confirmation_tokenr   "stripe._confirmation_token_servicer   #stripe._connect_collection_transferr   stripe._country_specr   stripe._country_spec_servicer   stripe._couponr   stripe._coupon_servicer   stripe._credit_noter   stripe._credit_note_line_itemr   %stripe._credit_note_line_item_servicer   )stripe._credit_note_preview_lines_servicer   stripe._credit_note_servicer   stripe._customerr   $stripe._customer_balance_transactionr   ,stripe._customer_balance_transaction_servicer   %stripe._customer_cash_balance_servicer   )stripe._customer_cash_balance_transactionr   1stripe._customer_cash_balance_transaction_servicer   -stripe._customer_funding_instructions_servicer   'stripe._customer_payment_method_servicer   'stripe._customer_payment_source_servicer   stripe._customer_servicer   stripe._customer_sessionr    stripe._customer_session_servicer   stripe._customer_tax_id_servicer   stripe._discountr   stripe._disputer   stripe._dispute_servicer   stripe._entitlements_servicer   stripe._ephemeral_keyr   stripe._ephemeral_key_servicer   stripe._eventr   stripe._event_servicer   stripe._exchange_rater   stripe._exchange_rate_servicer   stripe._file_linkr   stripe._file_link_servicer   stripe._file_servicer   %stripe._financial_connections_servicer   stripe._forwarding_servicer   stripe._funding_instructionsr   stripe._identity_servicer   stripe._invoicer   stripe._invoice_itemr   stripe._invoice_item_servicer   stripe._invoice_line_itemr   !stripe._invoice_line_item_servicer   "stripe._invoice_rendering_templater   *stripe._invoice_rendering_template_servicer   stripe._invoice_servicer   &stripe._invoice_upcoming_lines_servicer   stripe._issuing_servicer   stripe._line_itemr   stripe._login_linkr   stripe._mandater   stripe._mandate_servicer   stripe._payment_intentr   stripe._payment_intent_servicer   stripe._payment_linkr   &stripe._payment_link_line_item_servicer   stripe._payment_link_servicer   stripe._payment_methodr   $stripe._payment_method_configurationr   ,stripe._payment_method_configuration_servicer   stripe._payment_method_domainr   %stripe._payment_method_domain_servicer   stripe._payment_method_servicer   stripe._payoutr   stripe._payout_servicer   stripe._personr   stripe._planr   stripe._plan_servicer   stripe._pricer   stripe._price_servicer   stripe._productr   stripe._product_featurer   stripe._product_feature_servicer   stripe._product_servicer   stripe._promotion_coder   stripe._promotion_code_servicer   stripe._quoter   1stripe._quote_computed_upfront_line_items_servicer   stripe._quote_line_item_servicer   stripe._quote_servicer   stripe._radar_servicer   stripe._refundr   stripe._refund_servicer   stripe._reporting_servicer   stripe._reserve_transactionr   stripe._reversalr   stripe._reviewr   stripe._review_servicer   stripe._setup_attemptr   stripe._setup_attempt_servicer   stripe._setup_intentr   stripe._setup_intent_servicer   stripe._shipping_rater   stripe._shipping_rate_servicer   stripe._sigma_servicer   stripe._sourcer  #stripe._source_mandate_notificationr  stripe._source_servicer  stripe._source_transactionr  "stripe._source_transaction_servicer  stripe._subscriptionr  stripe._subscription_itemr  !stripe._subscription_item_servicer  .stripe._subscription_item_usage_record_servicer	  6stripe._subscription_item_usage_record_summary_servicer
  stripe._subscription_scheduler  %stripe._subscription_schedule_servicer  stripe._subscription_servicer  stripe._tax_coder  stripe._tax_code_servicer  stripe._tax_deducted_at_sourcer  stripe._tax_idr  stripe._tax_id_servicer  stripe._tax_rater  stripe._tax_rate_servicer  stripe._tax_servicer  stripe._terminal_servicer  stripe._test_helpers_servicer  stripe._tokenr  stripe._token_servicer  stripe._topupr  stripe._topup_servicer  stripe._transferr  !stripe._transfer_reversal_servicer  stripe._transfer_servicer  stripe._treasury_servicer  stripe._usage_recordr   stripe._usage_record_summaryr!  stripe._webhook_endpointr"   stripe._webhook_endpoint_servicer#  r'   r'   r'   r(   <module>   s   


$

L
