TaxRuleService
class TaxRuleService
Methods
                    double
                
                
                    getTax(int $price, int|null|Product $product = null, int|null|ProductClass $productClass = null, int|null|Pref $pref = null, int|null|Country $country = null)
        
                                            
                
            設定情報に基づいて税金の金額を返す
                    int
                
                
                    getPriceIncTax(int $price, int|null|Product $product = null, int|null|ProductClass $productClass = null, int|null|Pref $pref = null, int|null|Country $country = null)
        
                                            
                
            calcIncTax
                    double
                
                
                    calcTax(int $price, int $taxRate, int $calcRule, int $taxAdjust)
        
                                            
                
            税金額を計算する
                    double
                
                
                    roundByCalcRule(float|integer $value, integer $calcRule)
        
                                            
                
            課税規則に応じて端数処理を行う
Details
        at         line 39
                            
    __construct(TaxRuleRepository $taxRuleRepository)
        
    
    __construct
        at         line 54
                            double
    getTax(int $price, int|null|Product $product = null, int|null|ProductClass $productClass = null, int|null|Pref $pref = null, int|null|Country $country = null)
        
    
    設定情報に基づいて税金の金額を返す
        at         line 72
                            int
    getPriceIncTax(int $price, int|null|Product $product = null, int|null|ProductClass $productClass = null, int|null|Pref $pref = null, int|null|Country $country = null)
        
    
    calcIncTax
        at         line 86
                            double
    calcTax(int $price, int $taxRate, int $calcRule, int $taxAdjust)
        
    
    税金額を計算する
        at         line 101
                            double
    roundByCalcRule(float|integer $value, integer $calcRule)
        
    
    課税規則に応じて端数処理を行う