\app\api\service\order\source\checkoutBasics

订单结算台扩展基类 Class Basics

Summary

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

Properties

$error

$error : 

Type

$wxappId

$wxappId : 

Type

$user

$user : 

Type

$goodsList

$goodsList : 

Type

Methods

getError()

getError() : mixed

获取错误信息

Returns

mixed

hasError()

hasError() : boolean

是否存在错误

Returns

boolean

__construct()

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

构造方法 Checkout constructor.

Parameters

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

validateGoodsList()

validateGoodsList() : mixed

验证商品列表

Returns

mixed