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
FieldsModifier and TypeFieldDescriptionOnly 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 -
Method Summary
Modifier and TypeMethodDescriptionOnly 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.
-
Field Details
-
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
Only applies to the Drop-in UI; not needed when generating client tokens for custom integrations.
-
-
Constructor Details
-
ClientToken
public ClientToken()
-
-
Method Details
-
setMerchantAccountId
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
Only applies to the Drop-in UI; not needed when generating client tokens for custom integrations. -
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
Only applies to the Drop-in UI; not needed when generating client tokens for custom integrations.
-