using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Newtonsoft.Json; namespace ARC.GMP.Types { public class GiftInformation_POC { public DateTime GiftDate { get; set; } public DateTime DepositeDate { get; set; } public string PaymentMethod { get; set; } public string CheckNumber { get; set; } public string CreditCardLast4Digits { get; set; } public InKindGift InKindGift { get; set; } public StockGift StockGift { get; set; } public string DonationAmount { get; set; } public string VendorCode { get; set; } public string DonationChannel { get; set; } public string IsAnonymous { get; set; } public int PledgeNumber { get; set; } public string AppealCode { get; set; } public string CampaignCode { get; set; } public string FundCode { get; set; } public string DonorSpecifiedLocation { get; set; } public string RevenueCredit { get; set; } public string IsTributes { get; set; } public string IsSplit { get; set; } public string IsSoftCredit { get; set; } public string CanAcknowledge { get; set; } public bool IsMisdirected { get; set; } public string CanPostToGeneralLedger { get; set; } public int Total { get; set; } public List SplitGifts { get; set; } public List SoftCredits { get; set; } } public class InKindGift { public List InKindDetails { get; set; } } public class InKindGiftDetail { public long InKindId { get; set; } public long? GiftranId { get; set; } public decimal InKindQuantity { get; set; } public string InKindUnitOfMeasure { get; set; } public string InKindItemDescription { get; set; } public decimal InKindValue { get; set; } } //public class StockGift //{ // public long StockId { get; set; } // public long? GiftranId { get; set; } // public string TickerSymbol { get; set; } // public string Company { get; set; } // public DateTime? ShareReceivedDate { get; set; } // public int ShareCount { get; set; } // public decimal HighPrice { get; set; } // public decimal LowPrice { get; set; } // public decimal MeanPrice { get; set; } // public decimal SecuritySalePrice { get; set; } // public DateTime SecuritySoldDate { get; set; } // public decimal? DonationAmount { get; set; } // public decimal? FeeValue { get; set; } // public string VendorSourceCode { get; set; } //} public class GiftSpecificDetail { public long TransactionId { get; set; } public string Donor { get; set; } public long PledgeNumber { get; set; } public string AppealCode { get; set; } public string FundCode { get; set; } public string DonorSpecifiedLocation { get; set; } public string RevenueCredit { get; set; } public decimal DonationAmount { get; set; } public decimal Total { get; set; } } public class SoftCredit { public long SoftCreditTransactionId { get; set; } public List SoftCreditRecipients { get; set; } [StringLength(1)] public string CanThankYou { get; set; } public List ThankYouRecipients { get; set; } public List HardCredits { get; set; } public decimal Amount { get; set; } } public class SoftHardLink { public string GiftId { get; set; } public long TransactionId { get; set; } public decimal? Amount { get; set; } } }