diff --git a/Common/Models/ExchangeRate/ExRateResponse.cs b/Common/Models/ExchangeRate/ExRateResponse.cs index 0a274f1..26a94b1 100644 --- a/Common/Models/ExchangeRate/ExRateResponse.cs +++ b/Common/Models/ExchangeRate/ExRateResponse.cs @@ -50,5 +50,6 @@ public string isPromoCode { get; set; } public string promoRowId { get; set; } public string promoCode { get; set; } + public string promotionalRate { get; set; } } } \ No newline at end of file diff --git a/Repository/DAO/ThirdParty/ThirdPartyRepo.cs b/Repository/DAO/ThirdParty/ThirdPartyRepo.cs index eef343c..0d3698c 100644 --- a/Repository/DAO/ThirdParty/ThirdPartyRepo.cs +++ b/Repository/DAO/ThirdParty/ThirdPartyRepo.cs @@ -677,6 +677,7 @@ namespace Repository.DAO.ThirdParty exRateResponse.isPromoCode = Convert.ToString(dt.Rows[0]["isPromoCode"]); exRateResponse.promoRowId = Convert.ToString(dt.Rows[0]["promoRowId"]); exRateResponse.promoCode = Convert.ToString(dt.Rows[0]["promoCode"]); + exRateResponse.promotionalRate = Convert.ToString(dt.Rows[0]["promotionalRate"]); exRateResponse.isSCExcluded = false; var countriesList = model.SCExcludedCountries.Split(','); diff --git a/ThirdPartyAPIs/ApiControllers/ThirdPartyAPIController.cs b/ThirdPartyAPIs/ApiControllers/ThirdPartyAPIController.cs index 2f913c2..b439215 100644 --- a/ThirdPartyAPIs/ApiControllers/ThirdPartyAPIController.cs +++ b/ThirdPartyAPIs/ApiControllers/ThirdPartyAPIController.cs @@ -15,11 +15,11 @@ using Common.Models.Status; using Common.Models.TxnAmendModel; using Common.Models.TxnModel; using log4net; +using Newtonsoft.Json; using System; using System.Web.Http; using Common.Utility; using Common.Models.DigitalSignature; -using Newtonsoft.Json; namespace ThirdPartyAPIs.ApiControllers {