com.notronix.etsy.impl.authentication.EtsyOAuthCredentials Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of JEtsy Show documentation
Show all versions of JEtsy Show documentation
A Java implementation of a Java version of the Etsy API
package com.notronix.etsy.impl.authentication;
import com.google.api.client.util.Key;
import com.notronix.etsy.api.authentication.Credentials;
public class EtsyOAuthCredentials implements Credentials
{
@Key("oauth_token")
public String token;
@Key("oauth_token_secret")
public String tokenSecret;
@Key("oauth_callback_confirmed")
public Boolean callbackConfirmed;
@Key("login_url")
public String loginUrl;
@Override
public String getToken() {
return token;
}
public void setToken(String token) {
this.token = token;
}
@Override
public String getTokenSecret() {
return tokenSecret;
}
public void setTokenSecret(String tokenSecret) {
this.tokenSecret = tokenSecret;
}
@Override
public Boolean getCallbackConfirmed() {
return callbackConfirmed;
}
public void setCallbackConfirmed(Boolean callbackConfirmed) {
this.callbackConfirmed = callbackConfirmed;
}
@Override
public String getLoginUrl() {
return loginUrl;
}
public void setLoginUrl(String loginUrl) {
this.loginUrl = loginUrl;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy