
    g                        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
e	      Zy)    )
ListObject)PaymentLink)PaymentLinkLineItemService)RequestOptions)StripeService)sanitize_id)DictListcast)LiteralNotRequired	TypedDictc            	           e Zd Z fdZ G d de      Z G d de      Z G d de      Z G d d	e      Z G d
 de      Z	 G d de      Z
 G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d  d!e      Z G d" d#e      Z G d$ d%e      Z G d& d'e      Z G d( d)e      Z G d* d+e      Z G d, d-e      Z G d. d/e      Z G d0 d1e      Z G d2 d3e      Z G d4 d5e      Z G d6 d7e      Z G d8 d9e      Z  G d: d;e      Z! G d< d=e      Z" G d> d?e      Z# G d@ dAe      Z$ G dB dCe      Z% G dD dEe      Z& G dF dGe      Z' G dH dIe      Z( G dJ dKe      Z) G dL dMe      Z* G dN dOe      Z+ G dP dQe      Z, G dR dSe      Z- G dT dUe      Z. G dV dWe      Z/ G dX dYe      Z0 G dZ d[e      Z1 G d\ d]e      Z2 G d^ d_e      Z3 G d` dae      Z4 G db dce      Z5 G dd dee      Z6 G df dge      Z7 G dh die      Z8 G dj dke      Z9 G dl dme      Z: G dn doe      Z; G dp dqe      Z< G dr dse      Z= G dt due      Z> G dv dwe      Z? G dx dye      Z@ G dz d{e      ZA G d| d}e      ZB G d~ de      ZC G d de      ZD G d de      ZE G d de      ZF G d de      ZG G d de      ZH G d de      ZI G d de      ZJ G d de      ZK G d de      ZL G d de      ZM G d de      ZN G d de      ZO G d de      ZP G d de      ZQ G d de      ZRi i fdddeSdeTeU   fdZVi i fdddeSdeTeU   fdZWi fdddeSdeUfdZXi fdddeSdeUfdZYi i fdeZdddeSdeUfdZ[i i fdeZdddeSdeUfdZ\i i fdeZdddeSdeUfdZ]i i fdeZdddeSdeUfdZ^ xZ_S )PaymentLinkServicec                 X    t         |   |       t        | j                        | _        y )N)super__init__r   
_requestor
line_items)self	requestor	__class__s     b/var/www/html/Kila-kolis-project/venv/lib/python3.12/site-packages/stripe/_payment_link_service.pyr   zPaymentLinkService.__init__   s     #4T__E    c                   \   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ed      ed	<   	 ed
   ed<   	 ee	   ed<   	 ee
