Documentation

EstimatorService
in package

Table of Contents

Methods

calculateEstimate()  : void
applyCoupons()  : mixed
applyCouponsOnInvoice()  : mixed
applyCouponsToAddon()  : mixed
applyCouponsToEachItem()  : mixed
applyCouponsToPlan()  : mixed
applyCouponsToRecurringCost()  : mixed
applyCouponToSetupCost()  : mixed
applyNetCredits()  : mixed
applyNetCreditsForBalance()  : mixed
applyVat()  : mixed
getAllItemDiscountsByKey()  : mixed
getDiscountArray()  : mixed
getFixedDiscountAmount()  : mixed
getItemNetTotalWithAllCouponDiscounts()  : mixed
getItemNetTotalWithAllCouponDiscountsAndAssignedCredits()  : mixed
getItemNetTotalWithAllDiscountsOf()  : mixed
getItemNetTotalWithEachItemDiscount()  : mixed
getRoundedPercentage()  : mixed
getTaxableAmountFor()  : mixed
isApplicableCouponOnInvoice()  : mixed
isApplicableCouponToAddon()  : mixed
isApplicableCouponToEachItem()  : mixed
isApplicableCouponToPlan()  : mixed
throwSetupCostOfNonSubscriptionException()  : mixed

Methods

getDiscountArray()

private getDiscountArray(mixed $amount, mixed $object) : mixed
Parameters
$amount : mixed
$object : mixed

getFixedDiscountAmount()

private getFixedDiscountAmount(int $base, int $discountAmount) : mixed
Parameters
$base : int
$discountAmount : int

getRoundedPercentage()

private getRoundedPercentage(int $base, float $percentage) : mixed
Parameters
$base : int
$percentage : float

throwSetupCostOfNonSubscriptionException()

private throwSetupCostOfNonSubscriptionException() : mixed

        
On this page

Search results