Package com.stripe.param.v2.core
Class AccountCreateParams.Configuration.Merchant.Branding.Builder
java.lang.Object
com.stripe.param.v2.core.AccountCreateParams.Configuration.Merchant.Branding.Builder
- Enclosing class:
- AccountCreateParams.Configuration.Merchant.Branding
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.ID of a file upload: An icon for the merchant.ID of a file upload: A logo for the merchant that will be used in Checkout instead of the icon and without the merchant's name next to it if provided.setPrimaryColor
(String primaryColor) A CSS hex color value representing the primary branding color for the merchant.setSecondaryColor
(String secondaryColor)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public AccountCreateParams.Configuration.Merchant.Branding.Builder putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeAccountCreateParams.Configuration.Merchant.Branding.extraParams
for the field documentation. -
putAllExtraParam
public AccountCreateParams.Configuration.Merchant.Branding.Builder putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeAccountCreateParams.Configuration.Merchant.Branding.extraParams
for the field documentation. -
setIcon
ID of a file upload: An icon for the merchant. Must be square and at least 128px x 128px. -
setLogo
ID of a file upload: A logo for the merchant that will be used in Checkout instead of the icon and without the merchant's name next to it if provided. Must be at least 128px x 128px. -
setPrimaryColor
public AccountCreateParams.Configuration.Merchant.Branding.Builder setPrimaryColor(String primaryColor) A CSS hex color value representing the primary branding color for the merchant. -
setSecondaryColor
public AccountCreateParams.Configuration.Merchant.Branding.Builder setSecondaryColor(String secondaryColor)
-