public class ClientTokenGateway extends Object
BraintreeGateway.clientToken()
to get an instance of this class:
BraintreeGateway gateway = new BraintreeGateway(...); gateway.clientToken().generate(...)
Modifier and Type | Field and Description |
---|---|
private Configuration |
configuration |
private Http |
http |
Constructor and Description |
---|
ClientTokenGateway(Http http,
Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
String |
generate() |
String |
generate(ClientTokenRequest request) |
private void |
verifyOptions(ClientTokenRequest request) |
private Http http
private Configuration configuration
public ClientTokenGateway(Http http, Configuration configuration)
public String generate()
public String generate(ClientTokenRequest request)
private void verifyOptions(ClientTokenRequest request)
Copyright © 2013-2018. All Rights Reserved.