From da905a2b5db09a95d75fccea1516c052e2fba77c Mon Sep 17 00:00:00 2001 From: shakun Date: Wed, 10 Apr 2024 14:43:16 +0545 Subject: [PATCH] #28335 Provide Cost Rate in FX API for Website --- Business/Mobile/IMobileServices.cs | 2 +- Business/Mobile/MobileServices.cs | 8 ++++---- Common/Model/Config/ResponseMsgType.cs | 2 ++ JsonRx/ApiV3/SendTransactionController.cs | 6 +++--- JsonRx/Config/ResponseMsg.json | 7 ++++++- Repository/Mobile/IMobileServicesRepo.cs | 3 ++- Repository/Mobile/MobileServicesRepo.cs | 8 +++++++- 7 files changed, 25 insertions(+), 11 deletions(-) diff --git a/Business/Mobile/IMobileServices.cs b/Business/Mobile/IMobileServices.cs index 0dec43b..cfc6e8d 100644 --- a/Business/Mobile/IMobileServices.cs +++ b/Business/Mobile/IMobileServices.cs @@ -93,7 +93,7 @@ namespace Business.Mobile JsonRxResponse CheckInfoAgree(string username); - JsonRxResponse GetFieldsByProduct(MappingType type, string customer, string receiverId); + JsonRxResponse GetFieldsByProduct(MappingType type, string customer, string receiverId, string payoutPartner); JsonRxResponse ValidateReferralCode(string referralCode); //JsonRxResponse QueryAddress(string postCode); diff --git a/Business/Mobile/MobileServices.cs b/Business/Mobile/MobileServices.cs index 90b8ebb..3edf3d1 100644 --- a/Business/Mobile/MobileServices.cs +++ b/Business/Mobile/MobileServices.cs @@ -2959,7 +2959,7 @@ namespace Business.Mobile } - public JsonRxResponse GetFieldsByProduct(Common.Model.Config.MappingType type, string customerId, string receiverId) + public JsonRxResponse GetFieldsByProduct(Common.Model.Config.MappingType type, string customerId, string receiverId, string payoutPartner) { JsonRxResponse jsonRx = new JsonRxResponse { @@ -2987,7 +2987,7 @@ namespace Business.Mobile else if (type == Common.Model.Config.MappingType.REWARD_POINT) { var response1 = _requestServices.GetRewardFee(customerId); - response1.PaymentOptions = new PaymentOptions() { Options = GetPaymentMethods(receiverId), HeaderText = "How do like to pay?" }; + response1.PaymentOptions = new PaymentOptions() { Options = GetPaymentMethods(receiverId, payoutPartner), HeaderText = "How do you like to pay ?" }; if (response1 != null) { @@ -3047,9 +3047,9 @@ namespace Business.Mobile } - public List