o
    ˷e_                     @   sN   d dl mZmZmZ d dlmZ d dlmZ d dlmZ G dd deeZ	dS )    )absolute_importdivisionprint_function)util)ListableAPIResource)UpdateableAPIResourcec                   @   s<   e Zd ZdZdZe			d	ddZedd
ddZ	dS )Disputea  
    A dispute occurs when a customer questions your charge with their card issuer.
    When this happens, you're given the opportunity to respond to the dispute with
    evidence that shows that the charge is legitimate. You can find more
    information about the dispute process in our [Disputes and
    Fraud](/docs/disputes) documentation.

    Related guide: [Disputes and Fraud](https://stripe.com/docs/disputes).
    disputeNc                 K   s$   | j ddjt|d||||dS )Npost/v1/disputes/{dispute}/closer	   )api_keystripe_versionstripe_accountparams)_static_requestformatr   sanitize_id)clsr	   r   r   r   r    r   S/var/www/ideatree/venv/lib/python3.10/site-packages/stripe/api_resources/dispute.py
_cls_close   s   	zDispute._cls_closer   c                 K   s&   | j ddjt| dd||dS )Nr
   r   idr   )idempotency_keyr   )_requestr   r   r   get)selfr   r   r   r   r   close*   s   zDispute.close)NNN)N)
__name__
__module____qualname____doc__OBJECT_NAMEclassmethodr   r   class_method_variantr   r   r   r   r   r   	   s    
r   N)

__future__r   r   r   striper   stripe.api_resources.abstractr   r   r   r   r   r   r   <module>   s
   