Package com.stripe.model.checkout
Class Session.BrandingSettings
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.checkout.Session.BrandingSettings
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Session
For more details about BrandingSettings, please refer to the API Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about Icon, please refer to the API Reference.static class
For more details about Logo, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
A hex color value starting with#
representing the background color for the Checkout Session.The border style for the Checkout Session.A hex color value starting with#
representing the button color for the Checkout Session.The display name shown on the Checkout Session.The font family for the Checkout Session.getIcon()
The icon for the Checkout Session.getLogo()
The logo for the Checkout Session.int
hashCode()
void
setBackgroundColor
(String backgroundColor) A hex color value starting with#
representing the background color for the Checkout Session.void
setBorderStyle
(String borderStyle) The border style for the Checkout Session.void
setButtonColor
(String buttonColor) A hex color value starting with#
representing the button color for the Checkout Session.void
setDisplayName
(String displayName) The display name shown on the Checkout Session.void
setFontFamily
(String fontFamily) The font family for the Checkout Session.void
The icon for the Checkout Session.void
The logo for the Checkout Session.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
BrandingSettings
public BrandingSettings()
-
-
Method Details
-
getBackgroundColor
A hex color value starting with#
representing the background color for the Checkout Session. -
getBorderStyle
The border style for the Checkout Session. Must be one ofrounded
,rectangular
, orpill
. -
getButtonColor
A hex color value starting with#
representing the button color for the Checkout Session. -
getDisplayName
The display name shown on the Checkout Session. -
getFontFamily
The font family for the Checkout Session. Must be one of the supported font families. -
getIcon
The icon for the Checkout Session. You cannot set bothlogo
andicon
. -
getLogo
The logo for the Checkout Session. You cannot set bothlogo
andicon
. -
setBackgroundColor
A hex color value starting with#
representing the background color for the Checkout Session. -
setBorderStyle
The border style for the Checkout Session. Must be one ofrounded
,rectangular
, orpill
. -
setButtonColor
A hex color value starting with#
representing the button color for the Checkout Session. -
setDisplayName
The display name shown on the Checkout Session. -
setFontFamily
The font family for the Checkout Session. Must be one of the supported font families. -
setIcon
The icon for the Checkout Session. You cannot set bothlogo
andicon
. -
setLogo
The logo for the Checkout Session. You cannot set bothlogo
andicon
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-