com.braintreegateway.TransactionDetails 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.
The newest version!
package com.braintreegateway;
import com.braintreegateway.util.NodeWrapper;
import java.math.BigDecimal;
public final class TransactionDetails {
private final String id;
private final BigDecimal amount;
public TransactionDetails(NodeWrapper node) {
id = node.findString("id");
amount = node.findBigDecimal("amount");
}
public String getId() {
return id;
}
public BigDecimal getAmount() {
return amount;
}
}