class

Plaid::EarningsTotal

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

An object representing both the current pay period and year to date amount for an earning category.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, current_amount : Float64 | Nil = nil, current_pay : Pay | Nil = nil, ytd_pay : Pay | Nil = nil, hours : Float64 | Nil = nil, iso_currency_code : String | Nil = nil, unofficial_currency_code : String | Nil = nil, ytd_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

current_amount

Total amount of the earnings for this pay period

Source
current_amount=(new_value : Float64 | Nil)

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

Source
current_amount_present=(current_amount_present : Bool)
Source
current_amount_present?
Source
current_pay
Source
current_pay=(new_value : Pay | Nil)

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

hours

Total number of hours worked for this pay period

Source
hours=(new_value : Float64 | Nil)

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

Source
hours_present=(hours_present : Bool)
Source
hours_present?
Source
iso_currency_code

The ISO-4217 currency code of the line item. Always null if unofficial_currency_code is non-null.

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
iso_currency_code_present=(iso_currency_code_present : Bool)
Source
iso_currency_code_present?
Source
list_invalid_properties

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

Source
unofficial_currency_code

The unofficial currency code associated with the security. Always null if iso_currency_code is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. See the currency code schema for a full listing of supported iso_currency_codes.

Source
unofficial_currency_code=(new_value : String | Nil)

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

Source
unofficial_currency_code_present=(unofficial_currency_code_present : Bool)
Source
unofficial_currency_code_present?
Source
valid?

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

Source
ytd_amount

The total year-to-date amount of the earnings

Source
ytd_amount=(new_value : Float64 | Nil)

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

Source
ytd_amount_present=(ytd_amount_present : Bool)
Source
ytd_amount_present?
Source
ytd_pay
Source
ytd_pay=(new_value : Pay | Nil)

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

Source