def period_from(self): if 'periodFrom' in self.resp: return utilities.process_date(self.resp['periodFrom'][0]) else: return None
def period_to(self): if 'periodTo' in self.resp: return utilities.process_date(self.resp['periodTo'][0]) else: return None
def billing_date(self): if 'billingDate' in self.resp: return utilities.process_date(self.resp['billingDate'][0]) else: return None