com.braintreegateway.LocalPaymentFunded 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.
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;
}
}