class

Plaid::APR

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

Information about the APR on the account.

Constants

ERROR_MESSAGE_FOR_APR_TYPE = "invalid value for \"apr_type\", must be one of [balance_transfer_apr, cash_apr, purchase_apr, special]."
VALID_VALUES_FOR_APR_TYPE = String.static_array("balance_transfer_apr", "cash_apr", "purchase_apr", "special")

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, apr_percentage : Float64 | Nil = nil, apr_type : String | Nil = nil, balance_subject_to_apr : Float64 | Nil = nil, interest_charge_amount : Float64 | 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

apr_percentage

Annual Percentage Rate applied.

Source
apr_percentage=(new_value : Float64 | Nil)

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

Source
apr_type

The type of balance to which the APR applies.

Source
apr_type=(new_value : String | Nil)

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

Source
balance_subject_to_apr

Amount of money that is subjected to the APR if a balance was carried beyond payment due date. How it is calculated can vary by card issuer. It is often calculated as an average daily balance.

Source
balance_subject_to_apr=(new_value : Float64 | Nil)

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

interest_charge_amount

Amount of money charged due to interest from last statement.

Source
interest_charge_amount=(new_value : Float64 | Nil)

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

Check to see if the all the properties in the model are valid @return true if the model is valid

Source