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
For more details about FutureRequirements, please refer to the API Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about Alternative, please refer to the API Reference.static classFor more details about Errors, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanFields that are due and can be resolved by providing the corresponding alternative fields instead.Date on whichfuture_requirementsbecomes the mainrequirementshash andfuture_requirementsbecomes empty.Fields that need to be resolved to keep the capability enabled.This is typed as an enum for consistency withrequirements.disabled_reason, but it safe to assumefuture_requirements.disabled_reasonis null because fields infuture_requirementswill never disable the account.Details about validation and verification failures forduerequirements that must be resolved.Fields you must collect when all thresholds are reached.Fields that haven't been resolved byrequirements.current_deadline.Fields that are being reviewed, or might become required depending on the results of a review.inthashCode()voidsetAlternatives(List<Capability.FutureRequirements.Alternative> alternatives) Fields that are due and can be resolved by providing the corresponding alternative fields instead.voidsetCurrentDeadline(Long currentDeadline) Date on whichfuture_requirementsbecomes the mainrequirementshash andfuture_requirementsbecomes empty.voidsetCurrentlyDue(List<String> currentlyDue) Fields that need to be resolved to keep the capability enabled.voidsetDisabledReason(String disabledReason) This is typed as an enum for consistency withrequirements.disabled_reason, but it safe to assumefuture_requirements.disabled_reasonis null because fields infuture_requirementswill never disable the account.voidDetails about validation and verification failures forduerequirements that must be resolved.voidsetEventuallyDue(List<String> eventuallyDue) Fields you must collect when all thresholds are reached.voidsetPastDue(List<String> pastDue) Fields that haven't been resolved byrequirements.current_deadline.voidsetPendingVerification(List<String> pendingVerification) Fields that are being reviewed, or might become required depending on the results of a review.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
FutureRequirements
public FutureRequirements()
-
-
Method Details
-
getAlternatives
Fields that are due and can be resolved by providing the corresponding alternative fields instead. Multiple alternatives can reference the sameoriginal_fields_due. When this happens, any of these alternatives can serve as a pathway for attempting to resolve the fields. Additionally, providingoriginal_fields_dueagain also serves as a pathway for attempting to resolve the fields. -
getCurrentDeadline
Date on whichfuture_requirementsbecomes the mainrequirementshash andfuture_requirementsbecomes empty. After the transition,currently_duerequirements 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 resolved to keep the capability enabled. If not resolved byfuture_requirements[current_deadline], these fields will transition to the mainrequirementshash. -
getDisabledReason
This is typed as an enum for consistency withrequirements.disabled_reason, but it safe to assumefuture_requirements.disabled_reasonis null because fields infuture_requirementswill 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
Details about validation and verification failures forduerequirements that must be resolved. -
getEventuallyDue
Fields you must collect when all thresholds are reached. As they become required, they appear incurrently_dueas well. -
getPastDue
Fields that haven't been resolved byrequirements.current_deadline. These fields need to be resolved to enable the capability on the account.future_requirements.past_dueis a subset ofrequirements.past_due. -
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 toeventually_due,currently_due,past_dueoralternatives. Fields might appear ineventually_due,currently_due,past_dueoralternativesand inpending_verificationif one verification fails but another is still pending. -
setAlternatives
Fields that are due and can be resolved by providing the corresponding alternative fields instead. Multiple alternatives can reference the sameoriginal_fields_due. When this happens, any of these alternatives can serve as a pathway for attempting to resolve the fields. Additionally, providingoriginal_fields_dueagain also serves as a pathway for attempting to resolve the fields. -
setCurrentDeadline
Date on whichfuture_requirementsbecomes the mainrequirementshash andfuture_requirementsbecomes empty. After the transition,currently_duerequirements 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 resolved to keep the capability enabled. If not resolved byfuture_requirements[current_deadline], these fields will transition to the mainrequirementshash. -
setDisabledReason
This is typed as an enum for consistency withrequirements.disabled_reason, but it safe to assumefuture_requirements.disabled_reasonis null because fields infuture_requirementswill 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
Details about validation and verification failures forduerequirements that must be resolved. -
setEventuallyDue
Fields you must collect when all thresholds are reached. As they become required, they appear incurrently_dueas well. -
setPastDue
Fields that haven't been resolved byrequirements.current_deadline. These fields need to be resolved to enable the capability on the account.future_requirements.past_dueis a subset ofrequirements.past_due. -
setPendingVerification
Fields that are being reviewed, or might become required depending on the results of a review. If the review fails, these fields can move toeventually_due,currently_due,past_dueoralternatives. Fields might appear ineventually_due,currently_due,past_dueoralternativesand inpending_verificationif one verification fails but another is still pending. -
equals
-
canEqual
-
hashCode
public int hashCode()
-