
    ii                         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  G d de	      Z G d	 d
e      Z G d de      Z G d de      Zy)    )Optional)Field)CustomerSchema)CustomerContactSchema)
BaseSchema)Sessionc                      e Zd ZU  ed      Zeed<    ed      Zeed<    ed      Ze	e   ed<    ed      Z
e	e   ed	<    ed
d      Ze	e   ed<    ed
d      Ze	e   ed<    ed
d      Ze	e   ed<    ed
d      Ze	e   ed<    ed
d      Ze	e   ed<    ed
d      Ze	e   ed<    ed
d      Ze	e   ed<   y)PaymentRequestCustomersBasezPayment is surcharged or notdescriptionpayment_request_idz$Adjustment description for surchargecustomer_idz#Adjustment disclaimer for surchargepayer_idzIs the payment discountable?approver_idFzIs the discount is manual)defaultr   payer_email_request_enabledzManual discount amountpayer_email_receipt_enabledz&manual discount type percentage/amountpayer_sms_request_enabledzIs this a vip discountpayer_sms_receipt_enabledz,is this a discount type of frequest customerapprover_email_receipt_enabledzHas any late fee of the payemntapprover_sms_receipt_enabledzLate fee amountis_approver_approvedN)__name__
__module____qualname__r   r   int__annotations__r   r   r   r   r   boolr   r   r   r   r   r        x/var/www/html/hwPaymentPortal-be-dev/hw-payment-portal-api/src/apps/payment_requests/schemas/payment_request_customer.pyr
   r
   	   s   #0NOO)OPKP#0UVHhsmV!&3Q!RK#R27#>3$  38#;3$  16#K1x~  16#;1x~  6;#Q6"HTN  49#D4 (4.  ,1#4,(4. r    r
   c                       e Zd ZU  ed      Zeed<    ed      Zee	   ed<    ed      Z
ee   ed<    ed      Zee   ed	<   y
)PaymentRequestCustomersSchemaz&Id of Payment Request Product resourcer   idzAssociated customer, if anycustomerzAssociated payer, if anypayerzAssociated approver, if anyapproverN)r   r   r   r   r$   r   r   r%   r   r   r&   r   r'   r   r    r!   r#   r#   %   sc     HIBI).1*Hh~&  .3..E8)*  1611Hh,- r    r#   c                       e Zd Zy)PaymentRequestCustomersCreateNr   r   r   r   r    r!   r)   r)   2       r    r)   c                       e Zd Zy)PaymentRequestCustomersUpdateNr*   r   r    r!   r-   r-   6   r+   r    r-   N)typingr   pydanticr   *src.apps.customers.schemas.customer_commonr   +src.apps.customers.schemas.customer_contactr   src.apps.base.schemas.commonr   sqlalchemy.ormr   r
   r#   r)   r-   r   r    r!   <module>r4      sJ      E M 3 "* 8
$? 
	$? 		$? 	r    