Class Account.FutureRequirements.Entry.Reference

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.core.Account.FutureRequirements.Entry.Reference
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Account.FutureRequirements.Entry

public static class Account.FutureRequirements.Entry.Reference extends StripeObject
A reference to the location of the requirement.
  • Constructor Details

    • Reference

      public Reference()
  • Method Details

    • getInquiry

      public String getInquiry()
      If inquiry is the type, the inquiry token.
    • getResource

      public String getResource()
      If resource is the type, the resource token.
    • getType

      public String getType()
      The type of the reference. If the type is "inquiry", the inquiry token can be found in the "inquiry" field. Otherwise the type is an API resource, the token for which can be found in the "resource" field.

      One of inquiry, payment_method, or person.

    • setInquiry

      public void setInquiry(String inquiry)
      If inquiry is the type, the inquiry token.
    • setResource

      public void setResource(String resource)
      If resource is the type, the resource token.
    • setType

      public void setType(String type)
      The type of the reference. If the type is "inquiry", the inquiry token can be found in the "inquiry" field. Otherwise the type is an API resource, the token for which can be found in the "resource" field.

      One of inquiry, payment_method, or person.

    • 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