class

Plaid::DepositSwitchCreateRequestOptions

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

Options to configure the /deposit_switch/create request. If provided, cannot be null.

Constants

MAX_ITEMS_FOR_TRANSACTION_ITEM_ACCESS_TOKENS = 99
MIN_ITEMS_FOR_TRANSACTION_ITEM_ACCESS_TOKENS = 1

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, webhook : String | Nil = nil, transaction_item_access_tokens : 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

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
transaction_item_access_tokens

An array of access tokens corresponding to transaction items to use when attempting to match the user to their Payroll Provider. These tokens must be created by the same client id as the one creating the switch, and have access to the transactions product.

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

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

The URL registered to receive webhooks when the status of a deposit switch request has changed.

Source
webhook=(new_value : String | Nil)

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

Source
webhook_present=(webhook_present : Bool)
Source
webhook_present?
Source