Class Session.BrandingSettings.Icon

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

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

    • Icon

      public Icon()
  • Method Details

    • getFile

      public String getFile()
      The ID of a File upload representing the icon. Purpose must be business_icon. Required if type is file and disallowed otherwise.
    • getType

      public String getType()
      The type of image for the icon. Must be one of file or url.
    • getUrl

      public String getUrl()
      The URL of the image. Present when type is url.
    • setFile

      public void setFile(String file)
      The ID of a File upload representing the icon. Purpose must be business_icon. Required if type is file and disallowed otherwise.
    • setType

      public void setType(String type)
      The type of image for the icon. Must be one of file or url.
    • setUrl

      public void setUrl(String url)
      The URL of the image. Present when type is url.
    • 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