Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Simple price class that encapsulates a price and its tax information

Attributes:
    incl_tax (Decimal): Price including taxes
    excl_tax (Decimal): Price excluding taxes
    tax (Decimal): Tax amount
    is_tax_known (bool): Whether tax is known
    currency (str): 3 character currency code

src/d/j/django-oscar-HEAD/oscar/apps/checkout/calculators.py   django-oscar(Download)
            incl_tax = None
        return prices.Price(
            currency=basket.currency,
            excl_tax=excl_tax, incl_tax=incl_tax)
 

src/d/j/django-oscar-0.7/oscar/apps/checkout/calculators.py   django-oscar(Download)
            incl_tax = None
        return prices.Price(
            currency=basket.currency,
            excl_tax=excl_tax, incl_tax=incl_tax)
 

src/d/j/django-oscar-HEAD/tests/functional/dashboard/dashboard_tests.py   django-oscar(Download)
    def test_includes_hourly_report_with_orders(self):
        create_order(total=prices.Price('GBP', excl_tax=D('34.05'),
                                        tax=D('0.00')))
        create_order(total=prices.Price('GBP', excl_tax=D('21.90'),
                                        tax=D('0.00')))