Class: Zinc::PriceComponents

Inherits:
Model
  • Object
show all
Defined in:
lib/zinc/price_components.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Model

#initialize, #to_hash

Constructor Details

This class inherits a constructor from Zinc::Model

Instance Attribute Details

#feesObject

Returns the value of attribute fees.



3
4
5
# File 'lib/zinc/price_components.rb', line 3

def fees
  @fees
end

#gift_certificateObject

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_subtotalsObject

Returns the value of attribute product_subtotals.



3
4
5
# File 'lib/zinc/price_components.rb', line 3

def product_subtotals
  @product_subtotals
end

#shippingObject

Returns the value of attribute shipping.



3
4
5
# File 'lib/zinc/price_components.rb', line 3

def shipping
  @shipping
end

#subtotalObject

Returns the value of attribute subtotal.



3
4
5
# File 'lib/zinc/price_components.rb', line 3

def subtotal
  @subtotal
end

#taxObject

Returns the value of attribute tax.



3
4
5
# File 'lib/zinc/price_components.rb', line 3

def tax
  @tax
end

#totalObject

Returns the value of attribute total.



3
4
5
# File 'lib/zinc/price_components.rb', line 3

def total
  @total
end