fix docblocks?
This commit is contained in:
parent
487040f06a
commit
8593bb8517
|
@ -55,9 +55,9 @@ class Payment extends Model
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param float/int
|
* @param mixed $value
|
||||||
* @param string
|
* @param string $locale
|
||||||
* @return string
|
* @return NumberFormatter
|
||||||
*/
|
*/
|
||||||
public function formatToCurrency($value,$locale = 'en_US')
|
public function formatToCurrency($value,$locale = 'en_US')
|
||||||
{
|
{
|
||||||
|
|
|
@ -41,9 +41,9 @@ class PaypalProduct extends Model
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param float/int
|
* @param mixed $value
|
||||||
* @param string $locale
|
* @param string $locale
|
||||||
* @return string
|
* @return NumberFormatter
|
||||||
*/
|
*/
|
||||||
public function formatToCurrency($value,$locale = 'en_US')
|
public function formatToCurrency($value,$locale = 'en_US')
|
||||||
{
|
{
|
||||||
|
@ -52,7 +52,8 @@ class PaypalProduct extends Model
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @desc Returns the tax in % or 0 if less than 0
|
* @description Returns the tax in % taken from the Configuration
|
||||||
|
*
|
||||||
* @return int
|
* @return int
|
||||||
*/
|
*/
|
||||||
public function getTaxPercent()
|
public function getTaxPercent()
|
||||||
|
@ -62,7 +63,8 @@ class PaypalProduct extends Model
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @desc Returns the total tax value.
|
* @description Returns the tax as Number
|
||||||
|
*
|
||||||
* @return float
|
* @return float
|
||||||
*/
|
*/
|
||||||
public function getTaxValue()
|
public function getTaxValue()
|
||||||
|
@ -71,8 +73,9 @@ class PaypalProduct extends Model
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @desc Returns the total price incl. tax
|
* @description Returns the full price of a Product including tax
|
||||||
* @return float
|
*
|
||||||
|
* @return int
|
||||||
*/
|
*/
|
||||||
public function getTotalPrice()
|
public function getTotalPrice()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue