Add StripeTaxRate model
This commit is contained in:
parent
96e50ddc8a
commit
5468d5436c
1 changed files with 10 additions and 1 deletions
|
@ -724,4 +724,13 @@ class VATRates(AssignPermissionsMixin, models.Model):
|
||||||
currency_code = models.CharField(max_length=10)
|
currency_code = models.CharField(max_length=10)
|
||||||
rate = models.FloatField()
|
rate = models.FloatField()
|
||||||
rate_type = models.TextField(blank=True, default='')
|
rate_type = models.TextField(blank=True, default='')
|
||||||
description = 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)
|
||||||
|
|
Loading…
Reference in a new issue