d      ed<   	 ed   ed<   	 eed      ed<   	 ee
e	      ed<   	 ee	   ed<   	 ed   ed<   	 e
d   ed<   	 eee	e	f      ed<   	 ee	   ed<   	 ee
d      ed<   	 ed   ed<   	 eed      ed<   	 ee
ed          ed!<   	 ed"   ed#<   	 ed$   ed%<   	 ed&   ed'<   	 ee
d(      ed)<   	 eed*      ed+<   	 ed,   ed-<   	 ed.   ed/<   	 ed0   ed1<   y2)3PaymentLinkService.CreateParams.PaymentLinkService.CreateParamsAfterCompletionafter_completionallow_promotion_codesapplication_fee_amountapplication_fee_percent+PaymentLinkService.CreateParamsAutomaticTaxautomatic_taxautorequiredbilling_address_collection0PaymentLinkService.CreateParamsConsentCollectionconsent_collectioncurrency*PaymentLinkService.CreateParamsCustomFieldcustom_fields)PaymentLinkService.CreateParamsCustomTextcustom_textalwaysif_requiredcustomer_creationexpandinactive_message.PaymentLinkService.CreateParamsInvoiceCreationinvoice_creation'PaymentLinkService.CreateParamsLineItemr   metadataon_behalf_of+PaymentLinkService.CreateParamsOptionalItemoptional_items0PaymentLinkService.CreateParamsPaymentIntentDatapayment_intent_datapayment_method_collection)%affirmafterpay_clearpayalipayalmaau_becs_debit
bacs_debit
bancontactbillieblikboletocardcashappepsfpxgiropaygrabpayidealklarnakonbinilink	mobilepay
multibancooxxop24pay_by_bankpaynowpaypalpix	promptpaysatispay
sepa_debitsofortswishtwintus_bank_account
wechat_payzippayment_method_types4PaymentLinkService.CreateParamsPhoneNumberCollectionphone_number_collection+PaymentLinkService.CreateParamsRestrictionsrestrictions8PaymentLinkService.CreateParamsShippingAddressCollectionshipping_address_collection-PaymentLinkService.CreateParamsShippingOptionshipping_optionsr%   bookdonatepay	subscribesubmit_type/PaymentLinkService.CreateParamsSubscriptionDatasubscription_data.PaymentLinkService.CreateParamsTaxIdCollectiontax_id_collection+PaymentLinkService.CreateParamsTransferDatatransfer_dataN)__name__
__module____qualname__r   __annotations__boolintfloatr   strr
   r	    r   r   CreateParamsr      s   %<
 	
	  +400	 !,C 00	 "-U!33	 #9
 	
	 %08J0K$LL	 (>
 	
	 c""	 #=>
 	
	 !!LMM	 'w/F'GHH	 DI&&	 &c**	 &<
 	
	 BCC	 d38n--	 "#&&	 $>?
 	
	
 )>
 	
	 $/+,$
 	
	 *$&(*
 *	
V	 "-B"
 	
	
 "9
 	
	 &1F&
 	
	 &@A
 	
	 !@A
 	
	 '=
 	
	 '<
 	
	 #9
 	
	r   r   c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)r   @PaymentLinkService.CreateParamsAfterCompletionHostedConfirmationhosted_confirmation6PaymentLinkService.CreateParamsAfterCompletionRedirectredirectr   r   typeNry   rz   r{   r   r|   r   r   r   r   CreateParamsAfterCompletionz.PaymentLinkService.CreateParamsAfterCompletion   A    (N
 	
	 D
 	
	 788	r   r   c                       e Zd ZU ee   ed<   y)r   custom_messageNry   rz   r{   r   r   r|   r   r   r   -CreateParamsAfterCompletionHostedConfirmationz@PaymentLinkService.CreateParamsAfterCompletionHostedConfirmation       #C((	r   r   c                       e Zd ZU eed<   y)r   urlNry   rz   r{   r   r|   r   r   r   #CreateParamsAfterCompletionRedirectz6PaymentLinkService.CreateParamsAfterCompletionRedirect       	r   r   c                   *    e Zd ZU eed<   	 ed   ed<   y)r"   enabled4PaymentLinkService.CreateParamsAutomaticTaxLiability	liabilityNry   rz   r{   r}   r|   r   r   r   r   CreateParamsAutomaticTaxz+PaymentLinkService.CreateParamsAutomaticTax   #    	
 B
 	
	r   r   c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r   accountr   r   r   Nry   rz   r{   r   r   r|   r   r   r   r   !CreateParamsAutomaticTaxLiabilityz4PaymentLinkService.CreateParamsAutomaticTaxLiability  %    S!!	 '((	r   r   c                   N    e Zd ZU ed   ed<   	 eed      ed<   	 eed      ed<   y)r(   KPaymentLinkService.CreateParamsConsentCollectionPaymentMethodReuseAgreementpayment_method_reuse_agreement)r%   none
promotions)r   r&   terms_of_serviceNr   r   r   r   CreateParamsConsentCollectionz0PaymentLinkService.CreateParamsConsentCollection  sF    (3Y)
 	
	   788	
 &g.@&ABB	r   r   c                       e Zd ZU ed   ed<   y)r   )r%   hiddenpositionNry   rz   r{   r   r|   r   r   r   8CreateParamsConsentCollectionPaymentMethodReuseAgreementzKPaymentLinkService.CreateParamsConsentCollectionPaymentMethodReuseAgreement#  s    *++	r   r   c                   ~    e Zd ZU ed   ed<   	 eed<   	 ded<   	 ed   ed<   	 ee   ed<   	 ed	   ed
<   	 ed   ed<   y)r+   2PaymentLinkService.CreateParamsCustomFieldDropdowndropdownkey/PaymentLinkService.CreateParamsCustomFieldLabellabel1PaymentLinkService.CreateParamsCustomFieldNumericnumericoptional.PaymentLinkService.CreateParamsCustomFieldTexttextr   r   r   r   Nry   rz   r{   r   r|   r   r}   r   r   r   r   CreateParamsCustomFieldz*PaymentLinkService.CreateParamsCustomField*      @
 	
	 	 A@	 ?
 	
	 d##	 JKK	 344	r   r   c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r   default_value8PaymentLinkService.CreateParamsCustomFieldDropdownOptionoptionsNry   rz   r{   r   r   r|   r
   r   r   r   CreateParamsCustomFieldDropdownz2PaymentLinkService.CreateParamsCustomFieldDropdownL  )    "3''	 F
 	
	r   r   c                   $    e Zd ZU eed<   	 eed<   y)r   r   valueNr   r   r   r   %CreateParamsCustomFieldDropdownOptionz8PaymentLinkService.CreateParamsCustomFieldDropdownOptionX      
	 
	r   r   c                   *    e Zd ZU eed<   	 ed   ed<   y)r   customr   Nry   rz   r{   r   r|   r   r   r   r   CreateParamsCustomFieldLabelz/PaymentLinkService.CreateParamsCustomFieldLabelb      	 h	r   r   c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)r   r   maximum_lengthminimum_lengthNry   rz   r{   r   r   r|   r~   r   r   r   CreateParamsCustomFieldNumericz1PaymentLinkService.CreateParamsCustomFieldNumericl  6    "3''	 $C((	 $C((	r   r   c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)r   r   r   r   Nr   r   r   r   CreateParamsCustomFieldTextz.PaymentLinkService.CreateParamsCustomFieldTextz  r   r   r   c                   T    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y	)
r-   z@Literal['']|PaymentLinkService.CreateParamsCustomTextAfterSubmitafter_submitzDLiteral['']|PaymentLinkService.CreateParamsCustomTextShippingAddressshipping_addressz;Literal['']|PaymentLinkService.CreateParamsCustomTextSubmitsubmitzMLiteral['']|PaymentLinkService.CreateParamsCustomTextTermsOfServiceAcceptanceterms_of_service_acceptanceNry   rz   r{   r   r|   r   r   r   CreateParamsCustomTextz)PaymentLinkService.CreateParamsCustomText  \    !N
 	
	 &R
 	
	 I
 	
	 &1[&
 	
	r   r   c                       e Zd ZU eed<   y)4PaymentLinkService.CreateParamsCustomTextAfterSubmitmessageNr   r   r   r   !CreateParamsCustomTextAfterSubmitr         	r   r   c                       e Zd ZU eed<   y)8PaymentLinkService.CreateParamsCustomTextShippingAddressr   Nr   r   r   r   %CreateParamsCustomTextShippingAddressr     r   r   r   c                       e Zd ZU eed<   y)/PaymentLinkService.CreateParamsCustomTextSubmitr   Nr   r   r   r   CreateParamsCustomTextSubmitr     r   r   r   c                       e Zd ZU eed<   y)APaymentLinkService.CreateParamsCustomTextTermsOfServiceAcceptancer   Nr   r   r   r   .CreateParamsCustomTextTermsOfServiceAcceptancer     r   r   r   c                   *    e Zd ZU eed<   	 ed   ed<   y)r5   r   9PaymentLinkService.CreateParamsInvoiceCreationInvoiceDatainvoice_dataNr   r   r   r   CreateParamsInvoiceCreationz.PaymentLinkService.CreateParamsInvoiceCreation  #    	 "G
 	
	r   r   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d	   ed
