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
For more details about Requirements, please refer to the API Reference.
  • Constructor Details

    • Requirements

      public Requirements()
  • Method Details

    • getAlternatives

      public List<Account.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.
    • 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 resolved to keep the account enabled. If not resolved by current_deadline, these fields will appear in past_due as well, and the account is disabled.
    • getDisabledReason

      public String getDisabledReason()
      If the account is disabled, this enum describes why. Learn more about handling verification issues.

      One of action_required.requested_capabilities, listed, other, platform_paused, rejected.fraud, rejected.incomplete_verification, rejected.listed, rejected.other, rejected.platform_fraud, rejected.platform_other, rejected.platform_terms_of_service, rejected.terms_of_service, requirements.past_due, requirements.pending_verification, or under_review.

    • getErrors

      public List<Account.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 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 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<Account.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.
    • 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 resolved to keep the account enabled. If not resolved by current_deadline, these fields will appear in past_due as well, and the account is disabled.
    • setDisabledReason

      public void setDisabledReason(String disabledReason)
      If the account is disabled, this enum describes why. Learn more about handling verification issues.

      One of action_required.requested_capabilities, listed, other, platform_paused, rejected.fraud, rejected.incomplete_verification, rejected.listed, rejected.other, rejected.platform_fraud, rejected.platform_other, rejected.platform_terms_of_service, rejected.terms_of_service, requirements.past_due, requirements.pending_verification, or under_review.

    • setErrors

      public void setErrors(List<Account.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 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 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