class

Stripe::AccountRequirements

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

Constants

MAX_LENGTH_FOR_DISABLED_REASON = 5000

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 account enabled. These fields may disable the account 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 account enabled. If not collected by current_deadline, these fields appear in past_due as well, and the account 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

If the account is disabled, this string describes why. Learn more about handling verification issues. Can be action_required.requested_capabilities, requirements.past_due, requirements.pending_verification, listed, platform_paused, rejected.fraud, rejected.incomplete_verification, rejected.listed, rejected.other, rejected.terms_of_service, under_review, or other.

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 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