class

Stripe::AccountFutureRequirements

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 on which future_requirements merges with the main requirements hash and future_requirements becomes empty. After the transition, currently_due requirements may immediately become past_due, but the account may also be given a grace period depending on its enablement state prior to transitioning.

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 future_requirements[current_deadline], these fields will transition to the main requirements hash.

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

This is typed as a string for consistency with requirements.disabled_reason.

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.

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 requirements.current_deadline. These fields need to be collected to enable the capability on the account. New fields will never appear here; future_requirements.past_due will always be a subset of requirements.past_due.

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 or currently_due. Fields might appear in eventually_due or currently_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