1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <?php
- class AlipayTradeCloseContentBuilder
- {
-
- private $outTradeNo;
-
- private $tradeNo;
-
- private $operatorId;
- 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 getTradeNo()
- {
- return $this->tradeNo;
- }
- public function setTradeNo($tradeNo)
- {
- $this->tradeNo = $tradeNo;
- $this->bizContentarr['trade_no'] = $tradeNo;
- }
- public function getOutTradeNo()
- {
- return $this->outTradeNo;
- }
- public function setOutTradeNo($outTradeNo)
- {
- $this->outTradeNo = $outTradeNo;
- $this->bizContentarr['out_trade_no'] = $outTradeNo;
- }
- public function getOperatorId()
- {
- return $this->operatorId;
- }
-
- public function setOperatorId($operatorId)
- {
- $this->operatorId = $operatorId;
- $this->bizContentarr['operator_id'] = $operatorId;
- }
- }
- ?>
|