All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.braintreegateway.ThreeDSecureLookupResponse Maven / Gradle / Ivy

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy