class

Plaid::SandboxTransferLedgerDepositSimulateRequest

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

Defines the request schema for /sandbox/transfer/ledger/deposit/simulate

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, sweep_id : String | Nil = nil, event_type : Plaid::TransferLedgerSweepSimulateEventType | Nil = nil, client_id : String | Nil = nil, secret : String | Nil = nil, failure_reason : TransferFailure | 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

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
event_type
Source
event_type=(new_value : Plaid::TransferLedgerSweepSimulateEventType | Nil)

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

Source
failure_reason
Source
failure_reason=(new_value : TransferFailure | Nil)

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

Source
failure_reason_present=(failure_reason_present : Bool)
Source
failure_reason_present?
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
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
sweep_id

Plaid’s unique identifier for a sweep.

Source
sweep_id=(new_value : String | Nil)

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