Package com.stripe.model
Class Capability.Requirements
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Capability.Requirements
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Capability
The specific user onboarding requirement field (in the requirements hash) that needs to be
resolved.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Fields that are due and can be satisfied by providing the corresponding alternative fields instead.Date by which the fields incurrently_due
must be collected to keep the capability enabled for the account.Fields that need to be collected to keep the capability enabled.Description of why the capability is disabled.Fields that arecurrently_due
and need to be collected again because validation or verification failed.Fields that need to be collected assuming all volume thresholds are reached.Fields that weren't collected bycurrent_deadline
.Fields that might become required depending on the results of verification or review.int
hashCode()
void
setAlternatives
(List<Capability.Requirements.Alternative> alternatives) Fields that are due and can be satisfied by providing the corresponding alternative fields instead.void
setCurrentDeadline
(Long currentDeadline) Date by which the fields incurrently_due
must be collected to keep the capability enabled for the account.void
setCurrentlyDue
(List<String> currentlyDue) Fields that need to be collected to keep the capability enabled.void
setDisabledReason
(String disabledReason) Description of why the capability is disabled.void
setErrors
(List<Capability.Requirements.Errors> errors) Fields that arecurrently_due
and need to be collected again because validation or verification failed.void
setEventuallyDue
(List<String> eventuallyDue) Fields that need to be collected assuming all volume thresholds are reached.void
setPastDue
(List<String> pastDue) Fields that weren't collected bycurrent_deadline
.void
setPendingVerification
(List<String> pendingVerification) Fields that might become required depending on the results of verification or review.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Requirements
public Requirements()
-
-
Method Details
-
getAlternatives
Fields that are due and can be satisfied by providing the corresponding alternative fields instead. -
getCurrentDeadline
Date by which the fields incurrently_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
Fields that need to be collected to keep the capability enabled. If not collected bycurrent_deadline
, these fields appear inpast_due
as well, and the capability is disabled. -
getDisabledReason
Description of why the capability is disabled. Learn more about handling verification issues.One of
other
,paused.inactivity
,pending.onboarding
,pending.review
,platform_disabled
,platform_paused
,rejected.inactivity
,rejected.other
,rejected.unsupported_business
, orrequirements.fields_needed
. -
getErrors
Fields that arecurrently_due
and need to be collected again because validation or verification failed. -
getEventuallyDue
Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear incurrently_due
as well, andcurrent_deadline
becomes set. -
getPastDue
Fields that weren't collected bycurrent_deadline
. These fields need to be collected to enable the capability on the account. -
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 toeventually_due
,currently_due
, orpast_due
. Fields might appear ineventually_due
,currently_due
, orpast_due
and inpending_verification
if verification fails but another verification is still pending. -
setAlternatives
Fields that are due and can be satisfied by providing the corresponding alternative fields instead. -
setCurrentDeadline
Date by which the fields incurrently_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
Fields that need to be collected to keep the capability enabled. If not collected bycurrent_deadline
, these fields appear inpast_due
as well, and the capability is disabled. -
setDisabledReason
Description of why the capability is disabled. Learn more about handling verification issues.One of
other
,paused.inactivity
,pending.onboarding
,pending.review
,platform_disabled
,platform_paused
,rejected.inactivity
,rejected.other
,rejected.unsupported_business
, orrequirements.fields_needed
. -
setErrors
Fields that arecurrently_due
and need to be collected again because validation or verification failed. -
setEventuallyDue
Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear incurrently_due
as well, andcurrent_deadline
becomes set. -
setPastDue
Fields that weren't collected bycurrent_deadline
. These fields need to be collected to enable the capability on the account. -
setPendingVerification
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 toeventually_due
,currently_due
, orpast_due
. Fields might appear ineventually_due
,currently_due
, orpast_due
and inpending_verification
if verification fails but another verification is still pending. -
equals
-
canEqual
-
hashCode
public int hashCode()
-