
com.braintreegateway.SepaDirectDebitAccountGateway 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;
import com.braintreegateway.util.Http;
public class SepaDirectDebitAccountGateway {
private Http http;
private Configuration configuration;
public SepaDirectDebitAccountGateway(Http http, Configuration configuration) {
this.http = http;
this.configuration = configuration;
}
public SepaDirectDebitAccount find(String token) {
return new SepaDirectDebitAccount(http.get(configuration.getMerchantPath() + "/payment_methods/sepa_debit_account/" + token));
}
public Result delete(String token) {
http.delete(configuration.getMerchantPath() + "/payment_methods/sepa_debit_account/" + token);
return new Result();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy