syncano.models.billing

class Coupon(**kwargs)[source]

Bases: syncano.models.archetypes.Model

OO wrapper around coupons link.

Variables:
CURRENCY_CHOICES = ({'display_name': 'USD', 'value': 'usd'},)
name = None
redeem_by = None
percent_off = None
amount_off = None
currency = None
duration = None
DoesNotExist

alias of CouponDoesNotExist

pk = None
please
class Discount(**kwargs)[source]

Bases: syncano.models.archetypes.Model

OO wrapper around discounts link.

Variables:
instance = None
coupon = None
start = None
end = None
DoesNotExist

alias of DiscountDoesNotExist

id = None
pk = None
please