class

Stripe::LinkedAccountOptionsUsBankAccount

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

Constants

ERROR_MESSAGE_FOR_PERMISSIONS = "invalid value for \"permissions\", must be one of [balances, ownership, payment_method, transactions]."
ERROR_MESSAGE_FOR_PREFETCH = "invalid value for \"prefetch\", must be one of [balances, ownership, transactions]."
MAX_LENGTH_FOR_RETURN_URL = 5000
VALID_VALUES_FOR_PERMISSIONS = String.static_array("balances", "ownership", "payment_method", "transactions")
VALID_VALUES_FOR_PREFETCH = String.static_array("balances", "ownership", "transactions")

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, prefetch : Array(String) | Nil = nil, filters : Stripe::PaymentFlowsPrivatePaymentMethodsUsBankAccountLinkedAccountOptionsFilters | Nil = nil, permissions : Array(String) | Nil = nil, return_url : 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

filters
Source

Custom attribute writer method checking allowed values (enum). @param [Object] filters 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
permissions

The list of permissions to request. The payment_method permission must be included.

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

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

Source
prefetch

Data features requested to be retrieved upon account creation.

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

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

Source
return_url

For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.

Source
return_url=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] return_url 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