Class: Falsify::TaxLine
- Inherits:
-
Object
- Object
- Falsify::TaxLine
- Defined in:
- lib/falsify/models/order/tax_line.rb
Overview
Details a tax applied to a LineItem.
Instance Attribute Summary collapse
-
#price ⇒ String
The amount added to the order for this tax in the shop currency.
-
#rate ⇒ String
The tax rate applied to the order to calculate the tax price.
-
#title ⇒ String
The name of the tax.
Instance Attribute Details
#price ⇒ String
The amount added to the order for this tax in the shop currency.
9 10 11 |
# File 'lib/falsify/models/order/tax_line.rb', line 9 def price @price end |
#rate ⇒ String
The tax rate applied to the order to calculate the tax price.
12 13 14 |
# File 'lib/falsify/models/order/tax_line.rb', line 12 def rate @rate end |
#title ⇒ String
The name of the tax.
6 7 8 |
# File 'lib/falsify/models/order/tax_line.rb', line 6 def title @title end |