def METHOD_NAME(self, offer, result):
    if offer.id not in self.applications:
        self.applications[offer.id] = {
            "offer": offer,
            "result": result,
            "name": offer.name,
            "description": result.description,
            "voucher": offer.get_voucher(),
            "freq": 0,
            "discount": D("0.00"),
        }
    self.applications[offer.id]["discount"] += result.discount
    self.applications[offer.id]["freq"] += 1