<   	 ed   ed<   y)r   Literal['']|List[str]account_tax_idszVLiteral['']|List[PaymentLinkService.CreateParamsInvoiceCreationInvoiceDataCustomField]r,   descriptionfooter?PaymentLinkService.CreateParamsInvoiceCreationInvoiceDataIssuerissuerLiteral['']|Dict[str, str]r8   zULiteral['']|PaymentLinkService.CreateParamsInvoiceCreationInvoiceDataRenderingOptionsrendering_optionsNry   rz   r{   r   r|   r   r   r   r   &CreateParamsInvoiceCreationInvoiceDataz9PaymentLinkService.CreateParamsInvoiceCreationInvoiceData      $%<==	 #d
 	
	 !%%	 C  	 M
 	
	 :;;	 'c
 	
	r   r   c                   $    e Zd ZU eed<   	 eed<   y)DPaymentLinkService.CreateParamsInvoiceCreationInvoiceDataCustomFieldnamer   Nr   r   r   r   1CreateParamsInvoiceCreationInvoiceDataCustomFieldr         		 
	r   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r   r   r   r   Nr   r   r   r   ,CreateParamsInvoiceCreationInvoiceDataIssuerz?PaymentLinkService.CreateParamsInvoiceCreationInvoiceDataIssuer  r   r   r  c                       e Zd ZU ed   ed<   y)IPaymentLinkService.CreateParamsInvoiceCreationInvoiceDataRenderingOptions;Literal['']|Literal['exclude_tax', 'include_inclusive_tax']amount_tax_displayNr   r   r   r   6CreateParamsInvoiceCreationInvoiceDataRenderingOptionsr        'I
 	
	r   r	  c                   6    e Zd ZU ed   ed<   	 eed<   	 eed<   y)r7   9PaymentLinkService.CreateParamsLineItemAdjustableQuantityadjustable_quantitypricequantityNry   rz   r{   r   r|   r   r~   r   r   r   CreateParamsLineItemz'PaymentLinkService.CreateParamsLineItem  s/    (G
 	
	 
	 	r   r  c                   <    e Zd ZU eed<   	 ee   ed<   	 ee   ed<   y)r  r   maximumminimumNry   rz   r{   r}   r|   r   r~   r   r   r   &CreateParamsLineItemAdjustableQuantityz9PaymentLinkService.CreateParamsLineItemAdjustableQuantity  0    	 S!!	 S!!	r   r  c                   6    e Zd ZU ed   ed<   	 eed<   	 eed<   y)r:   =PaymentLinkService.CreateParamsOptionalItemAdjustableQuantityr  r  r  Nr  r   r   r   CreateParamsOptionalItemz+PaymentLinkService.CreateParamsOptionalItem$  s/    (K
 	
	 
	 	r   r  c                   <    e Zd ZU eed<   	 ee   ed<   	 ee   ed<   y)r  r   r  r  Nr  r   r   r   *CreateParamsOptionalItemAdjustableQuantityz=PaymentLinkService.CreateParamsOptionalItemAdjustableQuantity4  r  r   r  c                       e Zd ZU eed      ed<   	 ee   ed<   	 eeeef      ed<   	 eed      ed<   	 ee   ed<   	 ee   ed<   	 ee   ed	<   y
)r<   )	automaticautomatic_asyncmanualcapture_methodr   r8   )off_session
on_sessionsetup_future_usagestatement_descriptorstatement_descriptor_suffixtransfer_groupN)ry   rz   r{   r   r   r|   r   r	   r   r   r   CreateParamsPaymentIntentDataz0PaymentLinkService.CreateParamsPaymentIntentDataB  s    #<=
 	
	 !%%	 d38n--	 (0K(LMM	 *#..	
 &1%55	 $C((	r   r(  c                       e Zd ZU eed<   y)re   r   Nry   rz   r{   r}   r|   r   r   r   !CreateParamsPhoneNumberCollectionz4PaymentLinkService.CreateParamsPhoneNumberCollectionn      	r   r+  c                       e Zd ZU ded<   y)rg   <PaymentLinkService.CreateParamsRestrictionsCompletedSessionscompleted_sessionsNry   rz   r{   r|   r   r   r   CreateParamsRestrictionsz+PaymentLinkService.CreateParamsRestrictionst      J	
	r   r1  c                       e Zd ZU eed<   y)r.  limitNry   rz   r{   r~   r|   r   r   r   )CreateParamsRestrictionsCompletedSessionsz<PaymentLinkService.CreateParamsRestrictionsCompletedSessions|      
	r   r6  c                   $    e Zd ZU eed      ed<   y)ri   ACADAEAFAGAIALAMAOAQARATAUAWAXAZBABBBDBEBFBGBHBIBJBLBMBNBOBQBRBSBTBVBWBYBZCACDCFCGCHCICKCLCMCNCOCRCVCWCYCZDEDJDKDMDODZECEEEGEHERESETFIFJFKFOFRGAGBGDGEGFGGGHGIGLGMGNGPGQGRGSGTGUGWGYHKHNHRHTHUIDIEILIMINIOIQISITJEJMJOJPKEKGKHKIKMKNKRKWKYKZLALBLCLILKLRLSLTLULVLYMAMCMDMEMFMGMKMLMMMNMOMQMRMSMTMUMVMWMXMYMZNANCNENGNINLNONPNRNUNZOMPAPEPFPGPHPKPLPMPNPRPSPTPYQARERORSRURWSASBSCSDSESGSHSISJSKSLSMSNSOSRSSSTSVSXSZTATCTDTFTGTHTJTKTLTMTNTOTRTTTVTWTZUAUGUSUYUZVAVCVEVGVNVUWFWSXKYEYTZAZMZWZZallowed_countriesNry   rz   r{   r
   r   r|   r   r   r   %CreateParamsShippingAddressCollectionz8PaymentLinkService.CreateParamsShippingAddressCollection  &    moq
 q	
d	r   r*  c                       e Zd ZU ee   ed<   y)rk   shipping_rateNr   r   r   r   CreateParamsShippingOptionz-PaymentLinkService.CreateParamsShippingOptionz  s    "3''	r   r.  c                   p    e Zd ZU ee   ed<   	 ed   ed<   	 eeeef      ed<   	 ee   ed<   	 ed   ed<   y)	rs   r   >PaymentLinkService.CreateParamsSubscriptionDataInvoiceSettingsinvoice_settingsr8   trial_period_days<PaymentLinkService.CreateParamsSubscriptionDataTrialSettingstrial_settingsN)ry   rz   r{   r   r   r|   r	   r~   r   r   r   CreateParamsSubscriptionDataz/PaymentLinkService.CreateParamsSubscriptionData  sl     %%	 &L
 	
	 d38n--	 's++	 $J
 	
	r   r5  c                       e Zd ZU ed   ed<   y)r0  DPaymentLinkService.CreateParamsSubscriptionDataInvoiceSettingsIssuerr   Nr   r   r   r   +CreateParamsSubscriptionDataInvoiceSettingsz>PaymentLinkService.CreateParamsSubscriptionDataInvoiceSettings      R
 	
	r   r8  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r7  r   r   r   Nr   r   r   r   1CreateParamsSubscriptionDataInvoiceSettingsIssuerzDPaymentLinkService.CreateParamsSubscriptionDataInvoiceSettingsIssuer  r   r   r;  c                       e Zd ZU ded<   y)r3  GPaymentLinkService.CreateParamsSubscriptionDataTrialSettingsEndBehaviorend_behaviorNr0  r   r   r   )CreateParamsSubscriptionDataTrialSettingsz<PaymentLinkService.CreateParamsSubscriptionDataTrialSettings      __	r   r?  c                       e Zd ZU ed   ed<   y)r=  cancelcreate_invoicepausemissing_payment_methodNr   r   r   r   4CreateParamsSubscriptionDataTrialSettingsEndBehaviorzGPaymentLinkService.CreateParamsSubscriptionDataTrialSettingsEndBehavior       '(K LL	r   rG  c                   0    e Zd ZU eed<   	 eed      ed<   y)ru   r   if_supportedneverr&   Nry   rz   r{   r}   r|   r   r   r   r   r   CreateParamsTaxIdCollectionz.PaymentLinkService.CreateParamsTaxIdCollection  $    	 g&=>??	r   rN  c                   *    e Zd ZU ee   ed<   	 eed<   y)rw   amountdestinationN)ry   rz   r{   r   r~   r|   r   r   r   r   CreateParamsTransferDataz+PaymentLinkService.CreateParamsTransferData  s    C  	 	r   rS  c                   l    e Zd ZU ee   ed<   	 ee   ed<   	 eee      ed<   	 ee   ed<   	 ee   ed<   y)PaymentLinkService.ListParamsactiveending_beforer3   r4  starting_afterN)	ry   rz   r{   r   r}   r|   r   r
   r~   r   r   r   
