AlipayDataDataserviceBillDownloadurlQueryContentBuilder.php 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php
  2. /* *
  3. * 功能:支付宝手机网站alipay.data.dataservice.bill.downloadurl.query (查询对账单下载地址)接口业务参数封装
  4. * 版本:2.0
  5. * 修改日期:2016-11-01
  6. * 说明:
  7. * 以下代码只是为了方便商户测试而提供的样例代码,商户可以根据自己网站的需要,按照技术文档编写,并非一定要使用该代码。
  8. */
  9. class AlipayDataDataserviceBillDownloadurlQueryContentBuilder
  10. {
  11. // 账单类型
  12. private $billType;
  13. // 账单时间
  14. private $billDate;
  15. private $bizContentarr = array();
  16. private $bizContent = NULL;
  17. public function getBizContent()
  18. {
  19. if(!empty($this->bizContentarr)){
  20. $this->bizContent = json_encode($this->bizContentarr,JSON_UNESCAPED_UNICODE);
  21. }
  22. return $this->bizContent;
  23. }
  24. public function getBillType()
  25. {
  26. return $this->billType;
  27. }
  28. public function setBillType($billType)
  29. {
  30. $this->billType = $billType;
  31. $this->bizContentarr['bill_type'] = $billType;
  32. }
  33. public function getBillDate()
  34. {
  35. return $this->billDate;
  36. }
  37. public function setBillDate($billDate)
  38. {
  39. $this->billDate = $billDate;
  40. $this->bizContentarr['bill_date'] = $billDate;
  41. }
  42. }
  43. ?>