class

Plaid::BankTransferCreateRequest

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

Defines the request schema for /bank_transfer/create

Constants

MAX_ITEMS_FOR_METADATA = 50
MAX_LENGTH_FOR_CUSTOM_TAG = 100
MAX_LENGTH_FOR_DESCRIPTION = 10
MAX_LENGTH_FOR_IDEMPOTENCY_KEY = 50

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, idempotency_key : String | Nil = nil, access_token : String | Nil = nil, account_id : String | Nil = nil, _type : Plaid::BankTransferType | Nil = nil, network : Plaid::BankTransferNetwork | Nil = nil, amount : String | Nil = nil, iso_currency_code : String | Nil = nil, description : String | Nil = nil, user : BankTransferUser | Nil = nil, client_id : String | Nil = nil, secret : String | Nil = nil, ach_class : Plaid::ACHClass | Nil = nil, custom_tag : String | Nil = nil, metadata : Hash(String, String) | Nil = nil, origination_account_id : 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

_type
Source
_type=(new_value : Plaid::BankTransferType | Nil)

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

Source
access_token

The Plaid access_token for the account that will be debited or credited.

Source
access_token=(new_value : String | Nil)

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

Source
account_id

The Plaid account_id for the account that will be debited or credited.

Source
account_id=(new_value : String | Nil)

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

Source
ach_class
Source
ach_class=(new_value : Plaid::ACHClass | Nil)

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

Source
amount

The amount of the bank transfer (decimal string with two digits of precision e.g. "10.00").

Source
amount=(new_value : String | 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
custom_tag

An arbitrary string provided by the client for storage with the bank transfer. May be up to 100 characters.

Source
custom_tag=(new_value : String | Nil)

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

Source
custom_tag_present=(custom_tag_present : Bool)
Source
custom_tag_present?
Source
description

The transfer description. Maximum of 10 characters.

Source
description=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] description 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 bank transfer. Maximum of 50 characters. The API supports idempotency for safely retrying requests without accidentally performing the same operation twice. For example, if a request to create a bank transfer fails due to a network connection error, you can retry the request with the same idempotency key to guarantee that only a single bank transfer is created.

Source
idempotency_key=(new_value : String | Nil)

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

Source
iso_currency_code

The currency of the transfer amount – should be set to "USD".

Source
iso_currency_code=(new_value : String | Nil)

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

The Metadata object is a mapping of client-provided string fields to any string value. The following limitations apply: The JSON values must be Strings (no nested JSON objects allowed) Only ASCII characters may be used Maximum of 50 key/value pairs Maximum key length of 40 characters Maximum value length of 500 characters

Source
metadata=(new_value : Hash(String, String) | Nil)

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

Source
metadata_present=(metadata_present : Bool)
Source
metadata_present?
Source
network
Source
network=(new_value : Plaid::BankTransferNetwork | Nil)

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

Source
origination_account_id

Plaid’s unique identifier for the origination account for this transfer. If you have more than one origination account, this value must be specified. Otherwise, this field should be left blank.

Source
origination_account_id=(new_value : String | Nil)

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

Source
origination_account_id_present=(origination_account_id_present : Bool)
Source
origination_account_id_present?
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
user
Source
user=(new_value : BankTransferUser | Nil)

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