Package com.stripe.model
Class Person.Requirements
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Person.Requirements
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Person
For more details about Requirements, 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.Fields that need to be collected to keep the person's account enabled.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 by the account'scurrent_deadline.Fields that might become required depending on the results of verification or review.inthashCode()voidsetAlternatives(List<Person.Requirements.Alternative> alternatives) Fields that are due and can be satisfied by providing the corresponding alternative fields instead.voidsetCurrentlyDue(List<String> currentlyDue) Fields that need to be collected to keep the person's account enabled.voidsetErrors(List<Person.Requirements.Errors> errors) Fields 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 by the account'scurrent_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
-
Requirements
public Requirements()
-
-
Method Details
-
getAlternatives
Fields that are due and can be satisfied by providing the corresponding alternative fields instead. -
getCurrentlyDue
Fields that need to be collected to keep the person's account enabled. If not collected by the account'scurrent_deadline, these fields appear inpast_dueas well, and the account is disabled. -
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, and the account'scurrent_deadlinebecomes set. -
getPastDue
Fields that weren't collected by the account'scurrent_deadline. These fields need to be collected to enable the person's 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_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. -
setCurrentlyDue
Fields that need to be collected to keep the person's account enabled. If not collected by the account'scurrent_deadline, these fields appear inpast_dueas well, and the account is disabled. -
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, and the account'scurrent_deadlinebecomes set. -
setPastDue
Fields that weren't collected by the account'scurrent_deadline. These fields need to be collected to enable the person's 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_dueand inpending_verificationif verification fails but another verification is still pending. -
equals
-
canEqual
-
hashCode
public int hashCode()
-