Class: CartTaxDrop

Inherits:
Liquid::Simplero::Drop show all
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

Methods inherited from Liquid::Simplero::Drop

#dom_id

Constructor Details

#initialize(name, amount) ⇒ CartTaxDrop

Returns a new instance of CartTaxDrop.

Instance Method Details

#amountMoneyDrop

Returns:

#nameString

Returns:

  • (String)