All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.braintreegateway.SepaDirectDebitAccountGateway Maven / Gradle / Ivy

There is a newer version: 3.32.0_1
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy