\app\api\service\order\source\checkoutBargain

订单结算台-普通商品扩展类 Class Bargain

Summary

Methods
Properties
Constants
__construct()
validateGoodsList()
getError()
hasError()
No public properties found
No constants found
No protected methods found
$user
$goodsList
$error
$wxappId
N/A
No private methods found
No private properties found
N/A

Properties

$user

$user : 

Type

$goodsList

$goodsList : 

Type

$error

$error : 

Type

$wxappId

$wxappId : 

Type

Methods

__construct()

__construct(\app\api\model\User  $user, array  $goodsList) 

构造方法 Checkout constructor.

Parameters

\app\api\model\User $user
array $goodsList

validateGoodsList()

validateGoodsList() : boolean

验证商品列表

Returns

boolean

getError()

getError() : mixed

获取错误信息

Returns

mixed

hasError()

hasError() : boolean

是否存在错误

Returns

boolean