Package com.stripe.model
Class Capability.FutureRequirements
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Capability.FutureRequirements
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Capability
-
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 on whichfuture_requirements
merges with the mainrequirements
hash andfuture_requirements
becomes empty.Fields that need to be collected to keep the capability enabled.This is typed as an enum for consistency withrequirements.disabled_reason
, but it safe to assumefuture_requirements.disabled_reason
is null because fields infuture_requirements
will never disable the account.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 byrequirements.current_deadline
.Fields that might become required depending on the results of verification or review.int
hashCode()
void
setAlternatives
(List<Capability.FutureRequirements.Alternative> alternatives) Fields that are due and can be satisfied by providing the corresponding alternative fields instead.void
setCurrentDeadline
(Long currentDeadline) Date on whichfuture_requirements
merges with the mainrequirements
hash andfuture_requirements
becomes empty.void
setCurrentlyDue
(List<String> currentlyDue) Fields that need to be collected to keep the capability enabled.void
setDisabledReason
(String disabledReason) This is typed as an enum for consistency withrequirements.disabled_reason
, but it safe to assumefuture_requirements.disabled_reason
is null because fields infuture_requirements
will never disable the account.void
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 byrequirements.current_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
-
FutureRequirements
public FutureRequirements()
-
-
Method Details
-
getAlternatives
Fields that are due and can be satisfied by providing the corresponding alternative fields instead. -
getCurrentDeadline
Date on whichfuture_requirements
merges with the mainrequirements
hash andfuture_requirements
becomes empty. After the transition,currently_due
requirements may immediately becomepast_due
, but the account may also be given a grace period depending on the capability's enablement state prior to transitioning. -
getCurrentlyDue
Fields that need to be collected to keep the capability enabled. If not collected byfuture_requirements[current_deadline]
, these fields will transition to the mainrequirements
hash. -
getDisabledReason
This is typed as an enum for consistency withrequirements.disabled_reason
, but it safe to assumefuture_requirements.disabled_reason
is null because fields infuture_requirements
will never disable the account.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. -
getPastDue
Fields that weren't collected byrequirements.current_deadline
. These fields need to be collected to enable the capability on the account. New fields will never appear here;future_requirements.past_due
will always be a subset ofrequirements.past_due
. -
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
orcurrently_due
. Fields might appear ineventually_due
orcurrently_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 on whichfuture_requirements
merges with the mainrequirements
hash andfuture_requirements
becomes empty. After the transition,currently_due
requirements may immediately becomepast_due
, but the account may also be given a grace period depending on the capability's enablement state prior to transitioning. -
setCurrentlyDue
Fields that need to be collected to keep the capability enabled. If not collected byfuture_requirements[current_deadline]
, these fields will transition to the mainrequirements
hash. -
setDisabledReason
This is typed as an enum for consistency withrequirements.disabled_reason
, but it safe to assumefuture_requirements.disabled_reason
is null because fields infuture_requirements
will never disable the account.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. -
setPastDue
Fields that weren't collected byrequirements.current_deadline
. These fields need to be collected to enable the capability on the account. New fields will never appear here;future_requirements.past_due
will always be a subset ofrequirements.past_due
. -
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
orcurrently_due
. Fields might appear ineventually_due
orcurrently_due
and inpending_verification
if verification fails but another verification is still pending. -
equals
-
canEqual
-
hashCode
public int hashCode()
-