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

com.braintreegateway.ThreeDSecureLookupInfo Maven / Gradle / Ivy

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy