Package com.stripe.param
Class AccountUpdateParams.Settings.Branding.Builder
- java.lang.Object
-
- com.stripe.param.AccountUpdateParams.Settings.Branding.Builder
-
- Enclosing class:
- AccountUpdateParams.Settings.Branding
public static class AccountUpdateParams.Settings.Branding.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountUpdateParams.Settings.Branding
build()
Finalize and obtain parameter instance from this builder.AccountUpdateParams.Settings.Branding.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.AccountUpdateParams.Settings.Branding.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.AccountUpdateParams.Settings.Branding.Builder
setIcon(EmptyParam icon)
(ID of a file upload) An icon for the account.AccountUpdateParams.Settings.Branding.Builder
setIcon(java.lang.String icon)
(ID of a file upload) An icon for the account.AccountUpdateParams.Settings.Branding.Builder
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.AccountUpdateParams.Settings.Branding.Builder
setLogo(java.lang.String 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.AccountUpdateParams.Settings.Branding.Builder
setPrimaryColor(EmptyParam primaryColor)
A CSS hex color value representing the primary branding color for this account.AccountUpdateParams.Settings.Branding.Builder
setPrimaryColor(java.lang.String primaryColor)
A CSS hex color value representing the primary branding color for this account.AccountUpdateParams.Settings.Branding.Builder
setSecondaryColor(EmptyParam secondaryColor)
AccountUpdateParams.Settings.Branding.Builder
setSecondaryColor(java.lang.String secondaryColor)
A CSS hex color value representing the secondary branding color for this account.
-
-
-
Method Detail
-
build
public AccountUpdateParams.Settings.Branding build()
Finalize and obtain parameter instance from this builder.
-
putExtraParam
public AccountUpdateParams.Settings.Branding.Builder putExtraParam(java.lang.String key, java.lang.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.Settings.Branding.extraParams
for the field documentation.
-
putAllExtraParam
public AccountUpdateParams.Settings.Branding.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.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.Settings.Branding.extraParams
for the field documentation.
-
setIcon
public AccountUpdateParams.Settings.Branding.Builder setIcon(java.lang.String icon)
(ID of a file upload) An icon for the account. Must be square and at least 128px x 128px.
-
setIcon
public AccountUpdateParams.Settings.Branding.Builder setIcon(EmptyParam icon)
(ID of a file upload) An icon for the account. Must be square and at least 128px x 128px.
-
setLogo
public AccountUpdateParams.Settings.Branding.Builder setLogo(java.lang.String 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. Must be at least 128px x 128px.
-
setLogo
public AccountUpdateParams.Settings.Branding.Builder 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. Must be at least 128px x 128px.
-
setPrimaryColor
public AccountUpdateParams.Settings.Branding.Builder setPrimaryColor(java.lang.String primaryColor)
A CSS hex color value representing the primary branding color for this account.
-
setPrimaryColor
public AccountUpdateParams.Settings.Branding.Builder setPrimaryColor(EmptyParam primaryColor)
A CSS hex color value representing the primary branding color for this account.
-
setSecondaryColor
public AccountUpdateParams.Settings.Branding.Builder setSecondaryColor(java.lang.String secondaryColor)
A CSS hex color value representing the secondary branding color for this account.
-
setSecondaryColor
public AccountUpdateParams.Settings.Branding.Builder setSecondaryColor(EmptyParam secondaryColor)
-
-