Class: Fortnox::InvoicePayment

Inherits:
Resource
  • Object
show all
Defined in:
lib/fortnox/resources/invoice_payment.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

#amountObject

Returns the value of attribute amount.



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

def amount
  @amount
end

#amount_currencyObject

Returns the value of attribute amount_currency.



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

def amount_currency
  @amount_currency
end

#bookedObject

Returns the value of attribute booked.



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

def booked
  @booked
end

#currencyObject

Returns the value of attribute currency.



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

def currency
  @currency
end

#currency_rateObject

Returns the value of attribute currency_rate.



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

def currency_rate
  @currency_rate
end

#currency_unitObject

Returns the value of attribute currency_unit.



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

def currency_unit
  @currency_unit
end

#external_invoice_reference1Object

Returns the value of attribute external_invoice_reference1.



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

def external_invoice_reference1
  @external_invoice_reference1
end

#external_invoice_reference2Object

Returns the value of attribute external_invoice_reference2.



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

def external_invoice_reference2
  @external_invoice_reference2
end

#invoice_customer_nameObject

Returns the value of attribute invoice_customer_name.



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

def invoice_customer_name
  @invoice_customer_name
end

#invoice_customer_numberObject

Returns the value of attribute invoice_customer_number.



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

def invoice_customer_number
  @invoice_customer_number
end

#invoice_due_dateObject

Returns the value of attribute invoice_due_date.



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

def invoice_due_date
  @invoice_due_date
end

#invoice_numberObject

Returns the value of attribute invoice_number.



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

def invoice_number
  @invoice_number
end

#invoice_ocrObject

Returns the value of attribute invoice_ocr.



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

def invoice_ocr
  @invoice_ocr
end

#invoice_totalObject

Returns the value of attribute invoice_total.



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

def invoice_total
  @invoice_total
end

#mode_of_paymentObject

Returns the value of attribute mode_of_payment.



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

def mode_of_payment
  @mode_of_payment
end

#numberObject

Returns the value of attribute number.



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

def number
  @number
end

#payment_dateObject

Returns the value of attribute payment_date.



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

def payment_date
  @payment_date
end

#sourceObject

Returns the value of attribute source.



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

def source
  @source
end

#voucher_numberObject

Returns the value of attribute voucher_number.



3
4
5
# File 'lib/fortnox/resources/invoice_payment.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/invoice_payment.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/invoice_payment.rb', line 3

def voucher_year
  @voucher_year
end

#write_offsObject

Returns the value of attribute write_offs.



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

def write_offs
  @write_offs
end