Class: Fortnox::TaxReduction

Inherits:
Resource show all
Defined in:
lib/fortnox/resources/tax_reduction.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Resource

build_objects, create, #endpoint, endpoint, fetch, #initialize, perform_request, relation, relations, search, #to_hash, #to_json, #update

Constructor Details

This class inherits a constructor from Fortnox::Resource

Instance Attribute Details

#approved_amountObject

Returns the value of attribute approved_amount.



3
4
5
# File 'lib/fortnox/resources/tax_reduction.rb', line 3

def approved_amount
  @approved_amount
end

#asked_amountObject

Returns the value of attribute asked_amount.



3
4
5
# File 'lib/fortnox/resources/tax_reduction.rb', line 3

def asked_amount
  @asked_amount
end

#billed_amountObject

Returns the value of attribute billed_amount.



3
4
5
# File 'lib/fortnox/resources/tax_reduction.rb', line 3

def billed_amount
  @billed_amount
end

#customer_nameObject

Returns the value of attribute customer_name.



3
4
5
# File 'lib/fortnox/resources/tax_reduction.rb', line 3

def customer_name
  @customer_name
end

#idObject

Returns the value of attribute id.



3
4
5
# File 'lib/fortnox/resources/tax_reduction.rb', line 3

def id
  @id
end

#property_designationObject

Returns the value of attribute property_designation.



3
4
5
# File 'lib/fortnox/resources/tax_reduction.rb', line 3

def property_designation
  @property_designation
end

#reference_document_typeObject

Returns the value of attribute reference_document_type.



3
4
5
# File 'lib/fortnox/resources/tax_reduction.rb', line 3

def reference_document_type
  @reference_document_type
end

#reference_numberObject

Returns the value of attribute reference_number.



3
4
5
# File 'lib/fortnox/resources/tax_reduction.rb', line 3

def reference_number
  @reference_number
end

#request_sentObject

Returns the value of attribute request_sent.



3
4
5
# File 'lib/fortnox/resources/tax_reduction.rb', line 3

def request_sent
  @request_sent
end

#residence_association_organisation_numberObject

Returns the value of attribute residence_association_organisation_number.



3
4
5
# File 'lib/fortnox/resources/tax_reduction.rb', line 3

def residence_association_organisation_number
  @residence_association_organisation_number
end

#social_security_numberObject

Returns the value of attribute social_security_number.



3
4
5
# File 'lib/fortnox/resources/tax_reduction.rb', line 3

def social_security_number
  @social_security_number
end

#type_of_reductionObject

Returns the value of attribute type_of_reduction.



3
4
5
# File 'lib/fortnox/resources/tax_reduction.rb', line 3

def type_of_reduction
  @type_of_reduction
end

#voucher_numberObject

Returns the value of attribute voucher_number.



3
4
5
# File 'lib/fortnox/resources/tax_reduction.rb', line 3

def voucher_number
  @voucher_number
end

#voucher_seriesObject

Returns the value of attribute voucher_series.



3
4
5
# File 'lib/fortnox/resources/tax_reduction.rb', line 3

def voucher_series
  @voucher_series
end

#voucher_yearObject

Returns the value of attribute voucher_year.



3
4
5
# File 'lib/fortnox/resources/tax_reduction.rb', line 3

def voucher_year
  @voucher_year
end