All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.binarywang.wxpay.bean.entpay.GetPublicKeyResult Maven / Gradle / Ivy

The newest version!
package com.github.binarywang.wxpay.bean.entpay;

import com.github.binarywang.wxpay.bean.result.BaseWxPayResult;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.w3c.dom.Document;

import java.io.Serializable;

/**
 * 
 *  企业付款获取RSA加密公钥接口返回结果类
 *  Created by BinaryWang on 2017/12/20.
 * 
* * @author Binary Wang */ @Data @EqualsAndHashCode(callSuper = true) @XStreamAlias("xml") public class GetPublicKeyResult extends BaseWxPayResult implements Serializable { private static final long serialVersionUID = -9150517427082709997L; /** * 商户号. */ @XStreamAlias("mch_id") private String mchId; /** * 密钥 */ @XStreamAlias("pub_key") private String pubKey; @Override protected void loadXml(Document d) { mchId = readXmlString(d, "mch_id"); pubKey = readXmlString(d, "pub_key"); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy