public PaymentDto.PaymentPublicTransactionLimitResponse GetPublicPerTransactionDepositLimits(TransactionLimitsDto transactionLimits) { Log.Info("Getting Transaction Deposit Limit for public"); var response = _paymentApiProxy.GetPublicPerTransactionDepositLimits(CultureCode, transactionLimits); switch (response.Result) { case 0: return(new PaymentDto.PaymentPublicTransactionLimitResponse { Code = ResponseCode.Success, Message = response.Message }); case 1: return(new PaymentDto.PaymentPublicTransactionLimitResponse { Code = ResponseCode.Success, Message = response.Message, PaymentPublicTransactionLimit = response.List }); default: return(new PaymentDto.PaymentPublicTransactionLimitResponse { Code = ResponseCode.Failed, Message = response.Message }); } }
public PaymentDto.PaymentTransactionLimitsResponse GetPerTransactionWithdrawLimits(TransactionLimitsDto transactionLimits) { Log.Info("Getting Transaction Withdrawal Limit"); var response = _paymentApiProxy.GetPerTransactionWithdrawLimits(CultureCode, _userContext.UserId, transactionLimits); switch (response.Result) { case 0: return(new PaymentDto.PaymentTransactionLimitsResponse { Code = ResponseCode.Success, Message = response.Message }); case 1: return(new PaymentDto.PaymentTransactionLimitsResponse { Code = ResponseCode.Success, Message = response.Message, Min = response.Min, Max = response.Max }); default: return(new PaymentDto.PaymentTransactionLimitsResponse { Code = ResponseCode.Failed, Message = response.Message }); } }