com.braintreegateway.ThreeDSecureLookupInfo 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;
public class ThreeDSecureLookupInfo {
private String transStatus;
private String transStatusReason;
public ThreeDSecureLookupInfo(NodeWrapper node) {
transStatus = node.findString("trans-status");
transStatusReason = node.findString("trans-status-reason");
}
public ThreeDSecureLookupInfo(Map map) {
transStatus = (String) map.get("transStatus");
transStatusReason = (String) map.get("transStatusReason");
}
public String getTransStatus() {
return transStatus;
}
public String getTransStatusReason() {
return transStatusReason;
}
}