Class BraintreeGenerateTokenResponse
java.lang.Object
com.broadleafcommerce.braintree.domain.BraintreeGenerateTokenResponse
- All Implemented Interfaces:
Serializable
This response contains all authorization and configuration information your client needs to
initialize the client SDK to communicate with Braintree More details:
Generate token
Response
description
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetData()
A successful query MUST return a JSON object with a data key whose value is a JSON object with the data you requested.The API response MUST contain an extensions object.void
A successful query MUST return a JSON object with a data key whose value is a JSON object with the data you requested.void
The API response MUST contain an extensions object.
-
Constructor Details
-
BraintreeGenerateTokenResponse
public BraintreeGenerateTokenResponse()
-
-
Method Details
-
setExtensions
The API response MUST contain an extensions object. This object contains at least a requestId entry that is unique to the request and useful to Braintree Support should you need help debugging a request. -
setData
A successful query MUST return a JSON object with a data key whose value is a JSON object with the data you requested. Each key in the data object will exactly match those specified in the query. -
getExtensions
The API response MUST contain an extensions object. This object contains at least a requestId entry that is unique to the request and useful to Braintree Support should you need help debugging a request. -
getData
A successful query MUST return a JSON object with a data key whose value is a JSON object with the data you requested. Each key in the data object will exactly match those specified in the query.
-