package tripvisModel { public class TripItem extends SimpleTripItem { public var cost: MoneyAmount; public var timePeriod: TimePeriod; public function TripItem(simpleTripItem: SimpleTripItem) { super(); this.name = simpleTripItem.name; this.thumbnailUrl = simpleTripItem.thumbnailUrl; this.location = simpleTripItem.location; this.longDescription = simpleTripItem.longDescription; this.shortDescription = simpleTripItem.shortDescription; this.mainUrl = simpleTripItem.mainUrl; this.wikipediaUrl = simpleTripItem.wikipediaUrl; this.tripadvisorUrl = simpleTripItem.tripadvisorUrl; this.frommersUrl = simpleTripItem.frommersUrl; this.realAddress = simpleTripItem.realAddress; this.rating = simpleTripItem.rating; this.type = simpleTripItem.type; this.cost = new MoneyAmount(); this.timePeriod = new TimePeriod(); } } }