Class: RSpreedly::LineItem

Inherits:
Base
  • Object
show all
Defined in:
lib/rspreedly/line_item.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#errors

Method Summary

Methods inherited from Base

api_request, #api_request, #attributes=, do_request, #initialize, #to_xml

Constructor Details

This class inherits a constructor from RSpreedly::Base

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



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

def amount
  @amount
end

#currency_codeObject

Returns the value of attribute currency_code.



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

def currency_code
  @currency_code
end

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#notesObject

Returns the value of attribute notes.



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

def notes
  @notes
end

#priceObject

Returns the value of attribute price.



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

def price
  @price
end