123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- <?php
- class AlipayTradeWapPayContentBuilder
- {
-
- private $body;
-
- private $subject;
-
- private $outTradeNo;
-
- private $timeExpress;
-
- private $totalAmount;
-
- private $sellerId;
-
- private $productCode;
- 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 __construct()
- {
- $this->bizContentarr['productCode'] = "QUICK_WAP_WAY";
- }
- public function AlipayTradeWapPayContentBuilder()
- {
- $this->__construct();
- }
- public function getBody()
- {
- return $this->body;
- }
- public function setBody($body)
- {
- $this->body = $body;
- $this->bizContentarr['body'] = $body;
- }
- public function setSubject($subject)
- {
- $this->subject = $subject;
- $this->bizContentarr['subject'] = $subject;
- }
- public function getSubject()
- {
- return $this->subject;
- }
- public function getOutTradeNo()
- {
- return $this->outTradeNo;
- }
- public function setOutTradeNo($outTradeNo)
- {
- $this->outTradeNo = $outTradeNo;
- $this->bizContentarr['out_trade_no'] = $outTradeNo;
- }
- public function setTimeExpress($timeExpress)
- {
- $this->timeExpress = $timeExpress;
- $this->bizContentarr['timeout_express'] = $timeExpress;
- }
- public function getTimeExpress()
- {
- return $this->timeExpress;
- }
- public function setTotalAmount($totalAmount)
- {
- $this->totalAmount = $totalAmount;
- $this->bizContentarr['total_amount'] = $totalAmount;
- }
- public function getTotalAmount()
- {
- return $this->totalAmount;
- }
- public function setSellerId($sellerId)
- {
- $this->sellerId = $sellerId;
- $this->bizContentarr['seller_id'] = $sellerId;
- }
- public function getSellerId()
- {
- return $this->sellerId;
- }
- }
- ?>
|