ListParamsrU    s^    D!!	 #3''	 DI&&	 3	 $C((	r   rY  c                   $    e Zd ZU eee      ed<   y)!PaymentLinkService.RetrieveParamsr3   N)ry   rz   r{   r   r
   r   r|   r   r   r   RetrieveParamsr[    s    DI&&	r   r\  c                      e Zd ZU ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   	 eed      ed<   	 ed	   ed
<   	 ed   ed<   	 eed      ed<   	 eee      ed<   	 ed   ed<   	 ed   ed<   	 eed      ed<   	 ee	eef      ed<   	 ed   ed<   	 eed      ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed    ed!<   	 eed"      ed#<   	 ed$   ed%<   	 ed&   ed'<   y())PaymentLinkService.UpdateParamsrV  .PaymentLinkService.UpdateParamsAfterCompletionr   r   +PaymentLinkService.UpdateParamsAutomaticTaxr#   r$   r'   z<Literal['']|List[PaymentLinkService.UpdateParamsCustomField]r,   )PaymentLinkService.UpdateParamsCustomTextr.   r/   r2   r3   Literal['']|strr4   .PaymentLinkService.UpdateParamsInvoiceCreationr6   'PaymentLinkService.UpdateParamsLineItemr   r8   0PaymentLinkService.UpdateParamsPaymentIntentDatar=   r>   a  Literal['']|List[Literal['affirm', 'afterpay_clearpay', 'alipay', 'alma', 'au_becs_debit', 'bacs_debit', 'bancontact', 'billie', 'blik', 'boleto', 'card', 'cashapp', 'eps', 'fpx', 'giropay', 'grabpay', 'ideal', 'klarna', 'konbini', 'link', 'mobilepay', 'multibanco', 'oxxo', 'p24', 'pay_by_bank', 'paynow', 'paypal', 'pix', 'promptpay', 'satispay', 'sepa_debit', 'sofort', 'swish', 'twint', 'us_bank_account', 'wechat_pay', 'zip']]rd   4PaymentLinkService.UpdateParamsPhoneNumberCollectionrf   z7Literal['']|PaymentLinkService.UpdateParamsRestrictionsrh   zDLiteral['']|PaymentLinkService.UpdateParamsShippingAddressCollectionrj   rm   rr   /PaymentLinkService.UpdateParamsSubscriptionDatart   .PaymentLinkService.UpdateParamsTaxIdCollectionrv   N)
ry   rz   r{   r   r}   r|   r   r
   r   r	   r   r   r   UpdateParamsr^    s   D!!	 &<
 	
	  +400	 #9
 	
	 %08J0K$LL	 #J
 	
	 !!LMM	 'w/F'GHH	 DI&&	 &&788	 &<
 	
	  :;
 	
	 d38n--	 )>
 	
	 $/+,$
 	
	 * ~
 	
	 "-B"
 	
	
 "E
 	
	 &1R&
 	
	 !@A
 	
	 '=
 	
	 '<
 	
	r   ri  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)r_  @PaymentLinkService.UpdateParamsAfterCompletionHostedConfirmationr   6PaymentLinkService.UpdateParamsAfterCompletionRedirectr   r   r   Nr   r   r   r   UpdateParamsAfterCompletionz.PaymentLinkService.UpdateParamsAfterCompletiong  r   r   rm  c                       e Zd ZU ee   ed<   y)rk  r   Nr   r   r   r   -UpdateParamsAfterCompletionHostedConfirmationz@PaymentLinkService.UpdateParamsAfterCompletionHostedConfirmationy  r   r   ro  c                       e Zd ZU eed<   y)rl  r   Nr   r   r   r   #UpdateParamsAfterCompletionRedirectz6PaymentLinkService.UpdateParamsAfterCompletionRedirect  r   r   rq  c                   *    e Zd ZU eed<   	 ed   ed<   y)r`  r   4PaymentLinkService.UpdateParamsAutomaticTaxLiabilityr   Nr   r   r   r   UpdateParamsAutomaticTaxz+PaymentLinkService.UpdateParamsAutomaticTax  r   r   rt  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)rs  r   r   r   Nr   r   r   r   !UpdateParamsAutomaticTaxLiabilityz4PaymentLinkService.UpdateParamsAutomaticTaxLiability  r   r   rv  c                   ~    e Zd ZU ed   ed<   	 eed<   	 ded<   	 ed   ed<   	 ee   ed<   	 ed	   ed
