com.braintreegateway.FacilitatorDetails 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;
import com.braintreegateway.util.NodeWrapper;
public final class FacilitatorDetails {
private final String oauthApplicationClientId;
private final String oauthApplicationName;
private final String sourcePaymentMethodToken;
public FacilitatorDetails(NodeWrapper node) {
oauthApplicationClientId = node.findString("oauth-application-client-id");
oauthApplicationName = node.findString("oauth-application-name");
sourcePaymentMethodToken = node.findString("source-payment-method-token");
}
public String getOauthApplicationClientId() {
return oauthApplicationClientId;
}
public String getOauthApplicationName() {
return oauthApplicationName;
}
public String getSourcePaymentMethodToken() {
return sourcePaymentMethodToken;
}
}