OrderModifier::Total PHP 메소드

Total() 공개 메소드

Provides a modifier total that is positive or negative, depending on whether the modifier is chargable or not.
public Total ( ) : boolean
리턴 boolean
    public function Total()
    {
        if ($this->Type == "Deductable") {
            return $this->Amount * -1;
        }
        return $this->Amount;
    }