package com.neusoft.smart.pos.payment.persistent.ext.domain;

import lombok.Data;

import java.io.Serializable;

@Data
public class UnionPayNotify implements Serializable {
    private String bizType;                 //产品类型
    private String signPubKeyCert;          //签名公钥证书
    private String orderId;                 //商户订单号
    private String txnSubType;              //交易子类
    private String signature;               //签名
    private String traceNo;                 //系统跟踪号
    private String issInsCode;              //发卡机构代码
    private String settleAmt;               //清算金额
    private String customerInfo;            //银行卡验证信息及身份信息
    private String settleCurrencyCode;      //清算币种
    private String settleDate;              //清算日期
    private String txnType;                 //交易类型
    private String encoding;                //编码方式
    private String version;                 //版本号
    private String queryId;                 //查询流水号
    private String accessType;              //接入类型
    private String respMsg;                 //应答信息
    private String traceTime;               //交易传输时间
    private String txnTime;                 //订单发送时间
    private String merId;                   //商户代码
    private String currencyCode;            //交易币种
    private String respCode;                //应答码
    private String signMethod;              //签名方法
    private String txnAmt;                  //交易金额
//    {
//        "bizType": "000000",
//            "signPubKeyCert": "-----BEGIN CERTIFICATE-----\r\nMIIEQzCCAyugAwIBAgIFEBJJZVgwDQYJKoZIhvcNAQEFBQAwWDELMAkGA1UEBhMC\r\nQ04xMDAuBgNVBAoTJ0NoaW5hIEZpbmFuY2lhbCBDZXJ0aWZpY2F0aW9uIEF1dGhv\r\ncml0eTEXMBUGA1UEAxMOQ0ZDQSBURVNUIE9DQTEwHhcNMTcxMTAxMDcyNDA4WhcN\r\nMjAxMTAxMDcyNDA4WjB3MQswCQYDVQQGEwJjbjESMBAGA1UEChMJQ0ZDQSBPQ0Ex\r\nMQ4wDAYDVQQLEwVDVVBSQTEUMBIGA1UECxMLRW50ZXJwcmlzZXMxLjAsBgNVBAMU\r\nJTA0MUBaMjAxNy0xMS0xQDAwMDQwMDAwOlNJR05AMDAwMDAwMDEwggEiMA0GCSqG\r\nSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDDIWO6AESrg+34HgbU9mSpgef0sl6avr1d\r\nbD/IjjZYM63SoQi3CZHZUyoyzBKodRzowJrwXmd+hCmdcIfavdvfwi6x+ptJNp9d\r\nEtpfEAnJk+4quriQFj1dNiv6uP8ARgn07UMhgdYB7D8aA1j77Yk1ROx7+LFeo7rZ\r\nDdde2U1opPxjIqOPqiPno78JMXpFn7LiGPXu75bwY2rYIGEEImnypgiYuW1vo9UO\r\nG47NMWTnsIdy68FquPSw5FKp5foL825GNX3oJSZui8d2UDkMLBasf06Jz0JKz5AV\r\nblaI+s24/iCfo8r+6WaCs8e6BDkaijJkR/bvRCQeQpbX3V8WoTLVAgMBAAGjgfQw\r\ngfEwHwYDVR0jBBgwFoAUz3CdYeudfC6498sCQPcJnf4zdIAwSAYDVR0gBEEwPzA9\r\nBghggRyG7yoBATAxMC8GCCsGAQUFBwIBFiNodHRwOi8vd3d3LmNmY2EuY29tLmNu\r\nL3VzL3VzLTE0Lmh0bTA5BgNVHR8EMjAwMC6gLKAqhihodHRwOi8vdWNybC5jZmNh\r\nLmNvbS5jbi9SU0EvY3JsMjQ4NzIuY3JsMAsGA1UdDwQEAwID6DAdBgNVHQ4EFgQU\r\nmQQLyuqYjES7qKO+zOkzEbvdFwgwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUF\r\nBwMEMA0GCSqGSIb3DQEBBQUAA4IBAQAujhBuOcuxA+VzoUH84uoFt5aaBM3vGlpW\r\nKVMz6BUsLbIpp1ho5h+LaMnxMs6jdXXDh/du8X5SKMaIddiLw7ujZy1LibKy2jYi\r\nYYfs3tbZ0ffCKQtv78vCgC+IxUUurALY4w58fRLLdu8u8p9jyRFHsQEwSq+W5+bP\r\nMTh2w7cDd9h+6KoCN6AMI1Ly7MxRIhCbNBL9bzaxF9B5GK86ARY7ixkuDCEl4XCF\r\nJGxeoye9R46NqZ6AA/k97mJun//gmUjStmb9PUXA59fR5suAB5o/5lBySZ8UXkrI\r\npp/iLT8vIl1hNgLh0Ghs7DBSx99I+S3VuUzjHNxL6fGRhlix7Rb8\r\n-----END CERTIFICATE-----",
//            "orderId": "20180528143329",
//            "txnSubType": "07",
//            "signature": "XfzvFp8yqea/ukNtzIVRD3JbrCs6nMYyc70dd9aGTpe1+deFzuKtuX3jwXMhEPLNJkN8SSaSL8T9U+R6aTCpw8DQOBsWZcB02lFY/pWRjvTPt0zRS+9LGRMBCxsOvB3GpnB1Z9k1ky/sYgfSGq1O5HZ1bcPuv08KMybaOm8UnzXfriEi73d6tOpjvUM6YXBj4dN/C0WTZrWSjEcb1ubrVgx4EANgJn/BkVcEyXbaWROMr5RzTHeQcA2ByaxSEIA3APh4BwK2aksKx1SdqAFGK/DpI080K3nlW3EGE3iS18mN5tXWYg81eVbmK4cbyexqazevN4lUB2smJasN1FkaQQ==",
//            "traceNo": "378000",
//            "issInsCode": "04100000",
//            "settleAmt": "1",
//            "customerInfo": "e2N1c3RvbWVyTm095a6L5bCPfQ==",
//            "settleCurrencyCode": "156",
//            "settleDate": "0528",
//            "txnType": "01",
//            "encoding": "UTF-8",
//            "version": "5.1.0",
//            "queryId": "20180528125632385617",
//            "accessType": "0",
//            "respMsg": "成功[0000000]",
//            "traceTime": "0528102659",
//            "txnTime": "20180528122645",
//            "merId": "777290058159894",
//            "currencyCode": "156",
//            "respCode": "00",
//            "signMethod": "01",
//            "txnAmt": "1"
//    }

 }