【调度系统】广东民航医疗快线调度系统源代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php
/**
 * Created by PhpStorm.
 * User: xudong.ding
 * Date: 16/5/19
 * Time: 下午2:09
 */
require_once 'ContentBuilder.php';
 
class AlipayTradeCancelContentBuilder extends ContentBuilder
{
    // 支付宝交易号,和商户订单号不能同时为空
    private $tradeNo;
 
    // 商户订单号,通过商户订单号撤销相关交易
    private $outTradeNo;
 
    private $bizContentarr = array();
 
    private $bizContent = NULL;
 
    public function getBizContent()
    {
        if(!empty($this->bizContentarr)){
            $this->bizContent = json_encode($this->bizContentarr,JSON_UNESCAPED_UNICODE);
        }
        return $this->bizContent;
    }
 
    public function getOutTradeNo()
    {
        return $this->outTradeNo;
    }
 
    public function setOutTradeNo($outTradeNo)
    {
        $this->outTradeNo = $outTradeNo;
        $this->bizContentarr['out_trade_no'] = $outTradeNo;
    }
 
    public function getTradeNo()
    {
        return $this->tradeNo;
    }
 
    public function setTradeNo($tradeNo)
    {
        $this->tradeNo = $tradeNo;
        $this->bizContentarr['trade_no'] = $tradeNo;
    }
 
 
}
 
?>