![JAR search and dependency download from the Maven repository](/logo.png)
cn.minsin.wechat.jsapi.model.JsapiOrderPayModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mutils-wechat-jsapi Show documentation
Show all versions of mutils-wechat-jsapi Show documentation
mutils组件中,提供微信jsapi(公众号)+微信支付模块。此模块不可单独引用,如果要使用该模块,必须要引入 mutils-wechat-wechatpay-core
官方文档:https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=7_1
package cn.minsin.wechat.jsapi.model;
import cn.minsin.core.annotation.NotNull;
import cn.minsin.core.init.AbstractConfig;
import cn.minsin.wechat.jsapi.config.MutilsWechatJsapiProperties;
import cn.minsin.wechat.wechatpay.core.model.PayModel;
public class JsapiOrderPayModel extends PayModel {
/**
*
*/
private static final long serialVersionUID = -2340902354991037737L;
public JsapiOrderPayModel() {
super();
this.setAppid(AbstractConfig.loadConfig(MutilsWechatJsapiProperties.class).getAppid());
this.setTrade_type("JSAPI");
}
@NotNull("用户的openid")
private String openid;
public String getOpenid() {
return openid;
}
public void setOpenid(String openid) {
this.openid = openid;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy