Class: Beanie::PurchaseInvoice
- Defined in:
- lib/beanie/purchase_invoice.rb
Instance Attribute Summary collapse
-
#date ⇒ Object
Returns the value of attribute date.
-
#document_id ⇒ Object
Returns the value of attribute document_id.
-
#due_date ⇒ Object
Returns the value of attribute due_date.
-
#id ⇒ Object
Returns the value of attribute id.
-
#is_credit_note ⇒ Object
Returns the value of attribute is_credit_note.
-
#is_paid ⇒ Object
Returns the value of attribute is_paid.
-
#local_gross ⇒ Object
Returns the value of attribute local_gross.
-
#number ⇒ Object
Returns the value of attribute number.
-
#original_invoice_id ⇒ Object
Returns the value of attribute original_invoice_id.
-
#purchase_order_id ⇒ Object
Returns the value of attribute purchase_order_id.
-
#shipping ⇒ Object
Returns the value of attribute shipping.
-
#sub_total ⇒ Object
Returns the value of attribute sub_total.
-
#tax ⇒ Object
Returns the value of attribute tax.
-
#tax_point ⇒ Object
Returns the value of attribute tax_point.
Instance Method Summary collapse
-
#initialize ⇒ PurchaseInvoice
constructor
Initialize instance variables.
Methods inherited from Api
all, build_url, #construct_path, delete, #extract, #field_name, find, get, #object_name, #populate, post, put, #save!, set_headers
Constructor Details
#initialize ⇒ PurchaseInvoice
Initialize instance variables
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/beanie/purchase_invoice.rb', line 38 def initialize @id = nil @date = nil @due_date = nil @is_credit_note = nil @is_paid = nil @local_gross = nil @number = nil @original_invoice_id = nil @shipping = nil @sub_total = nil @tax = nil @tax_point = nil @purchase_order_id = nil @document_id = nil end |
Instance Attribute Details
#date ⇒ Object
Returns the value of attribute date.
32 33 34 |
# File 'lib/beanie/purchase_invoice.rb', line 32 def date @date end |
#document_id ⇒ Object
Returns the value of attribute document_id.
34 35 36 |
# File 'lib/beanie/purchase_invoice.rb', line 34 def document_id @document_id end |
#due_date ⇒ Object
Returns the value of attribute due_date.
32 33 34 |
# File 'lib/beanie/purchase_invoice.rb', line 32 def due_date @due_date end |
#id ⇒ Object
Returns the value of attribute id.
32 33 34 |
# File 'lib/beanie/purchase_invoice.rb', line 32 def id @id end |
#is_credit_note ⇒ Object
Returns the value of attribute is_credit_note.
32 33 34 |
# File 'lib/beanie/purchase_invoice.rb', line 32 def is_credit_note @is_credit_note end |
#is_paid ⇒ Object
Returns the value of attribute is_paid.
32 33 34 |
# File 'lib/beanie/purchase_invoice.rb', line 32 def is_paid @is_paid end |
#local_gross ⇒ Object
Returns the value of attribute local_gross.
32 33 34 |
# File 'lib/beanie/purchase_invoice.rb', line 32 def local_gross @local_gross end |
#number ⇒ Object
Returns the value of attribute number.
32 33 34 |
# File 'lib/beanie/purchase_invoice.rb', line 32 def number @number end |
#original_invoice_id ⇒ Object
Returns the value of attribute original_invoice_id.
33 34 35 |
# File 'lib/beanie/purchase_invoice.rb', line 33 def original_invoice_id @original_invoice_id end |
#purchase_order_id ⇒ Object
Returns the value of attribute purchase_order_id.
34 35 36 |
# File 'lib/beanie/purchase_invoice.rb', line 34 def purchase_order_id @purchase_order_id end |
#shipping ⇒ Object
Returns the value of attribute shipping.
33 34 35 |
# File 'lib/beanie/purchase_invoice.rb', line 33 def shipping @shipping end |
#sub_total ⇒ Object
Returns the value of attribute sub_total.
33 34 35 |
# File 'lib/beanie/purchase_invoice.rb', line 33 def sub_total @sub_total end |
#tax ⇒ Object
Returns the value of attribute tax.
33 34 35 |
# File 'lib/beanie/purchase_invoice.rb', line 33 def tax @tax end |
#tax_point ⇒ Object
Returns the value of attribute tax_point.
33 34 35 |
# File 'lib/beanie/purchase_invoice.rb', line 33 def tax_point @tax_point end |