Package com.stripe.model
Class Account.FutureRequirements
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Account.FutureRequirements
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Account
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 satisfied by providing the corresponding alternative fields instead.Date on whichfuture_requirementsbecomes the mainrequirementshash andfuture_requirementsbecomes empty.Fields that need to be collected to keep the account enabled.This is typed as an enum for consistency withrequirements.disabled_reason.Fields that arecurrently_dueand need to be collected again because validation or verification failed.Fields you must collect when all thresholds are reached.Fields that weren't collected byrequirements.current_deadline.Fields that might become required depending on the results of verification or review.inthashCode()voidsetAlternatives(List<Account.FutureRequirements.Alternative> alternatives) Fields that are due and can be satisfied 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 collected to keep the account enabled.voidsetDisabledReason(String disabledReason) This is typed as an enum for consistency withrequirements.disabled_reason.voidFields that arecurrently_dueand need to be collected again because validation or verification failed.voidsetEventuallyDue(List<String> eventuallyDue) Fields you must collect when all thresholds are reached.voidsetPastDue(List<String> pastDue) Fields that weren't collected byrequirements.current_deadline.voidsetPendingVerification(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, 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_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 its enablement state prior to transitioning. -
getCurrentlyDue
Fields that need to be collected to keep the account enabled. If not collected byfuture_requirements[current_deadline], these fields will transition to the mainrequirementshash. -
getDisabledReason
This is typed as an enum for consistency withrequirements.disabled_reason.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, orunder_review. -
getErrors
Fields that arecurrently_dueand need to be collected again because validation or verification failed. -
getEventuallyDue
Fields you must collect when all thresholds are reached. As they become required, they appear incurrently_dueas 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_duewill 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_dueorcurrently_due. Fields might appear ineventually_dueorcurrently_dueand inpending_verificationif 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_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 its enablement state prior to transitioning. -
setCurrentlyDue
Fields that need to be collected to keep the account enabled. If not collected byfuture_requirements[current_deadline], these fields will transition to the mainrequirementshash. -
setDisabledReason
This is typed as an enum for consistency withrequirements.disabled_reason.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, orunder_review. -
setErrors
Fields that arecurrently_dueand need to be collected again because validation or verification failed. -
setEventuallyDue
Fields you must collect when all thresholds are reached. As they become required, they appear incurrently_dueas 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_duewill 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_dueorcurrently_due. Fields might appear ineventually_dueorcurrently_dueand inpending_verificationif verification fails but another verification is still pending. -
equals
-
canEqual
-
hashCode
public int hashCode()
-