Class: Billogram::Invoice
- Includes:
- Endpoint
- Defined in:
- lib/billogram/resources/invoice.rb
Constant Summary collapse
- COMMANDS =
[ :sell, :remind, :collect, :writeoff, :resend, :remind, :payment, :credit, :message, :attach ].freeze
Instance Attribute Summary collapse
-
#attachment ⇒ Object
Returns the value of attribute attachment.
-
#attested_at ⇒ Object
Returns the value of attribute attested_at.
-
#automatic_reminders ⇒ Object
Returns the value of attribute automatic_reminders.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#creditor_unique_value ⇒ Object
Returns the value of attribute creditor_unique_value.
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#delivery_method ⇒ Object
Returns the value of attribute delivery_method.
-
#detailed_sums ⇒ Object
Returns the value of attribute detailed_sums.
-
#due_date ⇒ Object
Returns the value of attribute due_date.
-
#due_days ⇒ Object
Returns the value of attribute due_days.
-
#flags ⇒ Object
Returns the value of attribute flags.
-
#id ⇒ Object
Returns the value of attribute id.
-
#interest_fee ⇒ Object
Returns the value of attribute interest_fee.
-
#interest_rate ⇒ Object
Returns the value of attribute interest_rate.
-
#invoice_date ⇒ Object
Returns the value of attribute invoice_date.
-
#invoice_fee ⇒ Object
Returns the value of attribute invoice_fee.
-
#invoice_fee_vat ⇒ Object
Returns the value of attribute invoice_fee_vat.
-
#invoice_no ⇒ Object
Returns the value of attribute invoice_no.
-
#ocr_number ⇒ Object
Returns the value of attribute ocr_number.
-
#offers ⇒ Object
Returns the value of attribute offers.
-
#pdf ⇒ Object
Returns the value of attribute pdf.
-
#recipient_url ⇒ Object
Returns the value of attribute recipient_url.
-
#remaining_sum ⇒ Object
Returns the value of attribute remaining_sum.
-
#reminder_count ⇒ Object
Returns the value of attribute reminder_count.
-
#reminder_fee ⇒ Object
Returns the value of attribute reminder_fee.
-
#respite_date ⇒ Object
Returns the value of attribute respite_date.
-
#rounding_value ⇒ Object
Returns the value of attribute rounding_value.
-
#sales_accepted ⇒ Object
Returns the value of attribute sales_accepted.
-
#show_item_gross_prices ⇒ Object
Returns the value of attribute show_item_gross_prices.
-
#state ⇒ Object
Returns the value of attribute state.
-
#total_sum ⇒ Object
Returns the value of attribute total_sum.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
Methods included from Endpoint
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
#attachment ⇒ Object
Returns the value of attribute attachment.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def @attachment end |
#attested_at ⇒ Object
Returns the value of attribute attested_at.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def attested_at @attested_at end |
#automatic_reminders ⇒ Object
Returns the value of attribute automatic_reminders.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def automatic_reminders @automatic_reminders end |
#created_at ⇒ Object
Returns the value of attribute created_at.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def created_at @created_at end |
#creditor_unique_value ⇒ Object
Returns the value of attribute creditor_unique_value.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def creditor_unique_value @creditor_unique_value end |
#currency ⇒ Object
Returns the value of attribute currency.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def currency @currency end |
#delivery_method ⇒ Object
Returns the value of attribute delivery_method.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def delivery_method @delivery_method end |
#detailed_sums ⇒ Object
Returns the value of attribute detailed_sums.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def detailed_sums @detailed_sums end |
#due_date ⇒ Object
Returns the value of attribute due_date.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def due_date @due_date end |
#due_days ⇒ Object
Returns the value of attribute due_days.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def due_days @due_days end |
#flags ⇒ Object
Returns the value of attribute flags.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def flags @flags end |
#id ⇒ Object
Returns the value of attribute id.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def id @id end |
#interest_fee ⇒ Object
Returns the value of attribute interest_fee.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def interest_fee @interest_fee end |
#interest_rate ⇒ Object
Returns the value of attribute interest_rate.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def interest_rate @interest_rate end |
#invoice_date ⇒ Object
Returns the value of attribute invoice_date.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def invoice_date @invoice_date end |
#invoice_fee ⇒ Object
Returns the value of attribute invoice_fee.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def invoice_fee @invoice_fee end |
#invoice_fee_vat ⇒ Object
Returns the value of attribute invoice_fee_vat.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def invoice_fee_vat @invoice_fee_vat end |
#invoice_no ⇒ Object
Returns the value of attribute invoice_no.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def invoice_no @invoice_no end |
#ocr_number ⇒ Object
Returns the value of attribute ocr_number.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def ocr_number @ocr_number end |
#offers ⇒ Object
Returns the value of attribute offers.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def offers @offers end |
#pdf ⇒ Object
Returns the value of attribute pdf.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def pdf @pdf end |
#recipient_url ⇒ Object
Returns the value of attribute recipient_url.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def recipient_url @recipient_url end |
#remaining_sum ⇒ Object
Returns the value of attribute remaining_sum.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def remaining_sum @remaining_sum end |
#reminder_count ⇒ Object
Returns the value of attribute reminder_count.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def reminder_count @reminder_count end |
#reminder_fee ⇒ Object
Returns the value of attribute reminder_fee.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def reminder_fee @reminder_fee end |
#respite_date ⇒ Object
Returns the value of attribute respite_date.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def respite_date @respite_date end |
#rounding_value ⇒ Object
Returns the value of attribute rounding_value.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def rounding_value @rounding_value end |
#sales_accepted ⇒ Object
Returns the value of attribute sales_accepted.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def sales_accepted @sales_accepted end |
#show_item_gross_prices ⇒ Object
Returns the value of attribute show_item_gross_prices.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def show_item_gross_prices @show_item_gross_prices end |
#state ⇒ Object
Returns the value of attribute state.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def state @state end |
#total_sum ⇒ Object
Returns the value of attribute total_sum.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def total_sum @total_sum end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def updated_at @updated_at end |
#url ⇒ Object
Returns the value of attribute url.
9 10 11 |
# File 'lib/billogram/resources/invoice.rb', line 9 def url @url end |
Instance Method Details
#send!(method:) ⇒ Object
40 41 42 |
# File 'lib/billogram/resources/invoice.rb', line 40 def send!(method:) send_command(:send, { method: method }) end |