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

com.braintreegateway.LocalPaymentFunded Maven / Gradle / Ivy

There is a newer version: 3.32.0_1
Show newest version
package com.braintreegateway;

import com.braintreegateway.util.NodeWrapper;

public class LocalPaymentFunded {
    private String paymentId;
    private String paymentContextId;
    private Transaction transaction;

    public LocalPaymentFunded(NodeWrapper node) {
        this.paymentId = node.findString("payment-id");
        this.paymentContextId = node.findString("payment-context-id");

        NodeWrapper transactionNode = node.findFirst("transaction");
        this.transaction = new Transaction(transactionNode);
    }

    public String getPaymentId() {
        return paymentId;
    }

    public Transaction getTransaction() {
        return transaction;
    }

    public String getPaymentContextId() {
        return paymentContextId;
    }
 }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy