
com.braintreegateway.SepaDirectDebitAccountRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of braintree-java Show documentation
Show all versions of braintree-java Show documentation
Java Client Library for Braintree Payments Gateway
package com.braintreegateway;
public class SepaDirectDebitAccountRequest extends Request {
private String token;
private SepaDirectDebitAccountOptionsRequest optionsRequest;
public SepaDirectDebitAccountRequest token(String token) {
this.token = token;
return this;
}
public SepaDirectDebitAccountOptionsRequest options() {
this.optionsRequest = new SepaDirectDebitAccountOptionsRequest(this);
return optionsRequest;
}
@Override
public String toXML() {
return buildRequest("sepaDebitAccount").toXML();
}
protected RequestBuilder buildRequest(String root) {
return new RequestBuilder(root)
.addElement("options", optionsRequest)
.addElement("token", token);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy