|
|
|
@ -29,6 +29,36 @@ class ASSNotification(models.Model): |
|
|
|
requestIdentifier = models.CharField(max_length=100, null=True, blank=True) |
|
|
|
requestIdentifier = models.CharField(max_length=100, null=True, blank=True) |
|
|
|
|
|
|
|
|
|
|
|
# Offers |
|
|
|
# Offers |
|
|
|
offerDiscountType = models.CharField(max_length=100, null=True, blank=True) |
|
|
|
# offerDiscountType = models.CharField(max_length=100, null=True, blank=True) |
|
|
|
offerIdentifier = models.CharField(max_length=100, null=True, blank=True) |
|
|
|
# offerIdentifier = models.CharField(max_length=100, null=True, blank=True) |
|
|
|
offerType = models.IntegerField(null=True, blank=True) |
|
|
|
# offerType = models.IntegerField(null=True, blank=True) |
|
|
|
|
|
|
|
offer_type = models.IntegerField( |
|
|
|
|
|
|
|
null=True, |
|
|
|
|
|
|
|
blank=True, |
|
|
|
|
|
|
|
choices=[ |
|
|
|
|
|
|
|
(1, 'INTRODUCTORY_OFFER'), |
|
|
|
|
|
|
|
(2, 'PROMOTIONAL_OFFER'), |
|
|
|
|
|
|
|
(3, 'SUBSCRIPTION_OFFER_CODE'), |
|
|
|
|
|
|
|
(4, 'WIN_BACK_OFFER'), |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
help_text="A value that represents the promotional offer type." |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
offer_identifier = models.CharField( |
|
|
|
|
|
|
|
max_length=255, |
|
|
|
|
|
|
|
null=True, |
|
|
|
|
|
|
|
blank=True, |
|
|
|
|
|
|
|
help_text="The identifier that contains the promo code or the promotional offer identifier." |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
offer_discount_type = models.CharField( |
|
|
|
|
|
|
|
max_length=20, |
|
|
|
|
|
|
|
null=True, |
|
|
|
|
|
|
|
blank=True, |
|
|
|
|
|
|
|
choices=[ |
|
|
|
|
|
|
|
('FREE_TRIAL', 'FREE_TRIAL'), |
|
|
|
|
|
|
|
('PAY_AS_YOU_GO', 'PAY_AS_YOU_GO'), |
|
|
|
|
|
|
|
('PAY_UP_FRONT', 'PAY_UP_FRONT'), |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
help_text="The payment mode for an introductory offer, promotional offer, or offer code on an auto-renewable subscription." |
|
|
|
|
|
|
|
) |
|
|
|
|