/// <summary> /// Returns Payment Gateways and their setting values. /// </summary> /// <param name="portalID">portalID</param> /// <returns>PaymentGatewayInfo object containg settingkey and values of Payment Gateway.</returns> public PaymentGatewayInfo GetPaymentGatewaysSetting(int portalID) { try { PaymentDataProvider objDataProvider = new PaymentDataProvider(); return(objDataProvider.GetPaymentGatewaysSetting(portalID)); } catch (Exception ex) { throw; } }
/// <summary> /// Returns Payment Gateways and their setting values. /// </summary> /// <param name="portalID">portalID</param> /// <returns>PaymentGatewayInfo object containg settingkey and values of Payment Gateway.</returns> public PaymentGatewayInfo GetPaymentGatewaysSetting(int portalID) { try { PaymentDataProvider objDataProvider = new PaymentDataProvider(); return objDataProvider.GetPaymentGatewaysSetting(portalID); } catch { throw; } }
/// <summary> /// Saves Payment Gateway and their setting in json data format. /// </summary> /// <param name="objPaymentInfo"></param> public void SavePaymentGateways(PaymentGatewayInfo objPaymentInfo) { try { PaymentDataProvider objDataProvider = new PaymentDataProvider(); objDataProvider.SavePaymentGateways(objPaymentInfo); } catch (Exception ex) { throw; } }
/// <summary> /// Saves Payment Gateway and their setting in json data format. /// </summary> /// <param name="objPaymentInfo"></param> public void SavePaymentGateways(PaymentGatewayInfo objPaymentInfo) { try { PaymentDataProvider objDataProvider = new PaymentDataProvider(); objDataProvider.SavePaymentGateways(objPaymentInfo); } catch { throw; } }