com.braintreegateway.ThreeDSecureLookupResponse 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 java.util.Map;
public class ThreeDSecureLookupResponse {
private ThreeDSecureLookup lookup;
private PaymentMethodNonce paymentMethod;
private String payloadString;
public ThreeDSecureLookupResponse(Map jsonResponse, String lookupResponse) {
payloadString = lookupResponse;
lookup = new ThreeDSecureLookup((Map) jsonResponse.get("lookup"));
paymentMethod = new PaymentMethodNonce((Map) jsonResponse.get("paymentMethod"));
}
public ThreeDSecureLookup getLookup() {
return lookup;
}
public PaymentMethodNonce getPaymentMethod() {
return paymentMethod;
}
public String getPayloadString() {
return payloadString;
}
}