Class Capability.Requirements

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

public static class Capability.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<Capability.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 capability enabled for the account. These fields may disable the capability 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 capability enabled. If not collected by current_deadline, these fields appear in past_due as well, and the capability is disabled.
    • getDisabledReason

      public String getDisabledReason()
      If the capability is disabled, this string describes why. Can be requirements.fields_needed, pending.onboarding, pending.review, rejected.fraud, rejected.other, platform_paused, action_required.requested_capabilities, rejected.inactivty, or rejected.unsupported_business.

      rejected.unsupported_business means that the account's business is not supported by the capability. For example, payment methods may restrict the businesses they support in their terms of service, such as in Afterpay Clearpay's terms of service.

      rejected.inactivity means that the capability has been paused for inactivity. This disabled reason currently only applies to the Issuing capability. See Issuing: Managing Inactive Connects for more details.

      If you believe that a rejection is in error, please contact support at https://support.stripe.com/contact/ for assistance.

    • getErrors

      public List<Capability.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 capability on 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<Capability.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 capability enabled for the account. These fields may disable the capability 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 capability enabled. If not collected by current_deadline, these fields appear in past_due as well, and the capability is disabled.
    • setDisabledReason

      public void setDisabledReason(String disabledReason)
      If the capability is disabled, this string describes why. Can be requirements.fields_needed, pending.onboarding, pending.review, rejected.fraud, rejected.other, platform_paused, action_required.requested_capabilities, rejected.inactivty, or rejected.unsupported_business.

      rejected.unsupported_business means that the account's business is not supported by the capability. For example, payment methods may restrict the businesses they support in their terms of service, such as in Afterpay Clearpay's terms of service.

      rejected.inactivity means that the capability has been paused for inactivity. This disabled reason currently only applies to the Issuing capability. See Issuing: Managing Inactive Connects for more details.

      If you believe that a rejection is in error, please contact support at https://support.stripe.com/contact/ for assistance.

    • setErrors

      public void setErrors(List<Capability.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 capability on 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