Class: Xeroizer::Record::Payment

Inherits:
Base
  • Object
show all
Defined in:
lib/xeroizer/models/payment.rb

Instance Attribute Summary

Attributes inherited from Base

#attributes, #complete_record_downloaded, #errors, #model, #parent

Instance Method Summary collapse

Methods inherited from Base

#[], #[]=, #as_json, build, #complete_record_downloaded?, #download_complete_record!, #initialize, #inspect, #new_model_class, #new_record?, #non_calculated_attributes, #save, #saved!, #to_h, #to_json, #update_attributes

Methods included from XmlHelper

included

Methods included from ValidationHelper

included

Methods included from RecordAssociationHelper

included

Methods included from ModelDefinitionHelper

included

Methods included from ClassLevelInheritableAttributes

included

Constructor Details

This class inherits a constructor from Xeroizer::Record::Base

Instance Method Details

#account_codeObject



35
36
37
# File 'lib/xeroizer/models/payment.rb', line 35

def 
  .code if 
end

#account_idObject



31
32
33
# File 'lib/xeroizer/models/payment.rb', line 31

def 
  .id if 
end

#invoice_idObject



27
28
29
# File 'lib/xeroizer/models/payment.rb', line 27

def invoice_id
  invoice.id if invoice
end