Completed
Push — master ( 195ca9...87d470 )
by Wei
05:35
created

Weapp::getPrepayId()   A

Complexity

Conditions 5
Paths 8

Size

Total Lines 12
Code Lines 11

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 12
CRAP Score 5

Importance

Changes 0
Metric Value
cc 5
eloc 11
nc 8
nop 6
dl 0
loc 12
ccs 12
cts 12
cp 1
crap 5
rs 9.6111
c 0
b 0
f 0
1
<?php
2
namespace zhangv\wechat\pay\service;
3
use \zhangv\wechat\pay\WechatPay;
4
use \Exception;
5
6
/**
7
 * 小程序支付
8
 * @license MIT
9
 * @zhangv
10
 * @link https://pay.weixin.qq.com/wiki/doc/api/wxa/wxa_api.php?chapter=9_1
11
 *
12
 * @method mixed queryOrderByOutTradeNo($out_trade_no)
13
 * @method mixed queryOrderByTransactionId($transaction_id)
14
 * @method mixed closeOrder($out_trade_no)
15
 * @method mixed refundByOutTradeNo($out_trade_no, $out_refund_no, $total_fee, $refund_fee, $ext = array())
16
 * @method mixed refundByTransactionId($transaction_id, $out_refund_no, $total_fee, $refund_fee, $ext = array())
17
 * @method mixed queryRefundByOutRefundNo($out_refund_no, $offset = 0)
18
 * @method mixed queryRefundByOutTradeNo($out_trade_no, $offset = 0)
19
 * @method mixed queryRefundByRefundId($refund_id, $offset = 0)
20
 * @method mixed queryRefundByTransactionId($transaction_id, $offset = 0)
21
 * @method mixed downloadBill($bill_date, $bill_type = 'ALL')
22
 * @method mixed downloadFundFlow($bill_date, $account_type = WechatPay::ACCOUNTTYPE_BASIC, $tar_type = 'GZIP')
23
 * @method mixed onPaidNotify($notify_data, callable $callback = null)
24
 * @method mixed onRefundedNotify($notify_data, callable $callback = null)
25
 * @method mixed report($interface_url, $execution_time, $return_code, $result_code, $user_ip, $out_trade_no = null, $time = null, $device_info = null,$return_msg = null,$err_code = null,$err_code_des = null)
26
 * @method mixed batchQueryComment($begin_time, $end_time, $offset = 0, $limit = 200)
27
 */
28
class Weapp extends Jsapi {
29
30
}