public class UsBankAccountGateway extends Object
Modifier and Type | Field and Description |
---|---|
private Configuration |
configuration |
private BraintreeGateway |
gateway |
private Http |
http |
Constructor and Description |
---|
UsBankAccountGateway(BraintreeGateway gateway,
Http http,
Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
UsBankAccount |
find(String token) |
Result<Transaction> |
sale(String token,
TransactionRequest transactionRequest) |
private BraintreeGateway gateway
private Http http
private Configuration configuration
public UsBankAccountGateway(BraintreeGateway gateway, Http http, Configuration configuration)
public UsBankAccount find(String token)
public Result<Transaction> sale(String token, TransactionRequest transactionRequest)
Copyright © 2013-2017. All Rights Reserved.