Class BraintreeGenerateTokenRequest.ClientToken

java.lang.Object
com.broadleafcommerce.braintree.domain.BraintreeGenerateTokenRequest.ClientToken
All Implemented Interfaces:
Serializable
Enclosing class:
BraintreeGenerateTokenRequest

public static class BraintreeGenerateTokenRequest.ClientToken extends Object implements Serializable
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Only applies to the Drop-in UI; not needed when generating client tokens for custom integrations.
    Specify the merchant account ID that you want to use to generate the client token.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Only applies to the Drop-in UI; not needed when generating client tokens for custom integrations.
    Specify the merchant account ID that you want to use to generate the client token.
    void
    setCustomerId(String customerId)
    Only applies to the Drop-in UI; not needed when generating client tokens for custom integrations.
    void
    setMerchantAccountId(String merchantAccountId)
    Specify the merchant account ID that you want to use to generate the client token.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • merchantAccountId

      public String merchantAccountId
      Specify the merchant account ID that you want to use to generate the client token. If no merchant account ID is specified, or if the merchant account ID does not match any of your merchant accounts, we will use your default merchant account.
    • customerId

      public String customerId
      Only applies to the Drop-in UI; not needed when generating client tokens for custom integrations.
  • Constructor Details

    • ClientToken

      public ClientToken()
  • Method Details

    • setMerchantAccountId

      public void setMerchantAccountId(String merchantAccountId)
      Specify the merchant account ID that you want to use to generate the client token. If no merchant account ID is specified, or if the merchant account ID does not match any of your merchant accounts, we will use your default merchant account.
    • setCustomerId

      public void setCustomerId(String customerId)
      Only applies to the Drop-in UI; not needed when generating client tokens for custom integrations.
    • getMerchantAccountId

      public String getMerchantAccountId()
      Specify the merchant account ID that you want to use to generate the client token. If no merchant account ID is specified, or if the merchant account ID does not match any of your merchant accounts, we will use your default merchant account.
    • getCustomerId

      public String getCustomerId()
      Only applies to the Drop-in UI; not needed when generating client tokens for custom integrations.