forked from uncloud/uncloud
Define custom fields and serializer for MatrixServiceProduct
This commit is contained in:
parent
eaa483e018
commit
af1265003e
4 changed files with 17 additions and 3 deletions
|
|
@ -163,5 +163,9 @@ class Product(models.Model):
|
|||
def recurring_price(self, recurring_period=RecurringPeriod.PER_MONTH):
|
||||
pass # To be implemented in child.
|
||||
|
||||
@property
|
||||
def setup_fee(self):
|
||||
return 0
|
||||
|
||||
class Meta:
|
||||
abstract = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue