Class: Nusii::LineItem
- Extended by:
- Crud::Destroy, Crud::List
- Includes:
- Crud::DestroySelf
- Defined in:
- lib/nusii/line_item.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#amount_formatted ⇒ Object
Returns the value of attribute amount_formatted.
-
#amount_in_cents ⇒ Object
Returns the value of attribute amount_in_cents.
-
#cost_type ⇒ Object
Returns the value of attribute cost_type.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#per_type ⇒ Object
Returns the value of attribute per_type.
-
#position ⇒ Object
Returns the value of attribute position.
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#recurring_type ⇒ Object
Returns the value of attribute recurring_type.
-
#section_id ⇒ Object
Returns the value of attribute section_id.
-
#total_formatted ⇒ Object
Returns the value of attribute total_formatted.
-
#total_in_cents ⇒ Object
Returns the value of attribute total_in_cents.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
Class Method Summary collapse
- .create_with_section(section_id, params) ⇒ Object
- .list_by_section(section_id, options = {}) ⇒ Object
Instance Method Summary collapse
Methods included from Crud::List
Methods included from Crud::Destroy
Methods included from Crud::DestroySelf
Methods inherited from Resource
class_name, #editable_params, #initialize, #save_params
Constructor Details
This class inherits a constructor from Nusii::Resource
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
7 8 9 |
# File 'lib/nusii/line_item.rb', line 7 def amount @amount end |
#amount_formatted ⇒ Object
Returns the value of attribute amount_formatted.
7 8 9 |
# File 'lib/nusii/line_item.rb', line 7 def amount_formatted @amount_formatted end |
#amount_in_cents ⇒ Object
Returns the value of attribute amount_in_cents.
7 8 9 |
# File 'lib/nusii/line_item.rb', line 7 def amount_in_cents @amount_in_cents end |
#cost_type ⇒ Object
Returns the value of attribute cost_type.
7 8 9 |
# File 'lib/nusii/line_item.rb', line 7 def cost_type @cost_type end |
#created_at ⇒ Object
Returns the value of attribute created_at.
7 8 9 |
# File 'lib/nusii/line_item.rb', line 7 def created_at @created_at end |
#currency ⇒ Object
Returns the value of attribute currency.
7 8 9 |
# File 'lib/nusii/line_item.rb', line 7 def currency @currency end |
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/nusii/line_item.rb', line 7 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/nusii/line_item.rb', line 7 def name @name end |
#per_type ⇒ Object
Returns the value of attribute per_type.
7 8 9 |
# File 'lib/nusii/line_item.rb', line 7 def per_type @per_type end |
#position ⇒ Object
Returns the value of attribute position.
7 8 9 |
# File 'lib/nusii/line_item.rb', line 7 def position @position end |
#quantity ⇒ Object
Returns the value of attribute quantity.
7 8 9 |
# File 'lib/nusii/line_item.rb', line 7 def quantity @quantity end |
#recurring_type ⇒ Object
Returns the value of attribute recurring_type.
7 8 9 |
# File 'lib/nusii/line_item.rb', line 7 def recurring_type @recurring_type end |
#section_id ⇒ Object
Returns the value of attribute section_id.
7 8 9 |
# File 'lib/nusii/line_item.rb', line 7 def section_id @section_id end |
#total_formatted ⇒ Object
Returns the value of attribute total_formatted.
7 8 9 |
# File 'lib/nusii/line_item.rb', line 7 def total_formatted @total_formatted end |
#total_in_cents ⇒ Object
Returns the value of attribute total_in_cents.
7 8 9 |
# File 'lib/nusii/line_item.rb', line 7 def total_in_cents @total_in_cents end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
7 8 9 |
# File 'lib/nusii/line_item.rb', line 7 def updated_at @updated_at end |