Class: Agris::Api::NewVoucher::GeneralLedgerDetail

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

Constant Summary collapse

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

Instance Method Summary collapse

Methods included from XmlModel

included

Constructor Details

#initialize(hash = {}) ⇒ GeneralLedgerDetail

Returns a new instance of GeneralLedgerDetail.



77
78
79
80
81
# File 'lib/agris/api/new_voucher.rb', line 77

def initialize(hash = {})
  super

  @record_type = 'ACPV2'
end