Class Account.Requirements

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

public static class Account.Requirements extends StripeObject
The specific user onboarding requirement field (in the requirements hash) that needs to be resolved.
  • Constructor Details

    • Requirements

      public Requirements()
  • Method Details

    • getAlternatives

      public List<Account.Requirements.Alternative> getAlternatives()
      Fields that are due and can be satisfied by providing the corresponding alternative fields instead.
    • getCurrentDeadline

      public Long getCurrentDeadline()
      Date by which the fields in currently_due must be collected to keep the account enabled. These fields may disable the account sooner if the next threshold is reached before they are collected.
    • getCurrentlyDue

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

      public String getDisabledReason()
      If the account is disabled, this string describes why. Learn more about handling verification issues. Can be action_required.requested_capabilities, requirements.past_due, requirements.pending_verification, listed, platform_paused, rejected.fraud, rejected.incomplete_verification, rejected.listed, rejected.other, rejected.terms_of_service, under_review, or other.
    • getErrors

      public List<Account.Requirements.Errors> getErrors()
      Fields that are currently_due and need to be collected again because validation or verification failed.
    • getEventuallyDue

      public List<String> getEventuallyDue()
      Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in currently_due as well, and current_deadline becomes set.
    • getPastDue

      public List<String> getPastDue()
      Fields that weren't collected by current_deadline. These fields need to be collected to enable the account.
    • getPendingVerification

      public List<String> getPendingVerification()
      Fields that might become required depending on the results of verification or review. It's an empty array unless an asynchronous verification is pending. If verification fails, these fields move to eventually_due, currently_due, or past_due. Fields might appear in eventually_due, currently_due, or past_due and in pending_verification if verification fails but another verification is still pending.
    • setAlternatives

      public void setAlternatives(List<Account.Requirements.Alternative> alternatives)
      Fields that are due and can be satisfied by providing the corresponding alternative fields instead.
    • setCurrentDeadline

      public void setCurrentDeadline(Long currentDeadline)
      Date by which the fields in currently_due must be collected to keep the account enabled. These fields may disable the account sooner if the next threshold is reached before they are collected.
    • setCurrentlyDue

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

      public void setDisabledReason(String disabledReason)
      If the account is disabled, this string describes why. Learn more about handling verification issues. Can be action_required.requested_capabilities, requirements.past_due, requirements.pending_verification, listed, platform_paused, rejected.fraud, rejected.incomplete_verification, rejected.listed, rejected.other, rejected.terms_of_service, under_review, or other.
    • setErrors

      public void setErrors(List<Account.Requirements.Errors> errors)
      Fields that are currently_due and need to be collected again because validation or verification failed.
    • setEventuallyDue

      public void setEventuallyDue(List<String> eventuallyDue)
      Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in currently_due as well, and current_deadline becomes set.
    • setPastDue

      public void setPastDue(List<String> pastDue)
      Fields that weren't collected by current_deadline. These fields need to be collected to enable the account.
    • setPendingVerification

      public void setPendingVerification(List<String> pendingVerification)
      Fields that might become required depending on the results of verification or review. It's an empty array unless an asynchronous verification is pending. If verification fails, these fields move to eventually_due, currently_due, or past_due. Fields might appear in eventually_due, currently_due, or past_due and in pending_verification if verification fails but another verification 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