class

Stripe::ExternalAccountRequirements

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

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, currently_due : Array(String) | Nil = nil, errors : Array(Stripe::AccountRequirementsError) | 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

currently_due

Fields that need to be collected to keep the external 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
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
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 external 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