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 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 application
      tenantId - the id for the current tenant
      Returns:
      BraintreeGenerateTokenResponse