Browse Source

#27620 changes in jSonRx for alphanumeric reward points

feature/Redmine-17825-Email_Template
Leeza Baidar 7 months ago
parent
commit
7d0f7c70b3
  1. 3
      Common/Models/ExchangeRate/ExRateResponse.cs
  2. 3
      Common/Models/SendTransaction/SendTransactionMobile.cs
  3. 6
      Repository/DAO/ThirdParty/ThirdPartyRepo.cs

3
Common/Models/ExchangeRate/ExRateResponse.cs

@ -47,5 +47,8 @@
public string ModeOfPaymentName { get; set; }
public bool isSCExcluded { get; set; }
public string discountedFee { get; set; }
public string isPromoCode { get; set; }
public string promoRowId { get; set; }
public string promoCode { get; set; }
}
}

3
Common/Models/SendTransaction/SendTransactionMobile.cs

@ -37,6 +37,9 @@ namespace Common.Models.SendTransactionMobile
public string ScDiscount { get; set; }
public string SchemeId { get; set; }
public string DiscountedFee { get; set; }
public string isPromoCode { get; set; }
public string promoRowId { get; set; }
public string promoCode { get; set; }
}
public class ReceiverInfo

6
Repository/DAO/ThirdParty/ThirdPartyRepo.cs

@ -72,6 +72,9 @@ namespace Repository.DAO.ThirdParty
sql.AppendLine(", @portOfShipment = " + FilterString(txn.CDDI.PortOfShipment));
sql.AppendLine(", @discountedFee = " + FilterString(txn.DiscountedFee));
sql.AppendLine(", @requestedBy = " + FilterString(txn.RequestedBy));
sql.AppendLine(", @isPromoCode = " + FilterString(txn.isPromoCode));
sql.AppendLine(", @promoRowId = " + FilterString(txn.promoRowId));
sql.AppendLine(", @promoCode = " + FilterString(txn.promoCode));
_log.Debug("OnlineOrMobileSendTransaction | SQL: " + sql.ToString());
TPResponse res = ParseDbResult(sql);
_log.Debug("OnlineOrMobileSendTransaction | DB Response: " + JsonConvert.SerializeObject(res));
@ -666,6 +669,9 @@ namespace Repository.DAO.ThirdParty
exRateResponse.tpPCurr = Convert.ToString(dt.Rows[0]["tpPCurr"]);
exRateResponse.ForexSessionId = Convert.ToString(dt.Rows[0]["ForexSessionId"]);
exRateResponse.discountedFee = Convert.ToString(dt.Rows[0]["discountedFee"]);
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.isSCExcluded = false;
var countriesList = model.SCExcludedCountries.Split(',');

Loading…
Cancel
Save