\app\api\service\pointsGoodsDeduct

Summary

Methods
Properties
Constants
__construct()
setGoodsPoints()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
setGoodsListPointsNum()
setGoodsListPointsMoney()
setGoodsListPointsNumFill()
setGoodsListPointsNumDiff()
$goodsList
N/A

Properties

$goodsList

$goodsList : 

Type

Methods

__construct()

__construct(  $goodsList) 

Parameters

$goodsList

setGoodsPoints()

setGoodsPoints(  $maxPointsNumCount,   $actualPointsNum) 

Parameters

$maxPointsNumCount
$actualPointsNum

setGoodsListPointsNum()

setGoodsListPointsNum(  $maxPointsNumCount,   $actualPointsNum) 

计算实际积分抵扣数量

Parameters

$maxPointsNumCount
$actualPointsNum

setGoodsListPointsMoney()

setGoodsListPointsMoney() 

计算实际积分抵扣金额

setGoodsListPointsNumFill()

setGoodsListPointsNumFill(  $actualPointsNum,   $totalPointsNum) 

Parameters

$actualPointsNum
$totalPointsNum

setGoodsListPointsNumDiff()

setGoodsListPointsNumDiff(  $actualPointsNum,   $totalPointsNum) 

Parameters

$actualPointsNum
$totalPointsNum