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
The specific user onboarding requirement field (in the requirements hash) that needs to be
resolved.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
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 by which the fields incurrently_duemust be collected to keep the capability enabled for the account.Fields that need to be collected to keep the capability enabled.If the capability is disabled, this string describes why.Fields that arecurrently_dueand need to be collected again because validation or verification failed.Fields that need to be collected assuming all volume thresholds are reached.Fields that weren't collected bycurrent_deadline.Fields that may become required depending on the results of verification or review.inthashCode()voidsetAlternatives(List<Capability.Requirements.Alternative> alternatives) Fields that are due and can be satisfied by providing the corresponding alternative fields instead.voidsetCurrentDeadline(Long currentDeadline) Date by which the fields incurrently_duemust be collected to keep the capability enabled for the account.voidsetCurrentlyDue(List<String> currentlyDue) Fields that need to be collected to keep the capability enabled.voidsetDisabledReason(String disabledReason) If the capability is disabled, this string describes why.voidsetErrors(List<Capability.Requirements.Errors> errors) Fields that arecurrently_dueand need to be collected again because validation or verification failed.voidsetEventuallyDue(List<String> eventuallyDue) Fields that need to be collected assuming all volume thresholds are reached.voidsetPastDue(List<String> pastDue) Fields that weren't collected bycurrent_deadline.voidsetPendingVerification(List<String> pendingVerification) Fields that may become required depending on the results of verification or review.Methods inherited from class com.stripe.model.StripeObject
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. -
getCurrentDeadline
Date by which the fields incurrently_duemust be collected to keep the capability enabled for the account. These fields may disable the capability sooner if the next threshold is reached before they are collected. -
getCurrentlyDue
Fields that need to be collected to keep the capability enabled. If not collected bycurrent_deadline, these fields appear inpast_dueas well, and the capability is disabled. -
getDisabledReason
If the capability is disabled, this string describes why. Can berequirements.past_due,requirements.pending_verification,listed,platform_paused,rejected.fraud,rejected.listed,rejected.terms_of_service,rejected.other,under_review, orother.rejected.unsupported_businessmeans that the account's business is not supported by the capability. For example, payment methods may restrict the businesses they support in their terms of service:- Afterpay Clearpay's terms of service
If you believe that the rejection is in error, please contact support at https://support.stripe.com/contact/ for assistance.
-
getErrors
Fields that arecurrently_dueand need to be collected again because validation or verification failed. -
getEventuallyDue
Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear incurrently_dueas well, andcurrent_deadlinebecomes set. -
getPastDue
Fields that weren't collected bycurrent_deadline. These fields need to be collected to enable the capability on the account. -
getPendingVerification
Fields that may become required depending on the results of verification or review. Will be an empty array unless an asynchronous verification is pending. If verification fails, these fields move toeventually_due,currently_due, orpast_due. -
setAlternatives
Fields that are due and can be satisfied by providing the corresponding alternative fields instead. -
setCurrentDeadline
Date by which the fields incurrently_duemust be collected to keep the capability enabled for the account. These fields may disable the capability sooner if the next threshold is reached before they are collected. -
setCurrentlyDue
Fields that need to be collected to keep the capability enabled. If not collected bycurrent_deadline, these fields appear inpast_dueas well, and the capability is disabled. -
setDisabledReason
If the capability is disabled, this string describes why. Can berequirements.past_due,requirements.pending_verification,listed,platform_paused,rejected.fraud,rejected.listed,rejected.terms_of_service,rejected.other,under_review, orother.rejected.unsupported_businessmeans that the account's business is not supported by the capability. For example, payment methods may restrict the businesses they support in their terms of service:- Afterpay Clearpay's terms of service
If you believe that the rejection is in error, please contact support at https://support.stripe.com/contact/ for assistance.
-
setErrors
Fields that arecurrently_dueand need to be collected again because validation or verification failed. -
setEventuallyDue
Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear incurrently_dueas well, andcurrent_deadlinebecomes set. -
setPastDue
Fields that weren't collected bycurrent_deadline. These fields need to be collected to enable the capability on the account. -
setPendingVerification
Fields that may become required depending on the results of verification or review. Will be an empty array unless an asynchronous verification is pending. If verification fails, these fields move toeventually_due,currently_due, orpast_due. -
equals
-
canEqual
-
hashCode
public int hashCode()
-