Class Session.BrandingSettings

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.checkout.Session.BrandingSettings
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Session

public static class Session.BrandingSettings extends StripeObject
For more details about BrandingSettings, please refer to the API Reference.
  • Constructor Details

    • BrandingSettings

      public BrandingSettings()
  • Method Details

    • getBackgroundColor

      public String getBackgroundColor()
      A hex color value starting with # representing the background color for the Checkout Session.
    • getBorderStyle

      public String getBorderStyle()
      The border style for the Checkout Session. Must be one of rounded, rectangular, or pill.
    • getButtonColor

      public String getButtonColor()
      A hex color value starting with # representing the button color for the Checkout Session.
    • getDisplayName

      public String getDisplayName()
      The display name shown on the Checkout Session.
    • getFontFamily

      public String 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 both logo and icon.
    • getLogo

      The logo for the Checkout Session. You cannot set both logo and icon.
    • setBackgroundColor

      public void setBackgroundColor(String backgroundColor)
      A hex color value starting with # representing the background color for the Checkout Session.
    • setBorderStyle

      public void setBorderStyle(String borderStyle)
      The border style for the Checkout Session. Must be one of rounded, rectangular, or pill.
    • setButtonColor

      public void setButtonColor(String buttonColor)
      A hex color value starting with # representing the button color for the Checkout Session.
    • setDisplayName

      public void setDisplayName(String displayName)
      The display name shown on the Checkout Session.
    • setFontFamily

      public void setFontFamily(String fontFamily)
      The font family for the Checkout Session. Must be one of the supported font families.
    • setIcon

      public void setIcon(Session.BrandingSettings.Icon icon)
      The icon for the Checkout Session. You cannot set both logo and icon.
    • setLogo

      public void setLogo(Session.BrandingSettings.Logo logo)
      The logo for the Checkout Session. You cannot set both logo and icon.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object