<commit_before>#-*- coding: utf-8 -*-
from django.db import models
from django.conf import settings
from shop.util.fields import CurrencyField

class Confirmation(models.Model):
    """
    Model to store every confirmation for successful or failed payments. 
    """
    class Meta:
        verbose_name = 'IPayment Confirmation'

    shopper_id = models.IntegerField()
    ret_booknr = models.CharField(max_length=63)
    ret_errorcode = models.IntegerField()
    trx_paymentmethod = models.CharField(max_length=63)
    ret_trx_number = models.CharField(max_length=63)
    ret_transdatetime = models.DateTimeField()
    ret_ip = models.IPAddressField()
    trx_typ = models.CharField(max_length=63)
    addr_name = models.CharField(max_length=63, verbose_name='Cardholder name')
    trx_amount = CurrencyField()
    trx_remoteip_country = models.CharField(blank=True, max_length=2)
    trx_currency = models.CharField(max_length=4)
    ret_authcode = models.CharField(blank=True, max_length=63)
    trx_paymenttyp = models.CharField(max_length=63)<commit_msg>Removed useless import<commit_after>#-*- coding: utf-8 -*-
from django.db import models
from shop.util.fields import CurrencyField

class Confirmation(models.Model):
    """
    Model to store every confirmation for successful or failed payments. 
    """
    class Meta:
        verbose_name = 'IPayment Confirmation'

    shopper_id = models.IntegerField()
    ret_booknr = models.CharField(max_length=63)
    ret_errorcode = models.IntegerField()
    trx_paymentmethod = models.CharField(max_length=63)
    ret_trx_number = models.CharField(max_length=63)
    ret_transdatetime = models.DateTimeField()
    ret_ip = models.IPAddressField()
    trx_typ = models.CharField(max_length=63)
    addr_name = models.CharField(max_length=63, verbose_name='Cardholder name')
    trx_amount = CurrencyField()
    trx_remoteip_country = models.CharField(blank=True, max_length=2)
    trx_currency = models.CharField(max_length=4)
    ret_authcode = models.CharField(blank=True, max_length=63)
    trx_paymenttyp = models.CharField(max_length=63)
{'fraction_non_alphanumeric': 0.0977121067683508, 'fraction_numerical': 0.016205910390848427, 'mean_word_length': 4.612299465240642, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6494553', 'n_tokens_mistral': 687, 'n_tokens_neox': 665, 'n_words': 125}