Browse Source

promotional rate

master
Shakun Shrestha 4 months ago
parent
commit
d3de7e1178
  1. 1
      Common/Models/ExchangeRate/ExRateResponse.cs
  2. 1
      Repository/DAO/ThirdParty/ThirdPartyRepo.cs
  3. 2
      ThirdPartyAPIs/ApiControllers/ThirdPartyAPIController.cs

1
Common/Models/ExchangeRate/ExRateResponse.cs

@ -50,5 +50,6 @@
public string isPromoCode { get; set; } public string isPromoCode { get; set; }
public string promoRowId { get; set; } public string promoRowId { get; set; }
public string promoCode { get; set; } public string promoCode { get; set; }
public string promotionalRate { get; set; }
} }
} }

1
Repository/DAO/ThirdParty/ThirdPartyRepo.cs

@ -677,6 +677,7 @@ namespace Repository.DAO.ThirdParty
exRateResponse.isPromoCode = Convert.ToString(dt.Rows[0]["isPromoCode"]); exRateResponse.isPromoCode = Convert.ToString(dt.Rows[0]["isPromoCode"]);
exRateResponse.promoRowId = Convert.ToString(dt.Rows[0]["promoRowId"]); exRateResponse.promoRowId = Convert.ToString(dt.Rows[0]["promoRowId"]);
exRateResponse.promoCode = Convert.ToString(dt.Rows[0]["promoCode"]); exRateResponse.promoCode = Convert.ToString(dt.Rows[0]["promoCode"]);
exRateResponse.promotionalRate = Convert.ToString(dt.Rows[0]["promotionalRate"]);
exRateResponse.isSCExcluded = false; exRateResponse.isSCExcluded = false;
var countriesList = model.SCExcludedCountries.Split(','); var countriesList = model.SCExcludedCountries.Split(',');

2
ThirdPartyAPIs/ApiControllers/ThirdPartyAPIController.cs

@ -15,11 +15,11 @@ using Common.Models.Status;
using Common.Models.TxnAmendModel; using Common.Models.TxnAmendModel;
using Common.Models.TxnModel; using Common.Models.TxnModel;
using log4net; using log4net;
using Newtonsoft.Json;
using System; using System;
using System.Web.Http; using System.Web.Http;
using Common.Utility; using Common.Utility;
using Common.Models.DigitalSignature; using Common.Models.DigitalSignature;
using Newtonsoft.Json;
namespace ThirdPartyAPIs.ApiControllers namespace ThirdPartyAPIs.ApiControllers
{ {

Loading…
Cancel
Save