Tesis 1.0.0
Loading...
Searching...
No Matches
payment_service.models.PaymentNotification Class Reference
Inheritance diagram for payment_service.models.PaymentNotification:

Classes

class  Meta

Public Member Functions

 __str__ (self)

Static Public Attributes

 id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
 payment_request = models.ForeignKey(PaymentRequest, on_delete=models.CASCADE, null=True, blank=True, related_name="notifications")
 payment_id = models.CharField(max_length=255, null=True, blank=True, help_text="ID del pago en Mercado Pago")
 topic = models.CharField(max_length=50, help_text="Tipo de notificación")
 raw_data = models.JSONField(help_text="Datos completos de la notificación")
 processed = models.BooleanField(default=False, help_text="Indica si la notificación ya fue procesada")
 created_at = models.DateTimeField(default=timezone.now, help_text="Fecha de recepción")

Detailed Description

Modelo para almacenar las notificaciones recibidas de Mercado Pago

Definition at line 28 of file models.py.

Member Function Documentation

◆ __str__()

payment_service.models.PaymentNotification.__str__ ( self)

Definition at line 40 of file models.py.

Member Data Documentation

◆ created_at

payment_service.models.PaymentNotification.created_at = models.DateTimeField(default=timezone.now, help_text="Fecha de recepción")
static

Definition at line 38 of file models.py.

◆ id

payment_service.models.PaymentNotification.id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
static

Definition at line 32 of file models.py.

◆ payment_id

payment_service.models.PaymentNotification.payment_id = models.CharField(max_length=255, null=True, blank=True, help_text="ID del pago en Mercado Pago")
static

Definition at line 34 of file models.py.

◆ payment_request

payment_service.models.PaymentNotification.payment_request = models.ForeignKey(PaymentRequest, on_delete=models.CASCADE, null=True, blank=True, related_name="notifications")
static

Definition at line 33 of file models.py.

◆ processed

payment_service.models.PaymentNotification.processed = models.BooleanField(default=False, help_text="Indica si la notificación ya fue procesada")
static

Definition at line 37 of file models.py.

◆ raw_data

payment_service.models.PaymentNotification.raw_data = models.JSONField(help_text="Datos completos de la notificación")
static

Definition at line 36 of file models.py.

◆ topic

payment_service.models.PaymentNotification.topic = models.CharField(max_length=50, help_text="Tipo de notificación")
static

Definition at line 35 of file models.py.


The documentation for this class was generated from the following file:
  • microservicemp/mercadopago_service/payment_service/models.py