Class Capability.Requirements
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Capability
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Fields that are due and can be satisfied by providing the corresponding alternative fields instead.Date by which the fields incurrently_due
must 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_due
and 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 might become required depending on the results of verification or review.int
hashCode()
void
setAlternatives
(List<Capability.Requirements.Alternative> alternatives) Fields that are due and can be satisfied by providing the corresponding alternative fields instead.void
setCurrentDeadline
(Long currentDeadline) Date by which the fields incurrently_due
must be collected to keep the capability enabled for the account.void
setCurrentlyDue
(List<String> currentlyDue) Fields that need to be collected to keep the capability enabled.void
setDisabledReason
(String disabledReason) If the capability is disabled, this string describes why.void
setErrors
(List<Capability.Requirements.Errors> errors) Fields that arecurrently_due
and need to be collected again because validation or verification failed.void
setEventuallyDue
(List<String> eventuallyDue) Fields that need to be collected assuming all volume thresholds are reached.void
setPastDue
(List<String> pastDue) Fields that weren't collected bycurrent_deadline
.void
setPendingVerification
(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, 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_due
must 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_due
as well, and the capability is disabled. -
getDisabledReason
If the capability is disabled, this string describes why. Can berequirements.fields_needed
,pending.onboarding
,pending.review
,rejected.fraud
,rejected.other
,platform_paused
,action_required.requested_capabilities
,rejected.inactivty
, orrejected.unsupported_business
.rejected.unsupported_business
means 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, such as in Afterpay Clearpay's terms of service.rejected.inactivity
means that the capability has been paused for inactivity. This disabled reason currently only applies to the Issuing capability. See Issuing: Managing Inactive Connects for more details.If you believe that a rejection is in error, please contact support at https://support.stripe.com/contact/ for assistance.
-
getErrors
Fields that arecurrently_due
and 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_due
as well, andcurrent_deadline
becomes 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 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_due
and inpending_verification
if 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 by which the fields incurrently_due
must 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_due
as well, and the capability is disabled. -
setDisabledReason
If the capability is disabled, this string describes why. Can berequirements.fields_needed
,pending.onboarding
,pending.review
,rejected.fraud
,rejected.other
,platform_paused
,action_required.requested_capabilities
,rejected.inactivty
, orrejected.unsupported_business
.rejected.unsupported_business
means 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, such as in Afterpay Clearpay's terms of service.rejected.inactivity
means that the capability has been paused for inactivity. This disabled reason currently only applies to the Issuing capability. See Issuing: Managing Inactive Connects for more details.If you believe that a rejection is in error, please contact support at https://support.stripe.com/contact/ for assistance.
-
setErrors
Fields that arecurrently_due
and 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_due
as well, andcurrent_deadline
becomes 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 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_due
and inpending_verification
if verification fails but another verification is still pending. -
equals
-
canEqual
-
hashCode
public int hashCode()
-