class

Stripe::AccountCapabilityRequirements

Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

Constants

ERROR_MESSAGE_FOR_DISABLED_REASON = "invalid value for \"disabled_reason\", must be one of [other, paused.inactivity, pending.onboarding, pending.review, platform_disabled, platform_paused, rejected.inactivity, rejected.other, rejected.unsupported_business, requirements.fields_needed]."
VALID_VALUES_FOR_DISABLED_REASON = String.static_array("other", "paused.inactivity", "pending.onboarding", "pending.review", "platform_disabled", "platform_paused", "rejected.inactivity", "rejected.other", "rejected.unsupported_business", "requirements.fields_needed")

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, alternatives : Array(Stripe::AccountRequirementsAlternative) | Nil = nil, current_deadline : Int64 | Nil = nil, currently_due : Array(String) | Nil = nil, disabled_reason : String | Nil = nil, errors : Array(Stripe::AccountRequirementsError) | Nil = nil, eventually_due : Array(String) | Nil = nil, past_due : Array(String) | Nil = nil, pending_verification : Array(String) | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

alternatives

Fields that are due and can be satisfied by providing the corresponding alternative fields instead.

Source
alternatives=(new_value : Array(Stripe::AccountRequirementsAlternative) | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] alternatives Object to be assigned

Source
current_deadline

Date by which the fields in currently_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.

Source
current_deadline=(new_value : Int64 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] current_deadline Object to be assigned

Source
currently_due

Fields that need to be collected to keep the capability enabled. If not collected by current_deadline, these fields appear in past_due as well, and the capability is disabled.

Source
currently_due=(new_value : Array(String) | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] currently_due Object to be assigned

Source
disabled_reason

Description of why the capability is disabled. Learn more about handling verification issues.

Source
disabled_reason=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] disabled_reason Object to be assigned

Source
errors

Fields that are currently_due and need to be collected again because validation or verification failed.

Source
errors=(new_value : Array(Stripe::AccountRequirementsError) | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] errors Object to be assigned

Source
eventually_due

Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in currently_due as well, and current_deadline becomes set.

Source
eventually_due=(new_value : Array(String) | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] eventually_due Object to be assigned

Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
past_due

Fields that weren't collected by current_deadline. These fields need to be collected to enable the capability on the account.

Source
past_due=(new_value : Array(String) | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] past_due Object to be assigned

Source
pending_verification

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 to eventually_due, currently_due, or past_due. Fields might appear in eventually_due, currently_due, or past_due and in pending_verification if verification fails but another verification is still pending.

Source
pending_verification=(new_value : Array(String) | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] pending_verification Object to be assigned

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source