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