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

cn.minsin.wechat.jsapi.model.JsapiOrderPayModel Maven / Gradle / Ivy

Go to download

mutils组件中,提供微信jsapi(公众号)+微信支付模块。 官方文档:https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=7_1

There is a newer version: 0.4.0.RELEASE
Show newest version
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;
    @NotNull("用户的openid")
    private String openid;

    public JsapiOrderPayModel() {
        super();
        this.setAppid(AbstractConfig.loadConfig(MutilsWechatJsapiProperties.class).getAppid());
        this.setTrade_type("JSAPI");
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy