Class: LexofficeClient::LineItem

Inherits:
Model::Base show all
Defined in:
lib/lexoffice_client/line_item.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Model::Base

#attributes=, #initialize

Methods included from Model::Base::SerializationConcern

#as_json, #to_json

Methods included from Model::Base::AttributeNamesConcern

#attributes, included

Constructor Details

This class inherits a constructor from LexofficeClient::Model::Base

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



3
4
5
# File 'lib/lexoffice_client/line_item.rb', line 3

def description
  @description
end

#discount_percentageObject

Returns the value of attribute discount_percentage.



3
4
5
# File 'lib/lexoffice_client/line_item.rb', line 3

def discount_percentage
  @discount_percentage
end

#idObject

Returns the value of attribute id.



3
4
5
# File 'lib/lexoffice_client/line_item.rb', line 3

def id
  @id
end

#line_item_amountObject

Returns the value of attribute line_item_amount.



3
4
5
# File 'lib/lexoffice_client/line_item.rb', line 3

def line_item_amount
  @line_item_amount
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/lexoffice_client/line_item.rb', line 3

def name
  @name
end

#quantityObject

Returns the value of attribute quantity.



3
4
5
# File 'lib/lexoffice_client/line_item.rb', line 3

def quantity
  @quantity
end

#typeObject

Returns the value of attribute type.



3
4
5
# File 'lib/lexoffice_client/line_item.rb', line 3

def type
  @type
end

#unit_nameObject

Returns the value of attribute unit_name.



3
4
5
# File 'lib/lexoffice_client/line_item.rb', line 3

def unit_name
  @unit_name
end

#unit_priceObject

Returns the value of attribute unit_price.



3
4
5
# File 'lib/lexoffice_client/line_item.rb', line 3

def unit_price
  @unit_price
end