AlipayDataDataserviceBillDownloadurlQueryContentBuilder.php
1.3 KB
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
/* *
* 功能:支付宝手机网站alipay.data.dataservice.bill.downloadurl.query (查询对账单下载地址)接口业务参数封装
* 版本:2.0
* 修改日期:2016-11-01
* 说明:
* 以下代码只是为了方便商户测试而提供的样例代码,商户可以根据自己网站的需要,按照技术文档编写,并非一定要使用该代码。
*/
class AlipayDataDataserviceBillDownloadurlQueryContentBuilder
{
// 账单类型
private $billType;
// 账单时间
private $billDate;
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 getBillType()
{
return $this->billType;
}
public function setBillType($billType)
{
$this->billType = $billType;
$this->bizContentarr['bill_type'] = $billType;
}
public function getBillDate()
{
return $this->billDate;
}
public function setBillDate($billDate)
{
$this->billDate = $billDate;
$this->bizContentarr['bill_date'] = $billDate;
}
}
?>