Class: Billogram::Invoice

Inherits:
Resource show all
Includes:
Endpoint
Defined in:
lib/billogram/resources/invoice.rb

Constant Summary collapse

COMMANDS =
[ :sell, :remind, :collect, :writeoff, :resend, :remind, :payment, :credit, :message, :attach ]

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Endpoint

included

Methods inherited from Resource

build_objects, #initialize, relation, relations, #to_hash, #to_json

Constructor Details

This class inherits a constructor from Billogram::Resource

Instance Attribute Details

#attachmentObject

Returns the value of attribute attachment.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def attachment
  @attachment
end

#attested_atObject

Returns the value of attribute attested_at.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def attested_at
  @attested_at
end

#automatic_remindersObject

Returns the value of attribute automatic_reminders.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def automatic_reminders
  @automatic_reminders
end

#created_atObject

Returns the value of attribute created_at.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def created_at
  @created_at
end

#creditor_unique_valueObject

Returns the value of attribute creditor_unique_value.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def creditor_unique_value
  @creditor_unique_value
end

#currencyObject

Returns the value of attribute currency.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def currency
  @currency
end

#delivery_methodObject

Returns the value of attribute delivery_method.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def delivery_method
  @delivery_method
end

#detailed_sumsObject

Returns the value of attribute detailed_sums.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def detailed_sums
  @detailed_sums
end

#due_dateObject

Returns the value of attribute due_date.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def due_date
  @due_date
end

#due_daysObject

Returns the value of attribute due_days.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def due_days
  @due_days
end

#flagsObject

Returns the value of attribute flags.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def flags
  @flags
end

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def id
  @id
end

#interest_feeObject

Returns the value of attribute interest_fee.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def interest_fee
  @interest_fee
end

#interest_rateObject

Returns the value of attribute interest_rate.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def interest_rate
  @interest_rate
end

#invoice_dateObject

Returns the value of attribute invoice_date.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def invoice_date
  @invoice_date
end

#invoice_feeObject

Returns the value of attribute invoice_fee.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def invoice_fee
  @invoice_fee
end

#invoice_fee_vatObject

Returns the value of attribute invoice_fee_vat.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def invoice_fee_vat
  @invoice_fee_vat
end

#invoice_noObject

Returns the value of attribute invoice_no.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def invoice_no
  @invoice_no
end

#ocr_numberObject

Returns the value of attribute ocr_number.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def ocr_number
  @ocr_number
end

#offersObject

Returns the value of attribute offers.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def offers
  @offers
end

#recipient_urlObject

Returns the value of attribute recipient_url.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def recipient_url
  @recipient_url
end

#remaining_sumObject

Returns the value of attribute remaining_sum.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def remaining_sum
  @remaining_sum
end

#reminder_countObject

Returns the value of attribute reminder_count.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def reminder_count
  @reminder_count
end

#reminder_feeObject

Returns the value of attribute reminder_fee.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def reminder_fee
  @reminder_fee
end

#respite_dateObject

Returns the value of attribute respite_date.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def respite_date
  @respite_date
end

#rounding_valueObject

Returns the value of attribute rounding_value.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def rounding_value
  @rounding_value
end

#sales_acceptedObject

Returns the value of attribute sales_accepted.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def sales_accepted
  @sales_accepted
end

#show_item_gross_pricesObject

Returns the value of attribute show_item_gross_prices.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def show_item_gross_prices
  @show_item_gross_prices
end

#stateObject

Returns the value of attribute state.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def state
  @state
end

#total_sumObject

Returns the value of attribute total_sum.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def total_sum
  @total_sum
end

#updated_atObject

Returns the value of attribute updated_at.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def updated_at
  @updated_at
end

#urlObject

Returns the value of attribute url.



7
8
9
# File 'lib/billogram/resources/invoice.rb', line 7

def url
  @url
end

Instance Method Details

#send!(method:) ⇒ Object



34
35
36
# File 'lib/billogram/resources/invoice.rb', line 34

def send!(method: )
  send_command(:send, {method: method})
end