class Pohoda::Parsers::Lst::RequestBalanceType

Public Instance Methods

adjust_to() click to toggle source
# File lib/pohoda/parsers/lst/request_balance_type.rb, line 15
def adjust_to
  at 'lst:adjustTo'
end
adjust_to_attributes() click to toggle source
# File lib/pohoda/parsers/lst/request_balance_type.rb, line 19
def adjust_to_attributes
  attributes_at 'lst:adjustTo'
end
date_to() click to toggle source
# File lib/pohoda/parsers/lst/request_balance_type.rb, line 7
def date_to
  at 'lst:dateTo'
end
date_to_attributes() click to toggle source
# File lib/pohoda/parsers/lst/request_balance_type.rb, line 11
def date_to_attributes
  attributes_at 'lst:dateTo'
end
group_by_doc() click to toggle source
# File lib/pohoda/parsers/lst/request_balance_type.rb, line 23
def group_by_doc
  at 'lst:groupByDoc'
end
group_by_doc_attributes() click to toggle source
# File lib/pohoda/parsers/lst/request_balance_type.rb, line 27
def group_by_doc_attributes
  attributes_at 'lst:groupByDoc'
end
pairing() click to toggle source
# File lib/pohoda/parsers/lst/request_balance_type.rb, line 39
def pairing
  at 'lst:pairing'
end
pairing_attributes() click to toggle source
# File lib/pohoda/parsers/lst/request_balance_type.rb, line 43
def pairing_attributes
  attributes_at 'lst:pairing'
end
remove_balanced_rec() click to toggle source
# File lib/pohoda/parsers/lst/request_balance_type.rb, line 31
def remove_balanced_rec
  at 'lst:removeBalancedRec'
end
remove_balanced_rec_attributes() click to toggle source
# File lib/pohoda/parsers/lst/request_balance_type.rb, line 35
def remove_balanced_rec_attributes
  attributes_at 'lst:removeBalancedRec'
end
to_h() click to toggle source
# File lib/pohoda/parsers/lst/request_balance_type.rb, line 55
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:date_to] = date_to if has? 'lst:dateTo'
  hash[:date_to_attributes] = date_to_attributes if has? 'lst:dateTo'
  hash[:adjust_to] = adjust_to if has? 'lst:adjustTo'
  hash[:adjust_to_attributes] = adjust_to_attributes if has? 'lst:adjustTo'
  hash[:group_by_doc] = group_by_doc if has? 'lst:groupByDoc'
  hash[:group_by_doc_attributes] = group_by_doc_attributes if has? 'lst:groupByDoc'
  hash[:remove_balanced_rec] = remove_balanced_rec if has? 'lst:removeBalancedRec'
  hash[:remove_balanced_rec_attributes] = remove_balanced_rec_attributes if has? 'lst:removeBalancedRec'
  hash[:pairing] = pairing if has? 'lst:pairing'
  hash[:pairing_attributes] = pairing_attributes if has? 'lst:pairing'
  hash[:user_filter_name] = user_filter_name if has? 'lst:userFilterName'
  hash[:user_filter_name_attributes] = user_filter_name_attributes if has? 'lst:userFilterName'

  hash
end
user_filter_name() click to toggle source
# File lib/pohoda/parsers/lst/request_balance_type.rb, line 47
def user_filter_name
  at 'lst:userFilterName'
end
user_filter_name_attributes() click to toggle source
# File lib/pohoda/parsers/lst/request_balance_type.rb, line 51
def user_filter_name_attributes
  attributes_at 'lst:userFilterName'
end