o
    Zzj�  ã                   @   s0   d Z ddlmZ ddlmZ G dd„ deƒZdS )zJThis module contains an object that represents a Telegram ShippingAddress.é    )ÚTelegramObject)ÚJSONDictc                       sL   e Zd ZdZdZddœdedededed	ed
ededB f‡ fdd„Z‡  ZS )ÚShippingAddressaç  This object represents a Telegram ShippingAddress.

    Objects of this class are comparable in terms of equality. Two objects of this class are
    considered equal, if their  :attr:`country_code`, :attr:`state`, :attr:`city`,
    :attr:`street_line1`, :attr:`street_line2` and :attr:`post_code` are equal.

    Args:
        country_code (:obj:`str`): ISO 3166-1 alpha-2 country code.
        state (:obj:`str`): State, if applicable.
        city (:obj:`str`): City.
        street_line1 (:obj:`str`): First line for the address.
        street_line2 (:obj:`str`): Second line for the address.
        post_code (:obj:`str`): Address post code.

    Attributes:
        country_code (:obj:`str`): ISO 3166-1 alpha-2 country code.
        state (:obj:`str`): State, if applicable.
        city (:obj:`str`): City.
        street_line1 (:obj:`str`): First line for the address.
        street_line2 (:obj:`str`): Second line for the address.
        post_code (:obj:`str`): Address post code.

    )ÚcityÚcountry_codeÚ	post_codeÚstateÚstreet_line1Ústreet_line2N©Ú
api_kwargsr   r   r   r	   r
   r   r   c                   s\   t ƒ j|d� || _|| _|| _|| _|| _|| _| j| j| j| j| j| jf| _|  	¡  d S )Nr   )
ÚsuperÚ__init__r   r   r   r	   r
   r   Ú	_id_attrsÚ_freeze)Úselfr   r   r   r	   r
   r   r   ©Ú	__class__© ú\/var/www/kodo/tsheker/venv/lib/python3.10/site-packages/telegram/_payment/shippingaddress.pyr   ;   s   ú	zShippingAddress.__init__)	Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__Ústrr   r   Ú__classcell__r   r   r   r   r      s&    ÷þýüûúù	÷r   N)r   Útelegram._telegramobjectr   Útelegram._utils.typesr   r   r   r   r   r   Ú<module>   s   