<   	 ed   ed<   y)*PaymentLinkService.UpdateParamsCustomField2PaymentLinkService.UpdateParamsCustomFieldDropdownr   r   /PaymentLinkService.UpdateParamsCustomFieldLabelr   1PaymentLinkService.UpdateParamsCustomFieldNumericr   r   .PaymentLinkService.UpdateParamsCustomFieldTextr   r   r   Nr   r   r   r   UpdateParamsCustomFieldrx    r   r   r}  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)ry  r   8PaymentLinkService.UpdateParamsCustomFieldDropdownOptionr   Nr   r   r   r   UpdateParamsCustomFieldDropdownz2PaymentLinkService.UpdateParamsCustomFieldDropdown  r   r   r  c                   $    e Zd ZU eed<   	 eed<   y)r  r   r   Nr   r   r   r   %UpdateParamsCustomFieldDropdownOptionz8PaymentLinkService.UpdateParamsCustomFieldDropdownOption  r   r   r  c                   *    e Zd ZU eed<   	 ed   ed<   y)rz  r   r   Nr   r   r   r   UpdateParamsCustomFieldLabelz/PaymentLinkService.UpdateParamsCustomFieldLabel  r   r   r  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)r{  r   r   r   Nr   r   r   r   UpdateParamsCustomFieldNumericz1PaymentLinkService.UpdateParamsCustomFieldNumeric  r   r   r  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)r|  r   r   r   Nr   r   r   r   UpdateParamsCustomFieldTextz.PaymentLinkService.UpdateParamsCustomFieldText  r   r   r  c                   T    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y	)
ra  z@Literal['']|PaymentLinkService.UpdateParamsCustomTextAfterSubmitr   zDLiteral['']|PaymentLinkService.UpdateParamsCustomTextShippingAddressr   z;Literal['']|PaymentLinkService.UpdateParamsCustomTextSubmitr   zMLiteral['']|PaymentLinkService.UpdateParamsCustomTextTermsOfServiceAcceptancer   Nr   r   r   r   UpdateParamsCustomTextz)PaymentLinkService.UpdateParamsCustomText  r   r   r  c                       e Zd ZU eed<   y)4PaymentLinkService.UpdateParamsCustomTextAfterSubmitr   Nr   r   r   r   !UpdateParamsCustomTextAfterSubmitr    r   r   r  c                       e Zd ZU eed<   y)8PaymentLinkService.UpdateParamsCustomTextShippingAddressr   Nr   r   r   r   %UpdateParamsCustomTextShippingAddressr    r   r   r  c                       e Zd ZU eed<   y)/PaymentLinkService.UpdateParamsCustomTextSubmitr   Nr   r   r   r   UpdateParamsCustomTextSubmitr  !  r   r   r  c                       e Zd ZU eed<   y)APaymentLinkService.UpdateParamsCustomTextTermsOfServiceAcceptancer   Nr   r   r   r   .UpdateParamsCustomTextTermsOfServiceAcceptancer  '  r   r   r  c                   *    e Zd ZU eed<   	 ed   ed<   y)rc  r   9PaymentLinkService.UpdateParamsInvoiceCreationInvoiceDatar   Nr   r   r   r   UpdateParamsInvoiceCreationz.PaymentLinkService.UpdateParamsInvoiceCreation-  r   r   r  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d	   ed
<   	 ed   ed<   y)r  r   r   zVLiteral['']|List[PaymentLinkService.UpdateParamsInvoiceCreationInvoiceDataCustomField]r,   r   r   ?PaymentLinkService.UpdateParamsInvoiceCreationInvoiceDataIssuerr   r   r8   zULiteral['']|PaymentLinkService.UpdateParamsInvoiceCreationInvoiceDataRenderingOptionsr   Nr   r   r   r   &UpdateParamsInvoiceCreationInvoiceDataz9PaymentLinkService.UpdateParamsInvoiceCreationInvoiceData9  r   r   r  c                   $    e Zd ZU eed<   	 eed<   y)DPaymentLinkService.UpdateParamsInvoiceCreationInvoiceDataCustomFieldr   r   Nr   r   r   r   1UpdateParamsInvoiceCreationInvoiceDataCustomFieldr  ]  r  r   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r   r   r   Nr   r   r   r   ,UpdateParamsInvoiceCreationInvoiceDataIssuerz?PaymentLinkService.UpdateParamsInvoiceCreationInvoiceDataIssuerg  r   r   r  c                       e Zd ZU ed   ed<   y)IPaymentLinkService.UpdateParamsInvoiceCreationInvoiceDataRenderingOptionsr  r  Nr   r   r   r   6UpdateParamsInvoiceCreationInvoiceDataRenderingOptionsr  q  r
  r   r  c                   <    e Zd ZU ed   ed<   	 eed<   	 ee   ed<   y)rd  9PaymentLinkService.UpdateParamsLineItemAdjustableQuantityr  idr  Nr  r   r   r   UpdateParamsLineItemz'PaymentLinkService.UpdateParamsLineItemy  s5    (G
 	
	 	 c""	r   r  c                   <    e Zd ZU eed<   	 ee   ed<   	 ee   ed<   y)r  r   r  r  Nr  r   r   r   &UpdateParamsLineItemAdjustableQuantityz9PaymentLinkService.UpdateParamsLineItemAdjustableQuantity  r  r   r  c                   f    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<   y)	re  rb  r   r   r8   r%  r&  r'  Nr   r   r   r   UpdateParamsPaymentIntentDataz0PaymentLinkService.UpdateParamsPaymentIntentData  s_     !233	 :;;	 **;<<	
 &11B%CC	 $$566	r   r  c                       e Zd ZU eed<   y)rf  r   Nr*  r   r   r   !UpdateParamsPhoneNumberCollectionz4PaymentLinkService.UpdateParamsPhoneNumberCollection  r,  r   r  c                       e Zd ZU ded<   y)+PaymentLinkService.UpdateParamsRestrictions<PaymentLinkService.UpdateParamsRestrictionsCompletedSessionsr/  Nr0  r   r   r   UpdateParamsRestrictionsr    r2  r   r  c                       e Zd ZU eed<   y)r  r4  Nr5  r   r   r   )UpdateParamsRestrictionsCompletedSessionsz<PaymentLinkService.UpdateParamsRestrictionsCompletedSessions  r7  r   r  c                   $    e Zd ZU eed      ed<   y)8PaymentLinkService.UpdateParamsShippingAddressCollectionr9  r(  Nr)  r   r   r   %UpdateParamsShippingAddressCollectionr    r+  r   r  c                   T    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   y	)
