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 ]
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.
-
#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.
7 8 9 |
# File 'lib/billogram/resources/invoice.rb', line 7 def @attachment end |
#attested_at ⇒ Object
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_reminders ⇒ Object
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_at ⇒ Object
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_value ⇒ Object
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 |
#currency ⇒ Object
Returns the value of attribute currency.
7 8 9 |
# File 'lib/billogram/resources/invoice.rb', line 7 def currency @currency end |
#delivery_method ⇒ Object
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_sums ⇒ Object
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_date ⇒ Object
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_days ⇒ Object
Returns the value of attribute due_days.
7 8 9 |
# File 'lib/billogram/resources/invoice.rb', line 7 def due_days @due_days end |
#flags ⇒ Object
Returns the value of attribute flags.
7 8 9 |
# File 'lib/billogram/resources/invoice.rb', line 7 def flags @flags end |
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/billogram/resources/invoice.rb', line 7 def id @id end |
#interest_fee ⇒ Object
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_rate ⇒ Object
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_date ⇒ Object
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_fee ⇒ Object
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_vat ⇒ Object
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_no ⇒ Object
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_number ⇒ Object
Returns the value of attribute ocr_number.
7 8 9 |
# File 'lib/billogram/resources/invoice.rb', line 7 def ocr_number @ocr_number end |
#offers ⇒ Object
Returns the value of attribute offers.
7 8 9 |
# File 'lib/billogram/resources/invoice.rb', line 7 def offers @offers end |
#recipient_url ⇒ Object
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_sum ⇒ Object
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_count ⇒ Object
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_fee ⇒ Object
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_date ⇒ Object
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_value ⇒ Object
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_accepted ⇒ Object
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_prices ⇒ Object
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 |
#state ⇒ Object
Returns the value of attribute state.
7 8 9 |
# File 'lib/billogram/resources/invoice.rb', line 7 def state @state end |
#total_sum ⇒ Object
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_at ⇒ Object
Returns the value of attribute updated_at.
7 8 9 |
# File 'lib/billogram/resources/invoice.rb', line 7 def updated_at @updated_at end |
#url ⇒ Object
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 |