Class: Zinc::PriceComponents
- Defined in:
- lib/zinc/price_components.rb
Instance Attribute Summary collapse
-
#fees ⇒ Object
Returns the value of attribute fees.
-
#gift_certificate ⇒ Object
Returns the value of attribute gift_certificate.
-
#product_subtotals ⇒ Object
Returns the value of attribute product_subtotals.
-
#shipping ⇒ Object
Returns the value of attribute shipping.
-
#subtotal ⇒ Object
Returns the value of attribute subtotal.
-
#tax ⇒ Object
Returns the value of attribute tax.
-
#total ⇒ Object
Returns the value of attribute total.
Method Summary
Methods inherited from Model
Constructor Details
This class inherits a constructor from Zinc::Model
Instance Attribute Details
#fees ⇒ Object
Returns the value of attribute fees.
3 4 5 |
# File 'lib/zinc/price_components.rb', line 3 def fees @fees end |
#gift_certificate ⇒ Object
Returns the value of attribute gift_certificate.
3 4 5 |
# File 'lib/zinc/price_components.rb', line 3 def gift_certificate @gift_certificate end |
#product_subtotals ⇒ Object
Returns the value of attribute product_subtotals.
3 4 5 |
# File 'lib/zinc/price_components.rb', line 3 def product_subtotals @product_subtotals end |
#shipping ⇒ Object
Returns the value of attribute shipping.
3 4 5 |
# File 'lib/zinc/price_components.rb', line 3 def shipping @shipping end |
#subtotal ⇒ Object
Returns the value of attribute subtotal.
3 4 5 |
# File 'lib/zinc/price_components.rb', line 3 def subtotal @subtotal end |
#tax ⇒ Object
Returns the value of attribute tax.
3 4 5 |
# File 'lib/zinc/price_components.rb', line 3 def tax @tax end |
#total ⇒ Object
Returns the value of attribute total.
3 4 5 |
# File 'lib/zinc/price_components.rb', line 3 def total @total end |