rg  >PaymentLinkService.UpdateParamsSubscriptionDataInvoiceSettingsr1  r   r8   zLiteral['']|intr2  zHLiteral['']|PaymentLinkService.UpdateParamsSubscriptionDataTrialSettingsr4  Nr   r   r   r   UpdateParamsSubscriptionDataz/PaymentLinkService.UpdateParamsSubscriptionData  sT    %L
 	
	 :;;	 ''899	 $V
 	
	r   r  c                       e Zd ZU ed   ed<   y)r  DPaymentLinkService.UpdateParamsSubscriptionDataInvoiceSettingsIssuerr   Nr   r   r   r   +UpdateParamsSubscriptionDataInvoiceSettingsz>PaymentLinkService.UpdateParamsSubscriptionDataInvoiceSettings  r9  r   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r   r   r   Nr   r   r   r   1UpdateParamsSubscriptionDataInvoiceSettingsIssuerzDPaymentLinkService.UpdateParamsSubscriptionDataInvoiceSettingsIssuer  r   r   r  c                       e Zd ZU ded<   y)<PaymentLinkService.UpdateParamsSubscriptionDataTrialSettingsGPaymentLinkService.UpdateParamsSubscriptionDataTrialSettingsEndBehaviorr>  Nr0  r   r   r   )UpdateParamsSubscriptionDataTrialSettingsr    r@  r   r  c                       e Zd ZU ed   ed<   y)r  rB  rF  Nr   r   r   r   4UpdateParamsSubscriptionDataTrialSettingsEndBehaviorzGPaymentLinkService.UpdateParamsSubscriptionDataTrialSettingsEndBehavior  rH  r   r  c                   0    e Zd ZU eed<   	 eed      ed<   y)rh  r   rJ  r&   NrM  r   r   r   UpdateParamsTaxIdCollectionz.PaymentLinkService.UpdateParamsTaxIdCollection  rO  r   r  paramsrU  r   returnc           
      X    t        t        t           | j                  ddd||            S )7
        Returns a list of your payment links.
        get/v1/payment_linksapibase_addressr  r   )r   r   r   _requestr   r  r   s      r   listzPaymentLinkService.list  s9     {#MM#"  	
 		
r   c           
      t   K   t        t        t           | j                  ddd||       d{         S 7 w)r  r  r  r  r  N)r   r   r   _request_asyncr  s      r   
