Package com.stripe.param
Class AccountUpdateParams.Settings.Branding.Builder
java.lang.Object
com.stripe.param.AccountUpdateParams.Settings.Branding.Builder
- Enclosing class:
- AccountUpdateParams.Settings.Branding
-
Constructor Summary
-
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 account.(ID of a file upload) An icon for the account.setLogo
(EmptyParam logo) (ID of a file upload) A logo for the account that will be used in Checkout instead of the icon and without the account's name next to it if provided.(ID of a file upload) A logo for the account that will be used in Checkout instead of the icon and without the account's name next to it if provided.setPrimaryColor
(EmptyParam primaryColor) A CSS hex color value representing the primary branding color for this account.setPrimaryColor
(String primaryColor) A CSS hex color value representing the primary branding color for this account.setSecondaryColor
(EmptyParam secondaryColor) setSecondaryColor
(String secondaryColor) A CSS hex color value representing the secondary branding color for this account.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
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.Settings.Branding.extraParams
for the field documentation. -
putAllExtraParam
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.Settings.Branding.extraParams
for the field documentation. -
setIcon
(ID of a file upload) An icon for the account. Must be square and at least 128px x 128px. -
setIcon
(ID of a file upload) An icon for the account. Must be square and at least 128px x 128px. -
setLogo
(ID of a file upload) A logo for the account that will be used in Checkout instead of the icon and without the account's name next to it if provided. Must be at least 128px x 128px. -
setLogo
(ID of a file upload) A logo for the account that will be used in Checkout instead of the icon and without the account's name next to it if provided. Must be at least 128px x 128px. -
setPrimaryColor
A CSS hex color value representing the primary branding color for this account. -
setPrimaryColor
A CSS hex color value representing the primary branding color for this account. -
setSecondaryColor
A CSS hex color value representing the secondary branding color for this account. -
setSecondaryColor
-