
com.braintreegateway.MerchantGateway 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;
import com.braintreegateway.util.NodeWrapper;
public class MerchantGateway {
private Http http;
private Configuration configuration;
public MerchantGateway(Http http, Configuration configuration) {
this.http = http;
this.configuration = configuration;
}
public Result create(MerchantRequest request) {
NodeWrapper response = http.post("/merchants/create_via_api", request);
return new Result(response, Merchant.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy