PHP Class Thenbsp\Wechat\Payment\Unifiedorder

显示文件 Open project: thenbsp/wechat Class Usage Examples

Protected Properties

Property Type Description
$defined 全部选项(不包括 sign)
$key 商户 KEY
$required 必填选项(不包括 sign)
$tradeTypes 有效的 trade_type 类型

Public Methods

Method Description
__construct ( $appid, $mchid, $key ) 构造方法
getKey ( ) 获取商户 Key
getResponse ( ) 获取响应结果
resolveOptions ( ) 合并和校验参数

Method Details

__construct() public method

构造方法
public __construct ( $appid, $mchid, $key )

getKey() public method

获取商户 Key
public getKey ( )

getResponse() public method

获取响应结果
public getResponse ( )

resolveOptions() public method

合并和校验参数
public resolveOptions ( )

Property Details

$defined protected_oe property

全部选项(不包括 sign)
protected $defined

$key protected_oe property

商户 KEY
protected $key

$required protected_oe property

必填选项(不包括 sign)
protected $required

$tradeTypes protected_oe property

有效的 trade_type 类型
protected $tradeTypes