Class: CartTaxDrop
- Inherits:
-
Liquid::Simplero::Drop
- Object
- Liquid::Drop
- Liquid::Simplero::Drop
- CartTaxDrop
- Defined in:
- app/drops/cart_tax_drop.rb
Overview
CartTaxDrop represents a single tax, possibly applied to multiple items in the CartDrop. You can get all taxes for the current cart using cart.tax_items
Instance Method Summary collapse
- #amount ⇒ MoneyDrop
-
#initialize(name, amount) ⇒ CartTaxDrop
constructor
A new instance of CartTaxDrop.
- #name ⇒ String
Methods inherited from Liquid::Simplero::Drop
Constructor Details
#initialize(name, amount) ⇒ CartTaxDrop
Returns a new instance of CartTaxDrop.