com.braintreegateway.ThreeDSecureAuthenticateInfo 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.
The newest version!
package com.braintreegateway;
import com.braintreegateway.util.NodeWrapper;
import java.util.Map;
// NEXT_MAJOR_VERSION rename this to ThreeDSecureAuthenticationInfo
public class ThreeDSecureAuthenticateInfo {
private String transStatus;
private String transStatusReason;
public ThreeDSecureAuthenticateInfo(NodeWrapper node) {
transStatus = node.findString("trans-status");
transStatusReason = node.findString("trans-status-reason");
}
public ThreeDSecureAuthenticateInfo(Map map) {
transStatus = (String) map.get("transStatus");
transStatusReason = (String) map.get("transStatusReason");
}
public String getTransStatus() {
return transStatus;
}
public String getTransStatusReason() {
return transStatusReason;
}
}