com.braintreegateway.UsBankAccountVerificationConfirmRequest 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 java.util.List;
public class UsBankAccountVerificationConfirmRequest extends Request {
private List depositAmounts;
public UsBankAccountVerificationConfirmRequest() {
}
public UsBankAccountVerificationConfirmRequest depositAmounts(List depositAmounts) {
this.depositAmounts = depositAmounts;
return this;
}
@Override
public String toXML() {
RequestBuilder builder = new RequestBuilder("usBankAccountVerification");
if (!depositAmounts.isEmpty()) {
builder.addElement("depositAmounts", this.depositAmounts);
}
return builder.toXML();
}
}