'Return object data in easily serializable format'

@property
def serialize(self):

    return {'id': self.id, 'identifier': self.identifier, 'quantity': self.quantity, 'amount': self.amount, 'address': self.address, 'state': self.state, 'zipcode': self.zipcode, 'country': self.country, 'transaction_id': self.transaction_id, 'paid_via': self.paid_via, 'payment_mode': self.payment_mode, 'brand': self.brand, 'exp_month': self.exp_month, 'exp_year': self.exp_year, 'last4': self.last4}
