class

Plaid::WalletTransactionExecuteRequest

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

WalletTransactionExecuteRequest defines the request schema for /wallet/transaction/execute

Constants

MAX_LENGTH_FOR_IDEMPOTENCY_KEY = 128
MAX_LENGTH_FOR_REFERENCE = 18
MIN_LENGTH_FOR_IDEMPOTENCY_KEY = 1
MIN_LENGTH_FOR_REFERENCE = 6
MIN_LENGTH_FOR_WALLET_ID = 1

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, idempotency_key : String | Nil = nil, wallet_id : String | Nil = nil, counterparty : WalletTransactionCounterparty | Nil = nil, amount : WalletTransactionAmount | Nil = nil, reference : String | Nil = nil, client_id : String | Nil = nil, secret : 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

amount
Source
amount=(new_value : WalletTransactionAmount | Nil)

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

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

idempotency_key

A random key provided by the client, per unique wallet transaction. Maximum of 128 characters. The API supports idempotency for safely retrying requests without accidentally performing the same operation twice. If a request to execute a wallet transaction fails due to a network connection error, then after a minimum delay of one minute, you can retry the request with the same idempotency key to guarantee that only a single wallet transaction is created. If the request was successfully processed, it will prevent any transaction that uses the same idempotency key, and was received within 24 hours of the first request, from being processed.

Source
idempotency_key=(new_value : String | Nil)

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

Source
list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
reference

A reference for the transaction. This must be an alphanumeric string with 6 to 18 characters and must not contain any special characters or spaces. Ensure that the reference field is unique for each transaction.

Source
reference=(new_value : String | Nil)

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

The ID of the e-wallet to debit from

Source
wallet_id=(new_value : String | Nil)

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

Source