o
    "iC"                     @   s   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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 eG dd deZdS )    )Optional)defineN   )OfferDiscountType)Environment)InAppOwnershipType)AttrsRawValueAware)	OfferType)RevocationReason)TransactionReason)Typec                   @   s  e Zd ZU dZejddZee e	d< 	 ejddZ
ee e	d< 	 ejddZee e	d< 	 ejddZee e	d< 	 ejddZee e	d< 	 ejddZee e	d	< 	 ejddZee e	d
< 	 ejddZee e	d< 	 ejddZee e	d< 	 ejddZee e	d< 	 edZee e	d< 	 edZee e	d< 	 ejddZee e	d< 	 edZee e	d< 	 edZee e	d< 	 ejddZee e	d< 	 edZee e	d< 	 edZ ee e	d< 	 ejddZ!ee e	d< 	 ejddZ"ee# e	d< 	 e$dZ%ee$ e	d< 	 e$dZ&ee e	d< 	 ejddZ'ee e	d< 	 e(dZ)ee( e	d< 	 e(dZ*ee e	d< 	 ejddZ+ee e	d< 	 ejddZ,ee e	d< 	 e-dZ.ee- e	d < 	 e-d Z/ee e	d< 	 ejddZ0ee e	d!< 	 ejddZ1ee e	d"< 	 e2d#Z3ee2 e	d$< 	 e2d$Z4ee e	d#< 	 ejddZ5ee e	d%< 	 ejddZ6ee e	d&< dS )'JWSTransactionDecodedPayloadz
    A decoded payload containing transaction information.
    
    https://developer.apple.com/documentation/appstoreserverapi/jwstransactiondecodedpayload
    N)defaultoriginalTransactionIdtransactionIdwebOrderLineItemIdbundleId	productIdsubscriptionGroupIdentifierpurchaseDateoriginalPurchaseDateexpiresDatequantityrawTypetypeappAccountTokenrawInAppOwnershipTypeinAppOwnershipType
signedDaterawRevocationReasonrevocationReasonrevocationDate
isUpgradedrawOfferType	offerTypeofferIdentifierrawEnvironmentenvironment
storefrontstorefrontIdrawTransactionReasontransactionReasoncurrencypricerawOfferDiscountTypeofferDiscountTypeappTransactionIdofferPeriod)7__name__
__module____qualname____doc__attribr   r   str__annotations__r   r   r   r   r   r   intr   r   r   r   create_main_attrr   create_raw_attrr   r   r   r   r   r   r
   r    r   r!   r"   boolr	   r$   r#   r%   r   r'   r&   r(   r)   r   r+   r*   r,   r-   r   r/   r.   r0   r1    r>   r>   y/var/www/html/premium_crap/venv/lib/python3.10/site-packages/appstoreserverlibrary/models/JWSTransactionDecodedPayload.pyr      s   
 r   )typingr   r6   r   r   r   r   LibraryUtilityr   r	   r
   r   r   r   r>   r>   r>   r?   <module>   s   