public IDictionary <string, string> GetParameters() { var parameters = new QPayDictionary() { { "transaction_id", TransactionId }, { "out_trade_no", OutTradeNo }, { "out_refund_no", OutRefundNo }, { "refund_fee", RefundFee.ToString() }, { "op_user_id", OpUserId }, { "op_user_passwd", OpUserPasswd }, { "refund_account", RefundAccount } }; return(parameters); }
public IDictionary <string, string> GetParameters() { var parameters = new WeChatPayDictionary() { { "transaction_id", TransactionId }, { "out_trade_no", OutTradeNo }, { "out_refund_no", OutRefundNo }, { "total_fee", TotalFee.ToString() }, { "refund_fee", RefundFee.ToString() }, { "refund_fee_type", RefundFeeType }, { "refund_desc", RefundDesc }, { "refund_account", RefundAccount } }; return(parameters); }
public IDictionary <string, string> GetParameters() { var parameters = new WeChatPayDictionary() { { "transaction_id", TransactionId }, { "out_trade_no", OutTradeNo }, { "out_refund_no", OutRefundNo }, { "total_fee", TotalFee.ToString() }, { "refund_fee", RefundFee.ToString() }, { "refund_fee_type", RefundFeeType }, { "refund_desc", RefundDesc }, { "refund_account", RefundAccount }, { "notify_url", NotifyUrl }, { "sub_appid", SubAppId }, { "sub_mch_id", SubMchId }, }; return(parameters); }
public IDictionary <string, string> GetParameters() { var parameteers = new Dictionary <string, string>(); if (!string.IsNullOrEmpty(TransactionId)) { parameteers.Add("transaction_id", TransactionId); } if (!string.IsNullOrEmpty(OutTradeNo)) { parameteers.Add("out_trade_no", OutTradeNo); } parameteers.Add("out_refund_no", OutRefundNo); parameteers.Add("total_fee", TotalFee.ToString()); parameteers.Add("refund_fee", RefundFee.ToString()); if (!string.IsNullOrEmpty(RefundFeeType)) { parameteers.Add("refund_fee_type", RefundFeeType); } parameteers.Add("op_user_id", OpUserId); return(parameteers); }