Sha256: 500650c8d89dc7e0659d6d50d28bdbe0fd08d44db573a761e7969764755bd324
Contents?: true
Size: 1.15 KB
Versions: 6
Compression:
Stored size: 1.15 KB
Contents
module Myfinance module Entities class FinancialAccount < Base [:id, :entity_id, :status, :category_id, :person_id, :recurrence_id, :number_of_parcels, :current_parcel, :classification_center_id, :expected_deposit_account_id].each do |k| attribute k, Integer end [:status_name, :description, :document, :observation, :recurrence_period, :competency_month].each { |k| attribute k, String } [:amount, :interest_amount, :discount_amount, :total_amount, :ticket_amount].each do |k| attribute k, Decimal end [:remind, :income_tax_relevant, :recurrent, :parcelled, :ticket_amount].each do |k| attribute k, Boolean end [:due_date, :occurred_at, :document_emission_date, :reminded_at].each do |k| attribute k, Date end [:created_at, :updated_at].each { |k| attribute k, DateTime } attribute :tax_charges, Array[Hash] attribute :financial_account_taxes_attributes, Array[Hash] attribute :custom_classifications, Array[Hash] attribute :reconciliations, Hash[String => Array] attribute :links, Array[Hash[String => String]] end end end
Version data entries
6 entries across 6 versions & 1 rubygems