using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MyCode.Project.Infrastructure.PayModels { /// /// 富友支付 条码支付,商户扫用户二维码收款对象 /// public class FuiouBarcodepay { /// /// 版本号 1.0,必填 /// public string version { get; set; } /// /// 机构号,接入机构在富友的唯一代码,必填 /// public string ins_cd { get; set; } /// /// 终端号(没有真实终端号统一 填 88888888),必填 /// public string term_id { get; set; } /// /// 随机字符串,必填 /// public string random_str { get; set; } /// /// 签名, 详见签名生成算法,必填 /// public string sign { get; set; } /// /// 订单类型:ALIPAY , WECHAT, QQ(QQ 钱包), UNIONPAY(银联二维码) , BESTPAY(翼支付) /// public string order_type { get; set; } /// /// 商品描述, 商品或支付单简要描述,必填 /// public string goods_des { get; set; } /// /// 商品详情, 商品名称明细 /// public string goods_detail { get; set; } /// /// 附加数据 /// public string addn_inf { get; set; } /// /// 商户订单号, 商户系统内部的订单号(5 到 30 个字符、 只能包含字母数字, 区分大小写),必填 /// public string mchnt_order_no { get; set; } /// /// 货币类型,默认人民币: CNY /// public string curr_type { get; set; } /// /// 总金额, 订单总金额,单位为分,必填 /// public int order_amt { get; set; } /// /// 终端 IP,因没有终端,传192.168.1.1,必填 /// public string term_ip { get; set; } /// /// 交易起始时间, 订单生成时间 ,格式为yyyyMMddHHmmss,必填 /// public string txn_begin_ts { get; set; } /// /// 商品标记 /// public string goods_tag { get; set; } /// /// 扫码支付授权码,设备读取用户的条码或者二维码信息,必填 /// public string auth_code { get; set; } /// /// 支付场景,默认 1;条码支付:1 声波支付:2 /// public string sence { get; set; } /// /// 子商户公众号 id(后期拓展字段,请先不要填写) /// public string reserved_sub_appid { get; set; } /// /// 限制支付,no_credit:不能使用信用卡 /// public string reserved_limit_pay { get; set; } /// /// 交易关闭时间,如不设置,默认填0 单位:分钟 最大值为1440:1 天=1440,必填 /// public int reserved_expire_minute { get; set; } /// /// 富友终端号(如果不是用的富友的 POS 终端,此字段千万不要填,不然会影响清算) /// public string reserved_fy_term_id { get; set; } /// /// 0:其他 1:富友终端 2:POS 机 3:台卡 4:PC 软件 /// public string reserved_fy_term_type { get; set; } /// /// 终端序列号 /// public string reserved_fy_term_sn { get; set; } } public class FuiouOrder : Wolf.ExternalService.CMBPay.Barcodepay.Order { /// /// 终端IP。订单生成的机器 IP /// public new string SpbillCreateIp { get; set; } } }