Class: BillysBilling::Product

Inherits:
Base
  • Object
show all
Defined in:
lib/billys_billing/product.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#attrs

Method Summary

Methods inherited from Base

#[], #initialize, lazy_attr_reader

Methods included from Association

#has_many, #has_one

Constructor Details

This class inherits a constructor from BillysBilling::Base

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



3
4
5
# File 'lib/billys_billing/product.rb', line 3

def description
  @description
end

#idObject

Returns the value of attribute id.



3
4
5
# File 'lib/billys_billing/product.rb', line 3

def id
  @id
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/billys_billing/product.rb', line 3

def name
  @name
end

#pricesObject

Returns the value of attribute prices.



3
4
5
# File 'lib/billys_billing/product.rb', line 3

def prices
  @prices
end

#product_noObject

Returns the value of attribute product_no.



3
4
5
# File 'lib/billys_billing/product.rb', line 3

def product_no
  @product_no
end

#product_typeObject

Returns the value of attribute product_type.



3
4
5
# File 'lib/billys_billing/product.rb', line 3

def product_type
  @product_type
end

#successObject

Returns the value of attribute success.



3
4
5
# File 'lib/billys_billing/product.rb', line 3

def success
  @success
end

#suppliers_product_noObject

Returns the value of attribute suppliers_product_no.



3
4
5
# File 'lib/billys_billing/product.rb', line 3

def suppliers_product_no
  @suppliers_product_no
end

#urlObject

Returns the value of attribute url.



3
4
5
# File 'lib/billys_billing/product.rb', line 3

def url
  @url
end