code: def getFlatPrice(self,payAtDoor=False):
          '''
          Rather than embedding logic re: door pricing,
          other code can call this method.
          '''
          if self.discountType is not DiscountCombo.DiscountType.flatPrice:
              return None
          if payAtDoor:
              return self.doorPrice
          else:
              return self.onlinePricf getFlatPrice(self,payAtDoor=False):
          '''
          Rather than embedding logic re: door pricing,
          other code can call this method.
          '''
          if self.discountType is not DiscountCombo.DiscountType.flatPrice:
              return None
          if payAtDoor:
              return self.doorPrice
          else:
              return self.onlinePrice
docs: Rather than embedding logic re: door pricing,
          other code can call this method.