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

com.braintreegateway.ThreeDSecureAuthenticateInfo Maven / Gradle / Ivy

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy