PaymentCalculator
public class PaymentCalculator : PaymentCalculatorBase
Inheritance
- class PaymentCalculatorBase
Namespace
Constructors
PaymentCalculator
public PaymentCalculator(ITaxService taxService, IStoreService storeService)
Methods
CalculatePaymentMethodPrice
public override Price CalculatePaymentMethodPrice(PaymentMethodReadOnly paymentMethod,
Guid currencyId, Guid countryId, Guid? regionId, TaxRate taxRate,
PaymentCalculatorContext context)
CalculatePaymentMethodTaxRate
public override TaxRate CalculatePaymentMethodTaxRate(PaymentMethodReadOnly paymentMethod,
TaxSource taxSource, TaxRate fallbackTaxRate, PaymentCalculatorContext context)