Class: Falsify::TaxLine

Inherits:
Object
  • Object
show all
Defined in:
lib/falsify/models/order/tax_line.rb

Overview

Details a tax applied to a LineItem.

Instance Attribute Summary collapse

Instance Attribute Details

#priceString

The amount added to the order for this tax in the shop currency.

Returns:

  • (String)


9
10
11
# File 'lib/falsify/models/order/tax_line.rb', line 9

def price
  @price
end

#rateString

The tax rate applied to the order to calculate the tax price.

Returns:

  • (String)


12
13
14
# File 'lib/falsify/models/order/tax_line.rb', line 12

def rate
  @rate
end

#titleString

The name of the tax.

Returns:

  • (String)


6
7
8
# File 'lib/falsify/models/order/tax_line.rb', line 6

def title
  @title
end