\app\api\service\order\source\checkoutFactory

订单结算台扩展工厂类 Class Factory

Summary

Methods
Properties
Constants
getError()
hasError()
getFactory()
No public properties found
No constants found
No protected methods found
$error
$wxappId
N/A
No private methods found
$class
N/A

Properties

$error

$error : 

Type

$wxappId

$wxappId : 

Type

$class

$class : 

Type

Methods

getError()

getError() : mixed

获取错误信息

Returns

mixed

hasError()

hasError() : boolean

是否存在错误

Returns

boolean

getFactory()

getFactory(  $user,   $goodsList, integer  $orderSource = \app\common\enum\order\OrderSource::MASTER) : mixed

根据订单来源获取商品库存类

Parameters

$user
$goodsList
integer $orderSource

Returns

mixed