Class: Agris::Api::AccountsReceivables::Invoice::GeneralLedgerDetail

Inherits:
Object
  • Object
show all
Includes:
XmlModel
Defined in:
lib/agris/api/accounts_receivables/invoice.rb

Constant Summary collapse

ATTRIBUTE_NAMES =
%w(
  distribution_amount
  gl_account_main_code
  gl_account_detail_code
  gl_loc_code
  record_type
  execution_id
).freeze

Instance Method Summary collapse

Methods included from XmlModel

included

Constructor Details

#initialize(hash = {}) ⇒ GeneralLedgerDetail

Returns a new instance of GeneralLedgerDetail.



209
210
211
212
213
# File 'lib/agris/api/accounts_receivables/invoice.rb', line 209

def initialize(hash = {})
  super(hash)

  @record_type = 'ACRI2'
end