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

com.firefly.wechat.model.thirdparty.auth.ThirdPartyAccessTokenRequest Maven / Gradle / Ivy

package com.firefly.wechat.model.thirdparty.auth;

import java.io.Serializable;

/**
 * @author Pengtao Qiu
 */
public class ThirdPartyAccessTokenRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    private String appid;
    private String code;
    private String grant_type = "authorization_code";
    private String component_appid;
    private String component_access_token;

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getGrant_type() {
        return grant_type;
    }

    public void setGrant_type(String grant_type) {
        this.grant_type = grant_type;
    }

    public String getComponent_appid() {
        return component_appid;
    }

    public void setComponent_appid(String component_appid) {
        this.component_appid = component_appid;
    }

    public String getComponent_access_token() {
        return component_access_token;
    }

    public void setComponent_access_token(String component_access_token) {
        this.component_access_token = component_access_token;
    }

    @Override
    public String toString() {
        return "ThirdPartyAccessTokenRequest{" +
                "appid='" + appid + '\'' +
                ", code='" + code + '\'' +
                ", grant_type='" + grant_type + '\'' +
                ", component_appid='" + component_appid + '\'' +
                ", component_access_token='" + component_access_token + '\'' +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy