def confirmation_number(self): conf = coalesce(self.web_confirmation_number, "") loc = conf.find(".") return default_slice(self.web_confirmation_number, 0, loc, None)
def bill_region(self): return coalesce(self.bill_state, self.bill_city)
def warehouse_location(self): return coalesce(self.location, "No Location")
def ship_region(self): return coalesce(self.ship_state, self.ship_city)
def split_number(self): conf = coalesce(self.web_confirmation_number, "") loc = len(conf) - conf.find(".") return default_slice(self.web_confirmation_number, loc, len(conf), None)