com.braintreegateway.OAuthRevokeAccessTokenRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.servicemix.bundles.braintree-java
Show all versions of org.apache.servicemix.bundles.braintree-java
This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.
package com.braintreegateway;
public class OAuthRevokeAccessTokenRequest extends Request {
public String token;
public OAuthRevokeAccessTokenRequest token(String token) {
this.token = token;
return this;
}
@Override
public String toXML() {
return new RequestBuilder("credentials")
.addElement("token", token)
.toXML();
}
}