class

Plaid::AssetReportCreateRequest

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

AssetReportCreateRequest defines the request schema for /asset_report/create

Constants

MAX_FOR_DAYS_REQUESTED = Int32.new("731")
MAX_ITEMS_FOR_ACCESS_TOKENS = 99
MIN_FOR_DAYS_REQUESTED = Int32.new("0")
MIN_ITEMS_FOR_ACCESS_TOKENS = 1

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, days_requested : Int32 | Nil = nil, client_id : String | Nil = nil, secret : String | Nil = nil, access_tokens : Array(String) | Nil = nil, options : Plaid::AssetReportCreateRequestOptions | 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

access_tokens

An array of access tokens corresponding to the Items that will be included in the report. The assets product must have been initialized for the Items during link; the Assets product cannot be added after initialization.

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

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

Source
client_id

Your Plaid API client_id. The client_id is required and may be provided either in the PLAID-CLIENT-ID header or as part of a request body.

Source
client_id=(new_value : String | Nil)

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

Source
days_requested

The maximum integer number of days of history to include in the Asset Report. If using Fannie Mae Day 1 Certainty, days_requested must be at least 61 for new originations or at least 31 for refinancings. An Asset Report requested with "Additional History" (that is, with more than 61 days of transaction history) will incur an Additional History fee.

Source
days_requested=(new_value : Int32 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] days_requested 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
options
Source
options=(new_value : Plaid::AssetReportCreateRequestOptions | Nil)

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

Source
secret

Your Plaid API secret. The secret is required and may be provided either in the PLAID-SECRET header or as part of a request body.

Source
secret=(new_value : String | Nil)

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