Interface BraintreeClientTokenService
- All Known Implementing Classes:
DefaultBraintreeClientTokenService
public interface BraintreeClientTokenService
This service is responsible for making call to the Braintree get-token endpoint through
BraintreeProvider-
Method Summary
Modifier and TypeMethodDescriptiongetClientToken(String customerId, String applicationId, String tenantId) This method is responsible for gathering a Braintree client token.
-
Method Details
-
getClientToken
BraintreeGenerateTokenResponse getClientToken(@Nullable String customerId, @Nullable String applicationId, @Nullable String tenantId) This method is responsible for gathering a Braintree client token.- Parameters:
customerId- Id of the authenticated customer.applicationId- the id for the current applicationtenantId- the id for the current tenant- Returns:
- BraintreeGenerateTokenResponse
-