export class Donation { id : string ; type : string ; timestamp : string ; from : string ; amount : number ; stringAmount : string ; currency : string ; message : string ; isTest : boolean ; constructor ( donation ) { this . id = donation . id ; this . type = 'new_donation' ; this . timestamp = donation . timestamp ; this . from = donation . from ; this . amount = donation . amount ; this . stringAmount = donation . stringAmount ; this . currency = donation . currency ; this . message = donation . message ; this . isTest = donation . isTest ; } }