Package com.stripe.param.v2.core
Class AccountUpdateParams.Configuration.Merchant.Branding.Builder
java.lang.Object
com.stripe.param.v2.core.AccountUpdateParams.Configuration.Merchant.Branding.Builder
- Enclosing class:
- AccountUpdateParams.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.setIcon
(EmptyParam icon) ID of a file upload: An icon for the merchant.ID of a file upload: An icon for the merchant.setLogo
(EmptyParam logo) 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.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
(EmptyParam primaryColor) A CSS hex color value representing the primary branding color for the merchant.setPrimaryColor
(String primaryColor) A CSS hex color value representing the primary branding color for the merchant.setSecondaryColor
(EmptyParam secondaryColor) setSecondaryColor
(String secondaryColor) A CSS hex color value representing the secondary branding color for the merchant.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public AccountUpdateParams.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. SeeAccountUpdateParams.Configuration.Merchant.Branding.extraParams
for the field documentation. -
putAllExtraParam
public AccountUpdateParams.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. SeeAccountUpdateParams.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. -
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. -
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 AccountUpdateParams.Configuration.Merchant.Branding.Builder setPrimaryColor(String primaryColor) A CSS hex color value representing the primary branding color for the merchant. -
setPrimaryColor
public AccountUpdateParams.Configuration.Merchant.Branding.Builder setPrimaryColor(EmptyParam primaryColor) A CSS hex color value representing the primary branding color for the merchant. -
setSecondaryColor
public AccountUpdateParams.Configuration.Merchant.Branding.Builder setSecondaryColor(String secondaryColor) A CSS hex color value representing the secondary branding color for the merchant. -
setSecondaryColor
public AccountUpdateParams.Configuration.Merchant.Branding.Builder setSecondaryColor(EmptyParam secondaryColor)
-