Package com.stripe.model
Class Account.Requirements
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Account.Requirements
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Account
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 resolved by providing the corresponding alternative fields instead.Date by which the fields incurrently_duemust be collected to keep the account enabled.Fields that need to be resolved to keep the account enabled.If the account is disabled, this enum describes why.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 bycurrent_deadline.Fields that are being reviewed, or might become required depending on the results of a review.inthashCode()voidsetAlternatives(List<Account.Requirements.Alternative> alternatives) Fields that are due and can be resolved by providing the corresponding alternative fields instead.voidsetCurrentDeadline(Long currentDeadline) Date by which the fields incurrently_duemust be collected to keep the account enabled.voidsetCurrentlyDue(List<String> currentlyDue) Fields that need to be resolved to keep the account enabled.voidsetDisabledReason(String disabledReason) If the account is disabled, this enum describes why.voidsetErrors(List<Account.Requirements.Errors> errors) Details 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 bycurrent_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
-
Requirements
public Requirements()
-
-
Method Details
-
getAlternatives
Fields that are due and can be resolved by providing the corresponding alternative fields instead. Many alternatives can list the sameoriginal_fields_due, and any of these alternatives can serve as a pathway for attempting to resolve the fields again. Re-providingoriginal_fields_duealso serves as a pathway for attempting to resolve the fields again. -
getCurrentDeadline
Date by which the fields incurrently_duemust be collected to keep the account enabled. These fields may disable the account sooner if the next threshold is reached before they are collected. -
getCurrentlyDue
Fields that need to be resolved to keep the account enabled. If not resolved bycurrent_deadline, these fields will appear inpast_dueas well, and the account is disabled. -
getDisabledReason
If the account is disabled, this enum describes why. Learn more about handling verification issues.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
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, andcurrent_deadlinebecomes set. -
getPastDue
Fields that haven't been resolved bycurrent_deadline. These fields need to be resolved to enable the account. -
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. Many alternatives can list the sameoriginal_fields_due, and any of these alternatives can serve as a pathway for attempting to resolve the fields again. Re-providingoriginal_fields_duealso serves as a pathway for attempting to resolve the fields again. -
setCurrentDeadline
Date by which the fields incurrently_duemust be collected to keep the account enabled. These fields may disable the account sooner if the next threshold is reached before they are collected. -
setCurrentlyDue
Fields that need to be resolved to keep the account enabled. If not resolved bycurrent_deadline, these fields will appear inpast_dueas well, and the account is disabled. -
setDisabledReason
If the account is disabled, this enum describes why. Learn more about handling verification issues.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
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, andcurrent_deadlinebecomes set. -
setPastDue
Fields that haven't been resolved bycurrent_deadline. These fields need to be resolved to enable the account. -
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()
-