Add StripeTaxRate model

This commit is contained in:
PCoder 2020-01-05 09:57:54 +05:30
parent 96e50ddc8a
commit 5468d5436c

View file

@ -725,3 +725,12 @@ class VATRates(AssignPermissionsMixin, models.Model):
rate = models.FloatField()
rate_type = models.TextField(blank=True, default='')
description = models.TextField(blank=True, default='')
class StripeTaxRate(AssignPermissionsMixin, models.Model):
tax_rate_id = models.CharField(max_length=100, unique=True)
jurisdiction = models.CharField(max_length=10)
inclusive = models.BooleanField(default=False)
display_name = models.CharField(max_length=100)
percentage = models.FloatField(default=0)
description = models.CharField(max_length=100)