Package com.stripe.model
Class Capability.Requirements
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Capability.Requirements
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Capability
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.The date by which all required account information must be both submitted and verified.Fields that need to be resolved to keep the capability enabled.Description of why the capability is disabled.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<Capability.Requirements.Alternative> alternatives) Fields that are due and can be resolved by providing the corresponding alternative fields instead.voidsetCurrentDeadline(Long currentDeadline) The date by which all required account information must be both submitted and verified.voidsetCurrentlyDue(List<String> currentlyDue) Fields that need to be resolved to keep the capability enabled.voidsetDisabledReason(String disabledReason) Description of why the capability is disabled.voidsetErrors(List<Capability.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. 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
The date by which all required account information must be both submitted and verified. This includes fields listed incurrently_dueas well as those inpending_verification. If any required information is missing or unverified by this date, the account may be disabled. Note thatcurrent_deadlinemay change if additionalcurrently_duerequirements are requested. -
getCurrentlyDue
Fields that need to be resolved to keep the capability enabled. If not resolved bycurrent_deadline, these fields will appear inpast_dueas well, and the capability is disabled. -
getDisabledReason
Description of why the capability is disabled. Learn more about handling verification issues.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, andcurrent_deadlinebecomes set. -
getPastDue
Fields that haven't been resolved bycurrent_deadline. These fields need to be resolved to enable the capability on 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. 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
The date by which all required account information must be both submitted and verified. This includes fields listed incurrently_dueas well as those inpending_verification. If any required information is missing or unverified by this date, the account may be disabled. Note thatcurrent_deadlinemay change if additionalcurrently_duerequirements are requested. -
setCurrentlyDue
Fields that need to be resolved to keep the capability enabled. If not resolved bycurrent_deadline, these fields will appear inpast_dueas well, and the capability is disabled. -
setDisabledReason
Description of why the capability is disabled. Learn more about handling verification issues.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, andcurrent_deadlinebecomes set. -
setPastDue
Fields that haven't been resolved bycurrent_deadline. These fields need to be resolved to enable the capability on 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()
-