list_asynczPaymentLinkService.list_async  sI      {#%%#" &  	
 		
s   +86
	8r   c           
      J    t        t        | j                  ddd||            S ))
        Creates a payment link.
        postr  r  r  )r   r   r  r  s      r   createzPaymentLinkService.create  s4     MM#"  	
 		
r   c           
      f   K   t        t        | j                  ddd||       d{         S 7 w)r  r  r  r  r  N)r   r   r  r  s      r   create_asynczPaymentLinkService.create_async2  sD      %%#" &  	
 		
s   $1/
	1payment_linkr[  c                 |    t        t        | j                  ddj                  t	        |            d||            S )*
        Retrieve a payment link.
        r   /v1/payment_links/{payment_link}r  r  r  r   r   r  formatr   r   r  r  r   s       r   retrievezPaymentLinkService.retrieveE  sN     MM299!,\!: :  #  
 	
r   c                    K   t        t        | j                  ddj                  t	        |            d||       d{         S 7 w)r  r  r  r  r  r  Nr   r   r  r  r   r  s       r   retrieve_asyncz!PaymentLinkService.retrieve_async[  s^      %%299!,\!: :  # &  
 	
   =A
A
 	A
r^  c                 |    t        t        | j                  ddj                  t	        |            d||            S ))
        Updates a payment link.
        r  r  r  r  r  r  r  s       r   updatezPaymentLinkService.updateq  sN     MM299!,\!: :  #  
 	
