class

Plaid::PaymentInitiationConsentConstraints

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

Limitations that will be applied to payments initiated using the payment consent.

Constants

MIN_ITEMS_FOR_PERIODIC_AMOUNTS = 1

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, max_payment_amount : Plaid::PaymentConsentMaxPaymentAmount | Nil = nil, periodic_amounts : Array(Plaid::PaymentConsentPeriodicAmount) | Nil = nil, valid_date_time : Plaid::PaymentConsentValidDateTime | 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

list_invalid_properties

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

Source
max_payment_amount
Source
max_payment_amount=(new_value : Plaid::PaymentConsentMaxPaymentAmount | Nil)

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

Source
periodic_amounts

A list of amount limitations per period of time.

Source
periodic_amounts=(new_value : Array(Plaid::PaymentConsentPeriodicAmount) | Nil)

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

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

Source
valid_date_time_present=(valid_date_time_present : Bool)
Source
valid_date_time_present?
Source