class

Stripe::InvoiceLinkedAccountOptionsParam

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]."
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(*, filters : Stripe::InvoiceLinkedAccountOptionsFiltersParam | Nil = nil, permissions : Array(String) | Nil = nil, prefetch : 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

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. If this parameter is passed, the payment_method permission must be included. Valid permissions include: balances, ownership, payment_method, and transactions.

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

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

Source
prefetch

List of data features that you would like to retrieve 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
valid?

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

Source