Source code for greenlang.calculations.ghg.scope_3.purchased_goods_and_services
"""Calculation methods for Purchased Goods and Services emission sources """
from ..base.base import BaseCalculationMethod
from ..base.forms import SupplierSpecificMethodForm
[docs]
class SpendBasedMethod(BaseCalculationMethod):
"""Spend-based method"""
[docs]
class SupplierSpecificMethod(BaseCalculationMethod):
"""Supplier specific method"""
@property
def form_class(self):
"""Return form class"""
return SupplierSpecificMethodForm
[docs]
class AverageDataMethod(BaseCalculationMethod):
"""Average data method"""