r   c                    K   t        t        | j                  ddj                  t	        |            d||       d{         S 7 w)r  r  r  r  r  r  Nr  r  s       r   update_asynczPaymentLinkService.update_async  s^      %%299!,\!: :  # &  
 	
r  )`ry   rz   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  r6  r*  r.  r5  r8  r;  r?  rG  rN  rS  rY  r\  ri  rm  ro  rq  rt  rv  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  __classcell__)r   s   @r   r   r      s6   FFy FPi $	 i 9 I 	 &9  )  D
) 
	 y  i  4I 	 y  
i 
" "HI y  y   9  Y *	 *XI 9 I v	 vpY y 4i I I y i 9 Y , zy zxi $	 i 9 I  )  D
) 
	 y  i  4I 	 y  
i 
" "HI y  y   	 0I 9 I v	 vpy ,i I I y i  35"$
/
  
 
K	 	
* 35"$
/
  
 
K	 	
, #%
1
  
 
	
, #%
1
  
 
	
, 79"$	

 4
  	

 

2 79"$	

 4
  	

 

2 57"$	

 2
  	

 

2 57"$	

 2
  	

 

r   r   N)stripe._list_objectr   stripe._payment_linkr   &stripe._payment_link_line_item_servicer   stripe._request_optionsr   stripe._stripe_servicer   stripe._utilr   typingr	   r
   r   typing_extensionsr   r   r   r   r   r   r   <module>r     s3    + , M 2 0 $ # # = =N
 N
r   