Class Secret.Scope

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.apps.Secret.Scope
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Secret

public static class Secret.Scope extends StripeObject
  • Constructor Details

    • Scope

      public Scope()
  • Method Details

    • getType

      public String getType()
      The secret scope type.

      One of account, or user.

    • getUser

      public String getUser()
      The user ID, if type is set to "user".
    • setType

      public void setType(String type)
      The secret scope type.

      One of account, or user.

    • setUser

      public void setUser(String user)
      The user ID, if type is set to "user".
    • 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