Class Person.Requirements

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Person.Requirements
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Person

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

    • Requirements

      public Requirements()
  • Method Details

    • getAlternatives

      public List<Person.Requirements.Alternative> getAlternatives()
      Fields that are due and can be resolved by providing the corresponding alternative fields instead. Many alternatives can list the same original_fields_due, and any of these alternatives can serve as a pathway for attempting to resolve the fields again. Re-providing original_fields_due also serves as a pathway for attempting to resolve the fields again.
    • getCurrentlyDue

      public List<String> getCurrentlyDue()
      Fields that need to be resolved to keep the person's account enabled. If not resolved by the account's current_deadline, these fields will appear in past_due as well, and the account is disabled.
    • getErrors

      public List<Person.Requirements.Errors> getErrors()
      Details about validation and verification failures for due requirements that must be resolved.
    • getEventuallyDue

      public List<String> getEventuallyDue()
      Fields you must collect when all thresholds are reached. As they become required, they appear in currently_due as well, and the account's current_deadline becomes set.
    • getPastDue

      public List<String> getPastDue()
      Fields that haven't been resolved by current_deadline. These fields need to be resolved to enable the person's account.
    • getPendingVerification

      public List<String> getPendingVerification()
      Fields that are being reviewed, or might become required depending on the results of a review. If the review fails, these fields can move to eventually_due, currently_due, past_due or alternatives. Fields might appear in eventually_due, currently_due, past_due or alternatives and in pending_verification if one verification fails but another is still pending.
    • setAlternatives

      public void setAlternatives(List<Person.Requirements.Alternative> alternatives)
      Fields that are due and can be resolved by providing the corresponding alternative fields instead. Many alternatives can list the same original_fields_due, and any of these alternatives can serve as a pathway for attempting to resolve the fields again. Re-providing original_fields_due also serves as a pathway for attempting to resolve the fields again.
    • setCurrentlyDue

      public void setCurrentlyDue(List<String> currentlyDue)
      Fields that need to be resolved to keep the person's account enabled. If not resolved by the account's current_deadline, these fields will appear in past_due as well, and the account is disabled.
    • setErrors

      public void setErrors(List<Person.Requirements.Errors> errors)
      Details about validation and verification failures for due requirements that must be resolved.
    • setEventuallyDue

      public void setEventuallyDue(List<String> eventuallyDue)
      Fields you must collect when all thresholds are reached. As they become required, they appear in currently_due as well, and the account's current_deadline becomes set.
    • setPastDue

      public void setPastDue(List<String> pastDue)
      Fields that haven't been resolved by current_deadline. These fields need to be resolved to enable the person's account.
    • setPendingVerification

      public void setPendingVerification(List<String> pendingVerification)
      Fields that are being reviewed, or might become required depending on the results of a review. If the review fails, these fields can move to eventually_due, currently_due, past_due or alternatives. Fields might appear in eventually_due, currently_due, past_due or alternatives and in pending_verification if one verification fails but another is still pending.
    • 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