class

Plaid::Meta

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

Allows specifying the metadata of the test account

Constants

PATTERN_FOR_MASK = /^$|^[A-Za-z0-9]{2,4}$/

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, name : String | Nil = nil, official_name : String | Nil = nil, limit : Float64 | Nil = nil, mask : 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

limit

The account's limit

Source
limit=(new_value : Float64 | Nil)

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

The account's mask. Should be an empty string or a string of 2-4 alphanumeric characters. This allows you to model a mask which does not match the account number (such as with a virtual account number).

Source
mask=(new_value : String | Nil)

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

Source
name

The account's name

Source
name=(new_value : String | Nil)

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

Source
official_name

The account's official name

Source
official_name=(new_value : String | Nil)

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